xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] xen: add support for automatic debug key actions in case of crash
@ 2020-12-15  6:33 Juergen Gross
  2020-12-15  6:33 ` [PATCH v5 1/3] xen/arm: add support for run_in_exception_handler() Juergen Gross
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Juergen Gross @ 2020-12-15  6: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

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              | 10 ++++-
 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/bug.h         | 45 +++++++++----------
 xen/include/xen/kexec.h           | 10 ++++-
 xen/include/xen/keyhandler.h      | 10 +++++
 11 files changed, 168 insertions(+), 38 deletions(-)

-- 
2.26.2



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

end of thread, other threads:[~2020-12-22  5:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15  6:33 [PATCH v5 0/3] xen: add support for automatic debug key actions in case of crash Juergen Gross
2020-12-15  6:33 ` [PATCH v5 1/3] xen/arm: add support for run_in_exception_handler() Juergen Gross
2020-12-15  9:02   ` Jan Beulich
2020-12-15  9:23     ` Jürgen Groß
2020-12-15 13:39     ` Julien Grall
2020-12-15 13:59       ` Jan Beulich
2020-12-21 16:50         ` Julien Grall
2020-12-22  5:48           ` Jürgen Groß
2020-12-15  6:33 ` [PATCH v5 2/3] xen: enable keyhandlers to work without register set specified Juergen Gross
2020-12-15  6:33 ` [PATCH v5 3/3] xen: add support for automatic debug key actions in case of crash Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).