aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2023-11-28 15:04:01 +0100
committerMarc Zyngier <[email protected]>2023-11-30 10:45:28 +0000
commit11e5ea5242e38d44fcede879473566bb6d68f954 (patch)
tree4766a8eb3c66fbfdc5deb53ad153e03e6d4c71ca /tools/perf/scripts/python/exported-sql-viewer.py
parent10a0cc3b688fcf753ff3f6518bb15e7a6809e908 (diff)
KVM: arm64: Use helpers to classify exception types reported via ESR
Currently, we rely on the fact that exceptions can be trivially classified by applying a mask/value pair to the syndrome value reported via the ESR register, but this will no longer be true once we enable support for 5 level paging. So introduce a couple of helpers that encapsulate this mask/value pair matching, and wire them up in the code. No functional change intended, the actual handling of translation level -1 will be added in a subsequent patch. Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Oliver Upton <[email protected]> Cc: Ryan Roberts <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Acked-by: Mark Rutland <[email protected]> [maz: folded in changes suggested by Mark] Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions