ARM: dts: msm: Disable kpti/ssbd for gen3 chipset

Gen3 chipset does not exposed meltdown vulnerability
,so disable it in kernel side for better performance.
SSB by default works in kernel mode which bring in
big syscall overhead, disable it by default.

Change-Id: I8a105c85fa764d47cf31539e38fec6e747af3c5d
This commit is contained in:
Lei wang
2022-08-29 17:05:08 +08:00
parent 0b85428646
commit a1e8247d41
2 changed files with 4 additions and 2 deletions

View File

@@ -334,7 +334,9 @@
};
};
chosen {};
chosen {
bootargs = "kpti=0 ssbd=force-off";
};
firmware: firmware {
android {

View File

@@ -351,7 +351,7 @@
};
chosen: chosen {
bootargs = "qcom_dma_heaps.enable_bitstream_contig_heap=y";
bootargs = "qcom_dma_heaps.enable_bitstream_contig_heap=y kpti=0 ssbd=force-off";
};
soc: soc { };