diff options
author | Marc Zyngier <maz@kernel.org> | 2025-04-26 13:42:15 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-05-06 19:35:09 +0300 |
commit | 04af8a39684f471e3785261f5d2f0df265fd77b6 (patch) | |
tree | 65b2f2a04558c05da9ec18ed3119bdf901ec8c84 /tools/perf/scripts/python/stackcollapse.py | |
parent | fbc8a4e137e5673600ec276b06ca31a46967167b (diff) | |
download | linux-04af8a39684f471e3785261f5d2f0df265fd77b6.tar.xz |
KVM: arm64: Tighten handling of unknown FGT groups
triage_sysreg_trap() assumes that it knows all the possible values
for FGT groups, which won't be the case as we start adding more
FGT registers (unless we add everything in one go, which is obviously
undesirable).
At the same time, it doesn't offer much in terms of debugging info
when things go wrong.
Turn the "__NR_FGT_GROUP_IDS__" case into a default, covering any
unhandled value, and give the kernel hacker a bit of a clue about
what's wrong (system register and full trap descriptor).
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions