summaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-05-07 16:57:06 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-05-08 10:33:16 +0100
commit0e7f7bcc3fc87489cda5aa6aff8ce40eed912279 (patch)
tree42256e2678fc1c4a53686cb6f701560c3d86781b /drivers/hwspinlock
parented1f23637a4916112800df2779c160be520d1525 (diff)
downloadop-kernel-dev-0e7f7bcc3fc87489cda5aa6aff8ce40eed912279.zip
op-kernel-dev-0e7f7bcc3fc87489cda5aa6aff8ce40eed912279.tar.gz
arm64: Ignore the 'write' ESR flag on cache maintenance faults
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
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud