linux/arch/arm/include
Russell King f5fe12b1ea ARM: spectre-v2: harden user aborts in kernel space
In order to prevent aliasing attacks on the branch predictor,
invalidate the BTB or instruction cache on CPUs that are known to be
affected when taking an abort on a address that is outside of a user
task limit:

Cortex A8, A9, A12, A17, A73, A75: flush BTB.
Cortex A15, Brahma B15: invalidate icache.

If the IBE bit is not set, then there is little point to enabling the
workaround.

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 10:40:32 +01:00
..
asm ARM: spectre-v2: harden user aborts in kernel space 2018-05-31 10:40:32 +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