aboutsummaryrefslogtreecommitdiff
path: root/arch/m32r
diff options
context:
space:
mode:
authorMark Rutland2015-07-07 18:00:49 +0100
committerCatalin Marinas2015-07-08 18:03:48 +0100
commit1b42804d27b1c2623309950e9b203b11f4c67f4f (patch)
treeaf7ba0941cdf64e65bd0e7b62b080cf306b572b5 /arch/m32r
parentef37566cf8d607844cee5a01597d828c8fd1a501 (diff)
arm64: entry: handle debug exceptions in el*_inv
Currently we enable debug exceptions before reading ESR_EL1 in both el0_inv and el1_inv. If a debug exception is taken before we read ESR_EL1, the value will have been corrupted. As el*_inv is typically fatal, an intervening debug exception results in misleading debug information being logged to the console, but is not otherwise harmful. As with the other entry paths, we can use the ESR_EL1 value stashed earlier in the exception entry (in x25 for el0_sync{,_compat}, and x1 for el1_sync), giving us better error reporting in this case. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions