summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-02-27 14:46:34 -0800
committerVinayak Menon <vinmenon@codeaurora.org>2016-11-18 18:46:01 +0530
commita2e9bdc989a9cb42dce5ae027cd6fdc1003f376b (patch)
tree52a4feee0ca2825f70ba322d5c0e93fd0e634a35 /drivers/of
parent61f26e3aa5eee4fd8947ecca1cc45b5634e146b8 (diff)
arm64: Allow cache maintenance operations to trigger write faults
arm64 sets non-dirty userspace PTEs as read only by default. The expectation is that on the first write the fault handler will properly unmark the PTE as read only. Currently, the fault handler will not mark a fault coming from a cache maintenance operation as a write. The result of this is that a write to a user space address from a cache maintenance operation will not get unmarked as read only and the access may be retried infinitely. Rather than going through the hassel and side effects of adding the cache operations to the exception table and changing arm code to match, just drop the CM check from the fault handler and let cache maintenance faults be handled like normal writes. Change-Id: I4b295b47ebdd24abf94204ad634e91ca5f71ce8a Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions