qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] riscv: create_fdt() related cleanups
@ 2023-01-11 17:09 Daniel Henrique Barboza
  2023-01-11 17:09 ` [PATCH 01/10] hw/riscv/spike.c: simplify create_fdt() Daniel Henrique Barboza
                   ` (11 more replies)
  0 siblings, 12 replies; 20+ messages in thread
From: Daniel Henrique Barboza @ 2023-01-11 17:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-riscv, alistair.francis, Daniel Henrique Barboza

Hi,

This is a follow-up of:

"[PATCH v5 00/11] riscv: OpenSBI boot test and cleanups"

Patches were based on top of riscv-to-apply.next [1] + the series above.

The recent FDT changes made in hw/riscv (all machines are now using the
FDT via MachineState::fdt) allowed for most of the cleanups made here.

Patches 9 and 10 were based on a suggestion made by Phil a few weeks ago.
I decided to go for it.

[1] https://github.com/alistair23/qemu/tree/riscv-to-apply.next

Daniel Henrique Barboza (10):
  hw/riscv/spike.c: simplify create_fdt()
  hw/riscv/virt.c: simplify create_fdt()
  hw/riscv/sifive_u.c: simplify create_fdt()
  hw/riscv/virt.c: remove 'is_32_bit' param from
    create_fdt_socket_cpus()
  hw/riscv: use MachineState::fdt in riscv_socket_fdt_write_id()
  hw/riscv: use ms->fdt in riscv_socket_fdt_write_distance_matrix()
  hw/riscv: simplify riscv_load_fdt()
  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            |   4 +-
 hw/riscv/microchip_pfsoc.c |   4 +-
 hw/riscv/numa.c            |  14 +-
 hw/riscv/sifive_u.c        |  11 +-
 hw/riscv/spike.c           |  25 +-
 hw/riscv/virt.c            | 484 +++++++++++++++++++------------------
 include/hw/riscv/boot.h    |   2 +-
 include/hw/riscv/numa.h    |  10 +-
 8 files changed, 277 insertions(+), 277 deletions(-)

-- 
2.39.0



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

end of thread, other threads:[~2023-01-16  4:05 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-11 17:09 [PATCH 00/10] riscv: create_fdt() related cleanups Daniel Henrique Barboza
2023-01-11 17:09 ` [PATCH 01/10] hw/riscv/spike.c: simplify create_fdt() Daniel Henrique Barboza
2023-01-16  3:53   ` Alistair Francis
2023-01-11 17:09 ` [PATCH 02/10] hw/riscv/virt.c: " Daniel Henrique Barboza
2023-01-16  3:54   ` Alistair Francis
2023-01-11 17:09 ` [PATCH 03/10] hw/riscv/sifive_u.c: " Daniel Henrique Barboza
2023-01-16  3:57   ` Alistair Francis
2023-01-11 17:09 ` [PATCH 04/10] hw/riscv/virt.c: remove 'is_32_bit' param from create_fdt_socket_cpus() Daniel Henrique Barboza
2023-01-16  3:58   ` Alistair Francis
2023-01-11 17:09 ` [PATCH 05/10] hw/riscv: use MachineState::fdt in riscv_socket_fdt_write_id() Daniel Henrique Barboza
2023-01-16  4:01   ` Alistair Francis
2023-01-11 17:09 ` [PATCH 06/10] hw/riscv: use ms->fdt in riscv_socket_fdt_write_distance_matrix() Daniel Henrique Barboza
2023-01-16  4:04   ` Alistair Francis
2023-01-11 17:09 ` [PATCH 07/10] hw/riscv: simplify riscv_load_fdt() Daniel Henrique Barboza
2023-01-12  7:33   ` Philippe Mathieu-Daudé
2023-01-11 17:09 ` [PATCH 08/10] hw/riscv/virt.c: calculate socket count once in create_fdt_imsic() Daniel Henrique Barboza
2023-01-11 17:09 ` [PATCH 09/10] hw/riscv/virt.c: rename MachineState 'mc' pointers to 'ms' Daniel Henrique Barboza
2023-01-11 17:09 ` [PATCH 10/10] hw/riscv/spike.c: rename MachineState 'mc' pointers to' ms' Daniel Henrique Barboza
2023-01-12  7:36 ` [PATCH 00/10] riscv: create_fdt() related cleanups Philippe Mathieu-Daudé
2023-01-16  4:04 ` 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).