Skip to content

xen/arm: Inject an exception to the guest rather than crashing it

Julien Grall xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 11 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 16 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/arm: traps: Merge try_handle_mmio() and handle_mmio()xen/arch/arm/io.c xen/arch/arm/traps.c xen/include/asm-arm/mmio.h+41 -473 replies
2/4xen/arm: io: Distinguish unhandled IO from aborted onexen/arch/arm/io.c xen/arch/arm/traps.c xen/include/asm-arm/mmio.h+43 -202 replies
3/4xen/arm: Don't crash domain on bad MMIO emulationxen/arch/arm/vgic-v2.c xen/arch/arm/vgic-v3-its.c xen/arch/arm/vgic-v3.c +1 more+0 -151 reply
4/4xen/arm: Don't crash the domain on invalid HVC immediatexen/arch/arm/traps.c+8 -52 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchStefano StabelliniAndre Przywara
1/4R-b
2/4R-b
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] xen/arm: Inject an exception to the guest rather than crashing it

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 (4):
xen/arm: traps: Merge try_handle_mmio() and handle_mmio() 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          | 65 ++++++++++++++++++++++++++++++++---------
 xen/arch/arm/traps.c       | 72 +++++++++++++++-------------------------------
 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 | 11 ++++++-
 7 files changed, 84 insertions(+), 79 deletions(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel