commit | 9141300a5884b57cea6d32c4e3fd16a337cfc99a | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Sun Apr 06 23:04:12 2014 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Fri May 09 15:47:47 2014 +0100 |
tree | d717d0ae66c7458c922b885c689b9c192b0f4083 | |
parent | 6400111399e16a535231ebd76389c894ea1837ff [diff] |
arm64: Provide read/write fault information in compat signal handlers For AArch32, bit 11 (WnR) of the FSR/ESR register is set when the fault was caused by a write access and applications like Qemu rely on such information being provided in sigcontext. This patch introduces the ESR_EL1 tracking for the arm64 kernel faults and sets bit 11 accordingly in compat sigcontext. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>