diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-02-01 11:07:34 +0000 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2018-04-28 23:31:04 -0700 |
commit | de3110548b04b6a0b58b4c9d4235552388539ee0 (patch) | |
tree | addc4f7100287f44bba2f5dabf13a97672402cd6 /arch/avr32 | |
parent | 9606849c487e3963e25a0cb632cbe44f8f0d5744 (diff) |
arm: Invalidate BTB on prefetch abort outside of user mapping on Cortex A8, A9, A12 and A17
** Not yet queued for inclusion in mainline **
In order to prevent aliasing attacks on the branch predictor,
invalidate the BTB on CPUs that are known to be affected when taking
a prefetch abort on a address that is outside of a user task limit.
__ACCESS_CP15 and __ACCESS_CP15_64 added from below link:
https://patchwork.kernel.org/patch/9234399/
Change-Id: Ib8c9807f5e787437e66b83ea0305d75cce4bbbdf
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1698399
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions