commit | cccec6d531240e8ed27956a55b364d62cc4ce456 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Mon Jan 09 08:23:58 2023 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Thu Jan 12 11:08:55 2023 +0000 |
tree | 3e5ecb97134626747b92dc6a486e63d808097d03 | |
parent | a4024a0d1e556122208f57b3ca68c2c507b9aa4d [diff] |
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>