[PATCH 0/2] Devicetree support for UML

From: Vincent Whitchurch
Date: Wed Dec 08 2021 - 10:11:33 EST


This series add support for passing a devicetree blob to UML. It can be used
for testing device drivers.

Vincent Whitchurch (2):
um: Extract load file helper from initrd.c
um: Add devicetree support

arch/um/Kconfig | 1 +
arch/um/kernel/Makefile | 2 ++
arch/um/kernel/dtb.c | 41 +++++++++++++++++++++++++
arch/um/kernel/initrd.c | 48 ++++--------------------------
arch/um/kernel/load_file.c | 61 ++++++++++++++++++++++++++++++++++++++
arch/um/kernel/um_arch.c | 3 ++
arch/um/kernel/um_arch.h | 14 +++++++++
7 files changed, 127 insertions(+), 43 deletions(-)
create mode 100644 arch/um/kernel/dtb.c
create mode 100644 arch/um/kernel/load_file.c
create mode 100644 arch/um/kernel/um_arch.h

--
2.33.1