mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
0e7f7bcc3f
ESR.WnR bit is always set on data cache maintenance faults even though the page is not required to have write permission. If a translation fault (page not yet mapped) happens for read-only user address range, Linux incorrectly assumes a permission fault. This patch adds the check of the ESR.CM bit during the page fault handling to ignore the 'write' flag. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reported-by: Tim Northover <Tim.Northover@arm.com> Cc: stable@vger.kernel.org |
||
---|---|---|
.. | ||
cache.S | ||
context.c | ||
copypage.c | ||
dma-mapping.c | ||
extable.c | ||
fault.c | ||
flush.c | ||
init.c | ||
ioremap.c | ||
Makefile | ||
mm.h | ||
mmap.c | ||
mmu.c | ||
pgd.c | ||
proc-macros.S | ||
proc.S | ||
tlb.S |