Skip to content

hw/arm: xlnx-zcu102: Disable unsupported FDT firmware nodes

Edgar E. Iglesias qemu-arm qemu-devel 2 versions – Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Constify compat in qemu_fdt_node_path().

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4device_tree: Allow name wildcards in qemu_fdt_node_path()device_tree.c include/sysemu/device_tree.h+4 -10 replies
2/4device_tree: Constify compat in qemu_fdt_node_path()device_tree.c include/sysemu/device_tree.h+2 -20 replies
3/4hw/arm: xlnx-zcu102: Move arm_boot_info into XlnxZCU102hw/arm/xlnx-zcu102.c+5 -40 replies
4/4hw/arm: xlnx-zcu102: Disable unsupported FDT firmware nodeshw/arm/xlnx-zcu102.c+30 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéAlistair Francis
1/4R-b
2/4
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] hw/arm: xlnx-zcu102: Disable unsupported FDT firmware nodes

From: "Edgar E. Iglesias" <[email protected]>

When users try direct Linux runs on the ZynqMP models without enabling EL3 (and using appropriate FW) they run into trouble because the upstream kernel device-tree has EL3 based firmware nodes by default. PSCI firmware nodes work because we emulate the firmware in QEMU.

This series avoids that problem by disabling firmware nodes that the machine cannot support due to lack of EL3 or EL2 support.

This means we can now (without manually editing DTBs) run the following in a current Linux tree:

qemu-system-aarch64 -M xlnx-zcu102 -m 2G -dtb arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dtb -serial mon:stdio -kernel arch/arm64/boot/Image -initrd zu-rootfs.cpio.gz -append rdinit=/bin/sh

Cheers,
Edgar

ChangeLog:

v1 -> v2:
* Constify compat in qemu_fdt_node_path().

Edgar E. Iglesias (4):
device_tree: Allow name wildcards in qemu_fdt_node_path()
device_tree: Constify compat in qemu_fdt_node_path() hw/arm: xlnx-zcu102: Move arm_boot_info into XlnxZCU102 hw/arm: xlnx-zcu102: Disable unsupported FDT firmware nodes

 device_tree.c                |  4 ++--
 hw/arm/xlnx-zcu102.c         | 39 ++++++++++++++++++++++++++++++++----
 include/sysemu/device_tree.h |  5 ++++-
 3 files changed, 41 insertions(+), 7 deletions(-)
Signature · 1 line
2.20.1