qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hw/arm: Pack the QEMU generated device tree
@ 2024-01-15  4:34 Bin Meng
  2024-01-15  4:34 ` [PATCH 1/3] hw/arm: Refactor struct arm_boot_info::get_dtb() Bin Meng
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Bin Meng @ 2024-01-15  4:34 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alistair Francis, Edgar E. Iglesias, Leif Lindholm,
	Marcin Juszkiewicz, Peter Maydell, Radoslaw Biernacki, qemu-arm


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



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

end of thread, other threads:[~2024-01-22  3:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-15  4:34 [PATCH 0/3] hw/arm: Pack the QEMU generated device tree Bin Meng
2024-01-15  4:34 ` [PATCH 1/3] hw/arm: Refactor struct arm_boot_info::get_dtb() Bin Meng
2024-01-15 11:06   ` Philippe Mathieu-Daudé
2024-01-22  3:26   ` Alistair Francis
2024-01-15  4:34 ` [PATCH 2/3] hw/arm: Pack the QEMU generated device tree Bin Meng
2024-01-19 14:17   ` Peter Maydell
2024-01-15  4:34 ` [PATCH 3/3] tests/acpi: Update virt/SSDT.memhp Bin Meng
2024-01-15 11:39   ` Alex Bennée
2024-01-15 14:46     ` Bin Meng
2024-01-15 19:07       ` Laszlo Ersek
2024-01-19 14:29   ` Peter Maydell
2024-01-19 17:19     ` Laszlo Ersek
2024-01-19 17:46       ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).