[PATCH 0/3] hw/arm: Pack the QEMU generated device tree

Bin Meng posted 3 patches 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240115043431.3900922-1-bin.meng@windriver.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Radoslaw Biernacki <rad@semihalf.com>, Leif Lindholm <quic_llindhol@quicinc.com>, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>, Alistair Francis <alistair@alistair23.me>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
include/hw/arm/boot.h           |   8 ++++----
hw/arm/boot.c                   |  14 +++++++++++++-
hw/arm/sbsa-ref.c               |   3 +--
hw/arm/virt.c                   |   4 +---
hw/arm/xlnx-versal-virt.c       |   4 +---
tests/data/acpi/virt/SSDT.memhp | Bin 1817 -> 1817 bytes
6 files changed, 20 insertions(+), 13 deletions(-)
[PATCH 0/3] hw/arm: Pack the QEMU generated device tree
Posted by Bin Meng 10 months ago
By default, QEMU generates a 1 MiB sized device tree. This appears
to be unnecessary, as the actual size is much smaller than what the
DTB header claims. Let's pack it to save some room.


Bin Meng (3):
  hw/arm: Refactor struct arm_boot_info::get_dtb()
  hw/arm: Pack the QEMU generated device tree
  tests/acpi: Update virt/SSDT.memhp

 include/hw/arm/boot.h           |   8 ++++----
 hw/arm/boot.c                   |  14 +++++++++++++-
 hw/arm/sbsa-ref.c               |   3 +--
 hw/arm/virt.c                   |   4 +---
 hw/arm/xlnx-versal-virt.c       |   4 +---
 tests/data/acpi/virt/SSDT.memhp | Bin 1817 -> 1817 bytes
 6 files changed, 20 insertions(+), 13 deletions(-)

-- 
2.34.1