qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/13] hw/riscv/virt: device tree reg cleanups
@ 2025-04-29  6:12 Joel Stanley
  2025-04-29  6:12 ` [PATCH 01/13] hw/riscv/virt: Fix clint base address type Joel Stanley
                   ` (14 more replies)
  0 siblings, 15 replies; 30+ messages in thread
From: Joel Stanley @ 2025-04-29  6:12 UTC (permalink / raw)
  To: Daniel Henrique Barboza; +Cc: qemu-riscv, qemu-devel

This is a set of cleanups for the riscv virt machine device tree
generation that apply on top of Daniel's recent series. 

Using dumpdtb the old and new device trees are identical for -M virt and
-M virt,aia=aplic-imsic.

The final patch is not meant for merging, but demonstrates bugs in the
existing code when the reg property describes an address > 4GB.

Based-on: 20250423110630.2249904-1-dbarboza@ventanamicro.com

Joel Stanley (13):
  hw/riscv/virt: Fix clint base address type
  hw/riscv/virt: Use setprop_sized_cells for clint
  hw/riscv/virt: Use setprop_sized_cells for memory
  hw/riscv/virt: Use setprop_sized_cells for aplic
  hw/riscv/virt: Use setprop_sized_cells for aclint
  hw/riscv/virt: Use setprop_sized_cells for plic
  hw/riscv/virt: Use setprop_sized_cells for virtio
  hw/riscv/virt: Use setprop_sized_cells for reset
  hw/riscv/virt: Use setprop_sized_cells for uart
  hw/riscv/virt: Use setprop_sized_cells for rtc
  hw/riscv/virt: Use setprop_sized_cells for iommu
  hw/riscv/virt: Use setprop_sized_cells for pcie
  NOMERGE: virt: Adjust devices so everything is > 4G

 hw/riscv/virt.c | 108 ++++++++++++++++++++++++------------------------
 1 file changed, 53 insertions(+), 55 deletions(-)

-- 
2.47.2



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

end of thread, other threads:[~2025-04-30 11:36 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29  6:12 [PATCH 00/13] hw/riscv/virt: device tree reg cleanups Joel Stanley
2025-04-29  6:12 ` [PATCH 01/13] hw/riscv/virt: Fix clint base address type Joel Stanley
2025-04-29 12:59   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 01/13] riscv/virt: Fix address type in create_fdt_socket_clint Joel Stanley
2025-04-29 12:26   ` Daniel Henrique Barboza
2025-04-30 11:36     ` Joel Stanley
2025-04-29  6:12 ` [PATCH 02/13] hw/riscv/virt: Use setprop_sized_cells for clint Joel Stanley
2025-04-29 17:22   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 03/13] hw/riscv/virt: Use setprop_sized_cells for memory Joel Stanley
2025-04-29 17:22   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 04/13] hw/riscv/virt: Use setprop_sized_cells for aplic Joel Stanley
2025-04-29 17:22   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 05/13] hw/riscv/virt: Use setprop_sized_cells for aclint Joel Stanley
2025-04-29 17:23   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 06/13] hw/riscv/virt: Use setprop_sized_cells for plic Joel Stanley
2025-04-29 17:23   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 07/13] hw/riscv/virt: Use setprop_sized_cells for virtio Joel Stanley
2025-04-29 17:23   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 08/13] hw/riscv/virt: Use setprop_sized_cells for reset Joel Stanley
2025-04-29 17:23   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 09/13] hw/riscv/virt: Use setprop_sized_cells for uart Joel Stanley
2025-04-29 17:24   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 10/13] hw/riscv/virt: Use setprop_sized_cells for rtc Joel Stanley
2025-04-29 17:24   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 11/13] hw/riscv/virt: Use setprop_sized_cells for iommu Joel Stanley
2025-04-29 17:24   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 12/13] hw/riscv/virt: Use setprop_sized_cells for pcie Joel Stanley
2025-04-29 17:24   ` Daniel Henrique Barboza
2025-04-29  6:12 ` [PATCH 13/13] NOMERGE: virt: Adjust devices so everything is > 4G Joel Stanley
2025-04-29 23:45 ` [PATCH 00/13] hw/riscv/virt: device tree reg cleanups Alistair Francis

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).