From 5faad4e0b1b172d9c00d6bf747a6905d2c2cf3e6 Mon Sep 17 00:00:00 2001 From: Ultra119 <64977575+Ultra119@users.noreply.github.com> Date: Thu, 28 Apr 2022 20:01:31 +0300 Subject: [PATCH] sdm710-common: cmdline: Disable kpti * It can also help increase performance by a lot in some scenarios. --- BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a07a5b5..ed76223 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -30,6 +30,7 @@ TARGET_BOARD_PLATFORM := sdm710 # Kernel BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xA90000 androidboot.hardware=qcom androidboot.console=ttyMSM0 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 swiotlb=1 loop.max_part=7 +BOARD_KERNEL_CMDLINE += kpti=off BOARD_KERNEL_BASE := 0x00000000 BOARD_KERNEL_PAGESIZE := 4096 BOARD_KERNEL_TAGS_OFFSET := 0x00000100