mbox series

[Xen-devel,v2,0/3] xen/arm: Inject an exception to the guest rather than crashing it

Message ID 20180201184749.29430-1-julien.grall@arm.com
Headers show
Series xen/arm: Inject an exception to the guest rather than crashing it | expand

Message

Julien Grall Feb. 1, 2018, 6:47 p.m. UTC
Hi all,

This small series replaces all call to domain_crash_synchronous by injecting
an exception to the guest.

This will result to a nicer trace from the guest (no need to manually walk
the stack) and give a chance to the guest to give a bit more information on
what it was doing.

Cheers,

Julien Grall (3):
  xen/arm: io: Distinguish unhandled IO from aborted one
  xen/arm: Don't crash domain on bad MMIO emulation
  xen/arm: Don't crash the domain on invalid HVC immediate

 xen/arch/arm/io.c          | 32 ++++++++++++++++++--------------
 xen/arch/arm/traps.c       | 31 +++++++++++++++++++++++--------
 xen/arch/arm/vgic-v2.c     |  2 --
 xen/arch/arm/vgic-v3-its.c |  3 ---
 xen/arch/arm/vgic-v3.c     |  8 --------
 xen/arch/arm/vpl011.c      |  2 --
 xen/include/asm-arm/mmio.h | 13 ++++++++++---
 7 files changed, 51 insertions(+), 40 deletions(-)