Commit c5408277 authored by GONG, Ruiqi's avatar GONG, Ruiqi Committed by Yi Yang
Browse files

ARM: spectre-v2: turn off the mitigation via boot cmdline param

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8SE4Y



-------------------------------------------------

We enable spectre mitigation by default for ARM32, which may
cause performance regression. To offer an option to turn off
this feature, implement a cmdline parameter 'nospectre_v2' compatible
with mainline, which sets up a switch to skip invalidating BTB/icache
for A9/A15 in context switching and user abort.

Signed-off-by: default avatarGONG, Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: default avatarYi Yang <yiyang13@huawei.com>
parent ce4810ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment