Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59866a5d authored by Vinayak Menon's avatar Vinayak Menon
Browse files

ARM: dts: msm: switch off kpti on some targets

Switch off kpti on targets not vulnerable and thus
does not require the mitigation.

Change-Id: I9aec5e5db1e4aa91c0633bf0b3665978af6a6a6f
parent 259b43ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -446,7 +446,7 @@
	};
	};


	chosen {
	chosen {
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7";
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kpti=off";
	};
	};


	soc: soc { };
	soc: soc { };
+1 −1
Original line number Original line Diff line number Diff line
@@ -347,7 +347,7 @@
	};
	};


	chosen {
	chosen {
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7";
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kpti=off";
	};
	};


	firmware: firmware {
	firmware: firmware {
+1 −1
Original line number Original line Diff line number Diff line
@@ -325,7 +325,7 @@
	};
	};


	chosen {
	chosen {
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7 earlycon=msm_geni_serial,0x98c000";
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7 earlycon=msm_geni_serial,0x98c000 kpti=off";
	};
	};


	soc: soc { };
	soc: soc { };
+1 −1
Original line number Original line Diff line number Diff line
@@ -528,7 +528,7 @@
	};
	};


	chosen {
	chosen {
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7 earlycon=msm_geni_serial,0x888000";
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7 earlycon=msm_geni_serial,0x888000 kpti=off";
	};
	};


	soc: soc { };
	soc: soc { };
+1 −1
Original line number Original line Diff line number Diff line
@@ -324,7 +324,7 @@
	};
	};


	chosen {
	chosen {
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7";
		bootargs = "rcupdate.rcu_expedited=1 rcu_nocbs=0-7 kpti=off";
	};
	};


	soc: soc { };
	soc: soc { };