ARM: report proper DACR value in oops dumps
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Dec 2015 14:34:45 +0000 (14:34 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Dec 2015 19:20:48 +0000 (19:20 +0000)
commit77f1b959b0b6db7a7941b4b4f9d3d287c67d7c15
tree21189c499624902027284f01f3606b0d66b71ec4
parent08925c2f124f1bac6152a8b234268f9874fc70a5
ARM: report proper DACR value in oops dumps

When printing the DACR value, we print the domain register value.
This is incorrect, as with SW_PAN enabled, that is the current setting,
rather than the faulting context's setting.  Arrange to print the
faulting domain's saved DACR value instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/process.c