Skip to content

xen: add support for automatic debug key actions in case of crash

Juergen Gross xen-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 12 repliesIn review
  2. v53 patches 6 repliesSuperseded
  3. v43 patches 17 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v31 patch13 repliesSuperseded
v21 patch2 repliesSuperseded
v11 patch9 repliesSuperseded

Changes in v6 from the cover letter

- rework of patch 1 due to Arm 32-bit problems

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/arm: add support for run_in_exception_handler()xen/arch/arm/traps.c xen/arch/arm/xen.lds.S xen/common/virtual_region.c +3 more+39 -811 replies
2/3xen: enable keyhandlers to work without register set specifiedxen/common/keyhandler.c+14 -31 reply
3/3xen: add support for automatic debug key actions in case of crashdocs/misc/xen-command-line.pandoc xen/common/kexec.c xen/common/keyhandler.c +4 more+122 -80 replies

Reviews trailers per patch

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

PatchJan BeulichJulien Grall
1/3A-b
2/3A-b
3/3R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/3] xen: add support for automatic debug key actions in case of crash

When the host crashes it would sometimes be nice to have additional debug data available which could be produced via debug keys, but halting the server for manual intervention might be impossible due to the need to reboot/kexec rather sooner than later.

Add support for automatic debug key actions in case of crashes which can be activated via boot- or runtime-parameter.

Changes in V4:
- addressed comments (now patch 3)
- added patches 1 and 2

Changes in V5:
- better bug frame construction on Arm (patch 1)
- addressed comments

Changes in V6:
- rework of patch 1 due to Arm 32-bit problems

Juergen Gross (3):
xen/arm: add support for run_in_exception_handler()
xen: enable keyhandlers to work without register set specified
xen: add support for automatic debug key actions in case of crash

 docs/misc/xen-command-line.pandoc | 41 ++++++++++++++++++
 xen/arch/arm/traps.c              |  8 ++++
 xen/arch/arm/xen.lds.S            |  2 +
 xen/common/kexec.c                |  8 ++--
 xen/common/keyhandler.c           | 72 +++++++++++++++++++++++++++++--
 xen/common/shutdown.c             |  4 +-
 xen/common/virtual_region.c       |  2 -
 xen/drivers/char/console.c        |  2 +-
 xen/include/asm-arm/arm32/bug.h   |  2 +
 xen/include/asm-arm/arm64/bug.h   |  2 +
 xen/include/asm-arm/bug.h         | 31 ++++++++++---
 xen/include/xen/kexec.h           | 10 ++++-
 xen/include/xen/keyhandler.h      | 10 +++++
 13 files changed, 175 insertions(+), 19 deletions(-)
Signature · 1 line
2.26.2