Hi,
In this new version a small change was made in patch 9 after
discussions with Joel during v1 [1]. The idea is that we want to be
consistent (as close as we can) with the idea that a
memory address is a hwaddr type.
This new version does not conflict with "hw/riscv/virt: device tree reg
cleanups" from Joel [2].
No other changes made. Patches based on alistair/riscv-to-apply.next.
Changes from v2:
- patch 9:
- in create_fdt_socket_memory(), change 'addr' to hwaddr and use the
HWADDR_PRIx fmt type
- v1 link:
https://lore.kernel.org/qemu-riscv/[email protected]/
[1]
https://lore.kernel.org/qemu-riscv/[email protected]/
[2] https://lore.kernel.org/qemu-riscv/[email protected]/
Daniel Henrique Barboza (9):
hw/riscv/virt.c: enforce s->memmap use in machine_init()
hw/riscv/virt.c: remove trivial virt_memmap references
hw/riscv/virt.c: use s->memmap in virt_machine_done()
hw/riscv/virt.c: add 'base' arg in create_fw_cfg()
hw/riscv/virt.c: use s->memmap in create_fdt() path
hw/riscv/virt.c: use s->memmap in create_fdt_sockets() path
hw/riscv/virt.c: use s->memmap in create_fdt_virtio()
hw/riscv/virt.c: use s->memmap in finalize_fdt() functions
hw/riscv/virt.c: remove 'long' casts in fmt strings
hw/riscv/virt.c | 272 +++++++++++++++++++++++++-----------------------
1 file changed, 140 insertions(+), 132 deletions(-)
--
2.49.0