All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xen/device-tree: FDT dump helper and common discard_initial_modules()
@ 2026-10-01 11:16 Oleksii Kurochko
  2026-10-01 11:16 ` [PATCH 1/2] xen/device-tree: add a helper to dump an FDT in DTS-like format Oleksii Kurochko
  2026-10-01 11:16 ` [PATCH 2/2] xen/device-tree: move discard_initial_modules() to common code Oleksii Kurochko
  0 siblings, 2 replies; 7+ messages in thread
From: Oleksii Kurochko @ 2026-10-01 11:16 UTC (permalink / raw)
  To: xen-devel
  Cc: Oleksii Kurochko, Andrew Cooper, Anthony PERARD, Michal Orzel,
	Jan Beulich, Julien Grall, Roger Pau Monné,
	Stefano Stabellini, Bertrand Marquis, Volodymyr Babchuk

Two small, independent device-tree changes. Arm is the only user of both
at the moment; RISC-V is going to use them as well.

Patch 1 adds device_tree_dump(), which prints an FDT in a DTS-like format
under CONFIG_DEVICE_TREE_DEBUG, to make it possible to inspect the device
tree Xen generates for a dom0less domain.

Patch 2 moves discard_initial_modules() from Arm to common device-tree
code, as everything it uses is already common, so that other device-tree
based architectures can reuse it. No functional change.

Build-tested on arm64 and arm32.

CI tests: https://gitlab.com/xen-project/people/olkur/xen/-/pipelines/2900841778


Oleksii Kurochko (2):
  xen/device-tree: add a helper to dump an FDT in DTS-like format
  xen/device-tree: move discard_initial_modules() to common code

 xen/Kconfig.debug                       |   3 +-
 xen/arch/arm/include/asm/setup.h        |   2 -
 xen/arch/arm/setup.c                    |  35 +----
 xen/common/device-tree/Makefile         |   1 +
 xen/common/device-tree/bootinfo.c       |  30 ++++
 xen/common/device-tree/dom0less-build.c |   4 +
 xen/common/device-tree/fdt-dump.c       | 180 ++++++++++++++++++++++++
 xen/include/xen/bootfdt.h               |  13 ++
 xen/include/xen/bootinfo.h              |   8 ++
 9 files changed, 240 insertions(+), 36 deletions(-)
 create mode 100644 xen/common/device-tree/fdt-dump.c


base-commit: f9b72572c8d5b6d312fd0b5014f65bed20efac40
-- 
2.55.0



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

end of thread, other threads:[~2026-10-09 10:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-01 11:16 [PATCH 0/2] xen/device-tree: FDT dump helper and common discard_initial_modules() Oleksii Kurochko
2026-10-01 11:16 ` [PATCH 1/2] xen/device-tree: add a helper to dump an FDT in DTS-like format Oleksii Kurochko
2026-10-08 11:57   ` Orzel, Michal
2026-10-09 10:58     ` Oleksii Kurochko
2026-10-01 11:16 ` [PATCH 2/2] xen/device-tree: move discard_initial_modules() to common code Oleksii Kurochko
2026-10-08 11:19   ` Orzel, Michal
2026-10-09  9:43     ` Oleksii Kurochko

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.