sm6150-common: Disable kpti

* 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: Idde48b8e8676f596217edd5100fec3aa07729dbe
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
Sebastiano Barezzi
2022-11-18 08:28:36 +05:45
committed by therealmharc
parent 9d4975a21a
commit 6265148309

View File

@@ -83,6 +83,7 @@ BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom androidboot.console=ttyMSM0 an
BOARD_KERNEL_CMDLINE += service_locator.enable=1
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
BOARD_KERNEL_CMDLINE += loop.max_part=7
BOARD_KERNEL_CMDLINE += kpti=off
# Enable DTB in bootimage and set header version
BOARD_INCLUDE_DTB_IN_BOOTIMG := true