avicii: Add kpti=off to boot command line

This will OFF kernel page table isolation.

Notes from Kuba Wojciechowski <nullbytepl@gmail.com> in 86bb20a832:
As per qualcomm - "SM8150/SM8250/SM8350/SM7250/SM7150/SM6150 - KPTI Not required".
It can also help increase performance by a lot in some scenarios.

Change-Id: Idd36c359d4955701e9ee3ee27a58177a8d622c86
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
Signed-off-by: Hafidz Muzakky <ais.muzakky@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
This commit is contained in:
Rahul Shahare
2020-12-07 21:31:10 +05:30
committed by Sandeep-FED
parent 504f20f9c7
commit 1b5c3d096d

View File

@@ -120,6 +120,7 @@ BOARD_RAMDISK_USE_LZ4 := true
TARGET_KERNEL_ADDITIONAL_FLAGS := BRAND_SHOW_FLAG=oneplus TARGET_KERNEL_ADDITIONAL_FLAGS := BRAND_SHOW_FLAG=oneplus
TARGET_KERNEL_SOURCE := kernel/oneplus/sm7250 TARGET_KERNEL_SOURCE := kernel/oneplus/sm7250
TARGET_KERNEL_CONFIG := vendor/lito-perf_defconfig TARGET_KERNEL_CONFIG := vendor/lito-perf_defconfig
BOARD_KERNEL_CMDLINE += kpti=off
# Platform # Platform
BOARD_USES_QCOM_HARDWARE := true BOARD_USES_QCOM_HARDWARE := true