linux/arch/arm/include
Marc Zyngier 3f7e8e2e1e ARM: KVM: invalidate BTB on guest exit for Cortex-A12/A17
In order to avoid aliasing attacks against the branch predictor,
let's invalidate the BTB on guest exit. This is made complicated
by the fact that we cannot take a branch before invalidating the
BTB.

We only apply this to A12 and A17, which are the only two ARM
cores on which this useful.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Boot-tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
2018-05-31 11:09:03 +01:00
..
asm ARM: KVM: invalidate BTB on guest exit for Cortex-A12/A17 2018-05-31 11:09:03 +01:00
debug ARM: SoC platform updates for 4.15 2017-11-16 14:05:12 -08:00
uapi/asm signal/arm: Document conflicts with SI_USER and SIGFPE 2018-01-12 14:21:05 -06:00