]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Introduce a bad_trap() primitive for unexpected trap handling
authorMarc Zyngier <maz@kernel.org>
Mon, 6 Nov 2023 16:42:13 +0000 (16:42 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Dec 2023 09:51:24 +0000 (09:51 +0000)
commit2733dd10701abc6ab23d65a732f58fbeb80bd203
treef31cb1728e2f1399d33b50ab412f0e34293fd1ce
parent60ce16cc122aad999129d23061fa35f63d5b1e9b
KVM: arm64: Introduce a bad_trap() primitive for unexpected trap handling

In order to ease the debugging of NV, it is helpful to have the kernel
shout at you when an unexpected trap is handled. We already have this
in a couple of cases. Make this a more generic infrastructure that we
will make use of very shortly.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c