mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
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:
committed by
therealmharc
parent
9d4975a21a
commit
6265148309
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user