aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mm/proc-v7.S
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-02-01 11:07:35 +0000
committerAlex Shi <alex.shi@linaro.org>2018-03-07 13:15:36 +0800
commit2a34e14cf7ee1b225b6a654dd828aeee7b851227 (patch)
treeb78004221bc86c6da2dd2e84c54d2873421d07a4 /arch/arm/mm/proc-v7.S
parentba58d1e6c564c44645fcaafcf7b91d3b453c0f01 (diff)
arm: KVM: Invalidate BTB on guest exit for Cortex-A12/A17
** Not yet queued for inclusion in mainline ** 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: Will Deacon <will.deacon@arm.com> Signed-off-by: Alex Shi <alex.shi@linaro.org> Conflicts: no hvc stub in hyp_hvc in arch/arm/kvm/hyp/hyp-entry.S
Diffstat (limited to 'arch/arm/mm/proc-v7.S')
0 files changed, 0 insertions, 0 deletions