diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-02-01 12:07:35 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-05-31 12:09:03 +0200 |
commit | 3f7e8e2e1ebda787f156ce46e3f0a9ce2833fa4f (patch) | |
tree | cb2e36e2ad4908ce0b3daf776c8857a729a0fc31 /arch/arm/oprofile | |
parent | ARM: spectre-v2: warn about incorrect context switching functions (diff) | |
download | linux-3f7e8e2e1ebda787f156ce46e3f0a9ce2833fa4f.tar.xz linux-3f7e8e2e1ebda787f156ce46e3f0a9ce2833fa4f.zip |
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>
Diffstat (limited to 'arch/arm/oprofile')
0 files changed, 0 insertions, 0 deletions