summaryrefslogtreecommitdiffstats
path: root/lib/btree.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-01-12 13:38:29 +0100
committerOliver Upton <oliver.upton@linux.dev>2023-01-26 19:48:47 +0100
commitba82e06cf7f46ac97fe935a6abfe2392ae694ab0 (patch)
tree34b304d52cc1b57da9c6d8d95f94ad897b3a23c4 /lib/btree.c
parentKVM: arm64: Reduce overhead of trapped timer sysreg accesses (diff)
downloadlinux-ba82e06cf7f46ac97fe935a6abfe2392ae694ab0.tar.xz
linux-ba82e06cf7f46ac97fe935a6abfe2392ae694ab0.zip
KVM: arm64: timers: Don't BUG() on unhandled timer trap
Although not handling a trap is a pretty bad situation to be in, panicing the kernel isn't useful and provides no valuable information to help debugging the situation. Instead, dump the encoding of the unhandled sysreg, and inject an UNDEF in the guest. At least, this gives a user an opportunity to report the issue with some information to help debugging it. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230112123829.458912-4-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions