diff options
author | Will Deacon <will.deacon@arm.com> | 2013-07-19 15:37:12 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-07-19 15:49:44 +0100 |
commit | db6f41063cbdb58b14846e600e6bc3f4e4c2e888 (patch) | |
tree | a52308073355a4662387324a0f998c871ad584fe /arch/arm64/configs | |
parent | c783c2815e13bbb0c0b99997cc240bd7e91b6bb8 (diff) | |
download | linux-db6f41063cbdb58b14846e600e6bc3f4e4c2e888.tar.gz linux-db6f41063cbdb58b14846e600e6bc3f4e4c2e888.tar.bz2 linux-db6f41063cbdb58b14846e600e6bc3f4e4c2e888.zip |
arm64: mm: don't treat user cache maintenance faults as writes
On arm64, cache maintenance faults appear as data aborts with the CM
bit set in the ESR. The WnR bit, usually used to distinguish between
faulting loads and stores, always reads as 1 and (slightly confusingly)
the instructions are treated as reads by the architecture.
This patch fixes our fault handling code to treat cache maintenance
faults in the same way as loads.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/configs')
0 files changed, 0 insertions, 0 deletions