arm64/esr: Add decode of ISS2 to data abort reporting
authorMark Brown <broonie@kernel.org>
Thu, 11 May 2023 06:05:15 +0000 (15:05 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 26 May 2023 09:11:42 +0000 (10:11 +0100)
commit1f9d4ba6839cc77717ed603fc6df1f36995da76d
treeabb273d88f4f8f1a33a067562312d232bb52beb6
parentde847275449a99343393a5f2a4179cf7f4d12372
arm64/esr: Add decode of ISS2 to data abort reporting

The architecture has added more information about faults to ISS2 within
ESR. Add decode of this to our data abort fault decode to aid diagnostics.
Features that are not currently enabled are included here for completeness.

Since the architecture specifies the values of bits within ISS2 in terms
of ISS2 rather than in terms of the register as a whole we do so for our
definitions as well, this makes it easier to review bitfield definitions.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230417-arm64-iss2-dabt-decode-v3-2-c1fa503e503a@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/esr.h
arch/arm64/mm/fault.c