xen/arm: traps: Don't panic when receiving an unknown debug trap
authorJulien Grall <jgrall@amazon.com>
Thu, 5 Nov 2020 22:31:06 +0000 (22:31 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 8 Apr 2022 09:40:51 +0000 (10:40 +0100)
commit07edbd9797c967ad7240a2fb8b7ed5ed4bad79ce
tree7d3bae85716e2c648219a5da37b6fe74b4a9ef47
parentd0b420115592c0c2b69f8a21e7c83ee6f335ddab
xen/arm: traps: Don't panic when receiving an unknown debug trap

Even if debug trap are only meant for debugging purpose, it is quite
harsh to crash Xen if one of the trap sent by the guest is not handled.

So switch from a panic() to a printk().

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 957708c2d1ae25d7375abd5e5e70c3043d64f1f1)

Gbp-Pq: Name 0035-xen-arm-traps-Don-t-panic-when-receiving-an-unknown-.patch
xen/arch/arm/traps.c