All of lore.kernel.org
 help / color / mirror / Atom feed
* [MINI-OS PATCH 00/12] kexec: add kexec support to Mini-OS
@ 2025-03-21  9:24 Juergen Gross
  2025-03-21  9:24 ` [MINI-OS PATCH 01/12] kexec: add kexec framework Juergen Gross
                   ` (13 more replies)
  0 siblings, 14 replies; 37+ messages in thread
From: Juergen Gross @ 2025-03-21  9:24 UTC (permalink / raw)
  To: minios-devel, xen-devel; +Cc: samuel.thibault, Juergen Gross

Add basic kexec support to Mini-OS for running in x86 PVH mode.

With this series applied it is possible to activate another kernel
from within Mini-OS.

Right now no Xen related teardown is done (so no reset of grant table,
event channels, PV devices). These should be added via kexec callbacks
which are added as a framework.

This is a major building block for support of Xenstore-stubdom live
update (in fact I've tested the kexec path to work using the PVH
variant of Xenstore-stubdom).

Juergen Gross (12):
  add kexec framework
  Mini-OS: add final kexec stage
  mini-os: add elf.h
  mini-os: analyze new kernel for kexec
  mini-os: kexec: finalize parameter location and size
  mini-os: reserve memory below boundary
  mini-os: kexec: build parameters for new kernel
  mini-os: kexec: move used pages away for new kernel
  Mini-OS: mm: change set_readonly() to change_readonly()
  Mini-OS: kexec: switch read-only area to be writable again
  mini-os: kexec: add kexec callback functionality
  mini-os: kexec: do the final kexec step

 Config.mk                  |   1 +
 Makefile                   |   1 +
 arch/x86/kexec.c           | 273 +++++++++++++++++++++++++++++
 arch/x86/minios-x86.lds.S  |  16 ++
 arch/x86/mm.c              | 238 ++++++++++++++++++++------
 arch/x86/testbuild/all-no  |   1 +
 arch/x86/testbuild/all-yes |   2 +
 arch/x86/testbuild/kexec   |   4 +
 arch/x86/x86_hvm.S         |  46 +++++
 include/elf.h              | 340 +++++++++++++++++++++++++++++++++++++
 include/kexec.h            |  63 +++++++
 include/mm.h               |   8 +
 include/x86/os.h           |   5 +
 kexec.c                    | 253 +++++++++++++++++++++++++++
 mm.c                       |  89 +++++++++-
 15 files changed, 1289 insertions(+), 51 deletions(-)
 create mode 100644 arch/x86/kexec.c
 create mode 100644 arch/x86/testbuild/kexec
 create mode 100644 include/elf.h
 create mode 100644 include/kexec.h
 create mode 100644 kexec.c

-- 
2.43.0



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

end of thread, other threads:[~2025-06-16  7:10 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21  9:24 [MINI-OS PATCH 00/12] kexec: add kexec support to Mini-OS Juergen Gross
2025-03-21  9:24 ` [MINI-OS PATCH 01/12] kexec: add kexec framework Juergen Gross
2025-06-14 16:40   ` Jason Andryuk
2025-06-16  5:40     ` Jürgen Groß
2025-03-21  9:24 ` [MINI-OS PATCH 02/12] kexec: add final kexec stage Juergen Gross
2025-06-14 16:40   ` Jason Andryuk
2025-06-16  6:13     ` Jürgen Groß
2025-03-21  9:24 ` [MINI-OS PATCH 03/12] add elf.h Juergen Gross
2025-03-21 13:51   ` Jan Beulich
2025-03-21 15:53     ` Jürgen Groß
2025-03-24  9:25       ` Jan Beulich
2025-03-21  9:24 ` [MINI-OS PATCH 04/12] kexec: analyze new kernel for kexec Juergen Gross
2025-06-14 16:41   ` Jason Andryuk
2025-06-16  6:42     ` Jürgen Groß
2025-03-21  9:24 ` [MINI-OS PATCH 05/12] kexec: finalize parameter location and size Juergen Gross
2025-06-14 16:43   ` Jason Andryuk
2025-03-21  9:24 ` [MINI-OS PATCH 06/12] kexec: reserve memory below boundary Juergen Gross
2025-06-14 16:56   ` Jason Andryuk
2025-03-21  9:24 ` [MINI-OS PATCH 07/12] kexec: build parameters for new kernel Juergen Gross
2025-06-14 17:02   ` Jason Andryuk
2025-06-16  7:00     ` Jürgen Groß
2025-03-21  9:24 ` [MINI-OS PATCH 08/12] kexec: move used pages away " Juergen Gross
2025-06-14 17:19   ` Jason Andryuk
2025-03-21  9:24 ` [MINI-OS PATCH 09/12] mm: change set_readonly() to change_readonly() Juergen Gross
2025-06-14 17:25   ` Jason Andryuk
2025-03-21  9:24 ` [MINI-OS PATCH 10/12] kexec: switch read-only area to be writable again Juergen Gross
2025-06-14 17:26   ` Jason Andryuk
2025-03-21  9:24 ` [MINI-OS PATCH 11/12] kexec: add kexec callback functionality Juergen Gross
2025-06-14 17:34   ` Jason Andryuk
2025-06-16  7:08     ` Jürgen Groß
2025-03-21  9:24 ` [MINI-OS PATCH 12/12] kexec: do the final kexec step Juergen Gross
2025-06-14 17:39   ` Jason Andryuk
2025-06-16  7:09     ` Jürgen Groß
2025-03-22 23:54 ` [MINI-OS PATCH 00/12] kexec: add kexec support to Mini-OS Samuel Thibault
2025-03-23  7:01   ` Jürgen Groß
2025-05-07 12:58 ` Juergen Gross
2025-06-13  9:34   ` 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.