From be7a27fb2acad63617ee9013c3df6e3621cb7d5b Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Wed, 18 Nov 2020 09:40:28 -0800 Subject: [PATCH] ARM: dts: msm: Turn off KPTI for Lahaina Kernel Page Table Isolation (KPTI) is a software workaround technique used to mitigate the meltdown security vulnarability. Since Lahaina hardware is meltdown safe, it can safely turn off the feature. Hence, turn the KPTI off via its command line option. Change-Id: Idc469ce6804e53073860c32a2635ca9c8f479fe3 --- qcom/lahaina.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 53e480f7cdcd..fae512ee7191 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -34,7 +34,7 @@ #size-cells = <2>; chosen { - bootargs = "log_buf_len=256K earlycon=msm_geni_serial,0x98c000 rcupdate.rcu_expedited=1 rcu_nocbs=0-7"; + bootargs = "log_buf_len=256K earlycon=msm_geni_serial,0x98c000 rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kpti=off"; }; memory { device_type = "memory"; reg = <0 0 0 0>; };