All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] xen: add support for automatic debug key actions in case of crash
@ 2021-01-16 10:33 Juergen Gross
  2021-01-16 10:33 ` [PATCH v6 1/3] xen/arm: add support for run_in_exception_handler() Juergen Gross
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Juergen Gross @ 2021-01-16 10:33 UTC (permalink / raw)
  To: xen-devel
  Cc: Juergen Gross, Stefano Stabellini, Julien Grall,
	Volodymyr Babchuk, Andrew Cooper, George Dunlap, Ian Jackson,
	Jan Beulich, Wei Liu

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(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-01-23 11:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-16 10:33 [PATCH v6 0/3] xen: add support for automatic debug key actions in case of crash Juergen Gross
2021-01-16 10:33 ` [PATCH v6 1/3] xen/arm: add support for run_in_exception_handler() Juergen Gross
2021-01-16 17:19   ` Julien Grall
2021-01-16 19:05     ` Jürgen Groß
2021-01-17 17:55       ` Julien Grall
2021-01-20 18:20   ` Julien Grall
2021-01-20 18:34     ` Jürgen Groß
2021-01-21  7:55     ` Jan Beulich
2021-01-21  8:00       ` Jürgen Groß
2021-01-21  8:56         ` Jan Beulich
2021-01-21  9:50       ` Julien Grall
2021-01-21 10:06         ` Jan Beulich
2021-01-23 11:28           ` Julien Grall
2021-01-16 10:33 ` [PATCH v6 2/3] xen: enable keyhandlers to work without register set specified Juergen Gross
2021-01-20 18:09   ` Julien Grall
2021-01-16 10:33 ` [PATCH v6 3/3] xen: add support for automatic debug key actions in case of crash Juergen Gross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.