summaryrefslogtreecommitdiffstats
path: root/arch/arm/vfp
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-05-10 10:48:34 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-05-10 10:48:34 +0200
commit1fdc08abfa26f30fcef0ce1333e9ac6f80350f30 (patch)
treed54c5778e0a74dbea37904ac9106604a22985c36 /arch/arm/vfp
parentARM: 7413/1: move read_{boot,persistent}_clock to the architecture level (diff)
downloadlinux-1fdc08abfa26f30fcef0ce1333e9ac6f80350f30.tar.xz
linux-1fdc08abfa26f30fcef0ce1333e9ac6f80350f30.zip
ARM: decompressor: avoid speculative prefetch from non-RAM areas
We setup identity MMU mappings across the entire 4GB of space, which are permissionless because the domain is set to manager. This unfortunately allows ARMv6 and later CPUs to speculatively prefetch from the entire address space, which can cause undesirable side effects if those regions contain devices. As we setup the mappings with read/write permission, we can switch the domain to client mode, and then use the XN bit for ARMv6 and above to control speculative prefetch to non-RAM areas. Reported-by: R Sricharan <r.sricharan@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/vfp')
0 files changed, 0 insertions, 0 deletions