diff options
author | Russell King <[email protected]> | 2012-05-10 09:48:34 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2012-05-10 09:48:34 +0100 |
commit | 1fdc08abfa26f30fcef0ce1333e9ac6f80350f30 (patch) | |
tree | d54c5778e0a74dbea37904ac9106604a22985c36 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bd0493eaaf5c7a1ea00786d46cc2f4af44e76f28 (diff) |
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 <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions