Hi,
In this version I added a new patch (patch 3) that handles the case of
the sparse RAM mapping of the Icicle Kit machine. No relevant changes
made in the other 6 patches.
Patches are based on riscv-to-apply.next.
Changes from v2:
- patch 3 (new):
- add a specific function to retrieve the FDT addr of the Icicle Kit
machine
- v2 link: https://lists.gnu.org/archive/html/qemu-devel/2023-01/msg03366.html
Daniel Henrique Barboza (7):
hw/riscv/boot.c: calculate fdt size after fdt_pack()
hw/riscv: split fdt address calculation from fdt load
hw/riscv/microchip_pfsoc.c: add an Icicle Kit fdt address function
hw/riscv: simplify riscv_compute_fdt_addr()
hw/riscv/virt.c: calculate socket count once in create_fdt_imsic()
hw/riscv/virt.c: rename MachineState 'mc' pointers to 'ms'
hw/riscv/spike.c: rename MachineState 'mc' pointers to' ms'
hw/riscv/boot.c | 42 +++-
hw/riscv/microchip_pfsoc.c | 48 +++-
hw/riscv/sifive_u.c | 7 +-
hw/riscv/spike.c | 24 +-
hw/riscv/virt.c | 468 +++++++++++++++++++------------------
include/hw/riscv/boot.h | 3 +-
6 files changed, 331 insertions(+), 261 deletions(-)
--
2.39.0