summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/cp15.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-01-11 14:28:37 +0000
committerStefan Agner <stefan.agner@toradex.com>2018-06-19 12:55:52 +0200
commitd8f7b776de420dd966333ac120e3bb9f034a5e50 (patch)
tree794dc3103f7380540a4fbfeecba37ee094ce78bb /arch/arm/include/asm/cp15.h
parent8382f480bccb1a065e28c1c7676149c2b9a5d2f6 (diff)
arm: Add BTB invalidation on switch_mm for Cortex-A9, A12 and A17
In order to avoid aliasing attacks against the branch predictor, some implementations require to invalidate the BTB when switching from one user context to another. For this, we reuse the existing implementation for Cortex-A8, and apply it to A9, A12 and A17. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> (cherry picked commit from efcd0e857a656bbd1c1da15ff984ad6402332c61) [jason: adapted to 4.1] Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/cp15.h')
0 files changed, 0 insertions, 0 deletions