diff options
author | Russell King <[email protected]> | 2018-04-20 10:06:27 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2018-05-31 10:39:55 +0100 |
commit | 06c23f5ffe7ad45b908d0fff604dae08a7e334b9 (patch) | |
tree | 38e2ae7fcf3b0413a87f8e4126688cbf49fd008e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | c58d237d0852a57fde9bc2c310972e8f4e3d155d (diff) |
ARM: spectre-v2: harden branch predictor on context switches
Harden the branch predictor against Spectre v2 attacks on context
switches for ARMv7 and later CPUs. We do this by:
Cortex A9, A12, A17, A73, A75: invalidating the BTB.
Cortex A15, Brahma B15: invalidating the instruction cache.
Cortex A57 and Cortex A72 are not addressed in this patch.
Cortex R7 and Cortex R8 are also not addressed as we do not enforce
memory protection on these cores.
Signed-off-by: Russell King <[email protected]>
Boot-tested-by: Tony Lindgren <[email protected]>
Reviewed-by: Tony Lindgren <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions