[PATCH v3 0/2] arm64: Add decode of ISS2 to data abort reports

From: Mark Brown
Date: Thu May 11 2023 - 02:05:27 EST


We provide fairly detailed decode of ESR for data aborts but do not
currently cover the information reported in ISS2 which has had quite a
bit of additional information added to it by recent architecture
extensions. Add decode for this information to aid in debugging, for
completeness including features we don't actually use yet.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
Changes in v3:
- Correct ISS->ISS2 typo.
- Link to v2: https://lore.kernel.org/r/20230417-arm64-iss2-dabt-decode-v2-0-84e1c1463d30@xxxxxxxxxx

Changes in v2:
- Rebase onto v6.4-rc1.
- Link to v1: https://lore.kernel.org/r/20230417-arm64-iss2-dabt-decode-v1-0-2138b5668777@xxxxxxxxxx

---
Mark Brown (2):
arm64/esr: Use GENMASK() for the ISS mask
arm64/esr: Add decode of ISS2 to data abort reporting

arch/arm64/include/asm/esr.h | 19 ++++++++++++++++++-
arch/arm64/mm/fault.c | 17 ++++++++++++++---
2 files changed, 32 insertions(+), 4 deletions(-)
---
base-commit: ac9a78681b921877518763ba0e89202254349d1b
change-id: 20230417-arm64-iss2-dabt-decode-ec9b46c98a91

Best regards,
--
Mark Brown,,, <broonie@xxxxxxxxxx>