ARM: 6268/1: ARMv6K and ARMv7 use fault statuses 3 and 6 as Access Flag fault
authorKirill A. Shutemov <kirill@shutemov.name>
Mon, 26 Jul 2010 10:20:41 +0000 (11:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 27 Jul 2010 09:48:41 +0000 (10:48 +0100)
commitb8ab5397bcbd92e3fd4a9770e0bf59315fa38dab
tree4def9ea84d54ce112c91e906e10fb8756151327c
parent993bf4ec8c2a2b7979389ab196bf2fe217117158
ARM: 6268/1: ARMv6K and ARMv7 use fault statuses 3 and 6 as Access Flag fault

Statuses 3 (0b00011) and 6 (0x00110) of DFSR are Access Flags faults on
ARMv6K and ARMv7. Let's patch fsr_info[] at runtime if we are on ARMv7
or later.

Unfortunately, we don't have runtime check for 'K' extension, so we
can't check for it.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/alignment.c
arch/arm/mm/fault.c