commit | 34475c5050ab8dabc085fab18e44ac5df6f9f30d | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Thu Feb 01 11:07:37 2018 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Wed Feb 07 15:49:09 2018 +0000 |
tree | 27d332215db0376645b255515e6f0b017719ff9a | |
parent | 35239617e6891f9e732792463f0d3fb85b7b3991 [diff] |
[Variant 2/Spectre-v2] arm: Invalidate icache on prefetch abort outside of user mapping on Cortex-A15 ** Not yet queued for inclusion in mainline ** In order to prevent aliasing attacks on the branch predictor, invalidate the icache on Cortex-A15, which has the side effect of invalidating the BTB. This requires ACTLR[0] to be set to 1 (secure operation). Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>