All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] hw/riscv: more FDT cleanups (PLIC)
@ 2026-06-16 23:59 Daniel Henrique Barboza
  2026-06-16 23:59 ` [PATCH 1/5] hw/riscv/sifive_u.c: remove unneeded qemu_fdt_get_phandle() call Daniel Henrique Barboza
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Daniel Henrique Barboza @ 2026-06-16 23:59 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, alistair.francis, liwei1518, zhiwei_liu,
	chao.liu.zevorn, Daniel Henrique Barboza

Hello,

Here is the follow-up I talked about in the first FDT series that was
just merged [1].  This short series handles just the PLIC controller
FDT.  This time there are 2 FDT bug fixes in the mix (patches 3 and 4)
that we were lucky to find.

Expected changes after this series are related to patches 3 and 4 only:

 $ diff virt.dts virt_patch.dts
 189c189
 <               rng-seed = (...) 
 ---
 >               rng-seed = (...) 
 285c285
 <               plic@c000000 {
 ---
 >               interrupt-controller@c000000 {
 297c297
 <               plic@c600000 {
 ---
 >               interrupt-controller@c600000 {

$ diff sifive.dts sifive_patch.dts
 >                       #address-cells = <0x00>;


Patches based on master.

[1] https://lore.kernel.org/qemu-devel/20260615203734.954428-1-daniel.barboza@oss.qualcomm.com/


Daniel Henrique Barboza (5):
  hw/riscv/sifive_u.c: remove unneeded qemu_fdt_get_phandle() call
  hw/riscv/sifive_u.c: use intc_phandle in plic creation
  hw/riscv/sifive_u: add #address-cells in PLIC FDT
  hw/riscv/virt.c: change 'plic' nodename to 'interrupt-controller'
  hw/riscv: add create_fdt_plic() helper

 hw/riscv/fdt-common.c         | 30 +++++++++++++++++++++
 hw/riscv/sifive_u.c           | 42 +++++++++--------------------
 hw/riscv/virt.c               | 51 ++++++++++++-----------------------
 include/hw/riscv/fdt-common.h |  5 ++++
 include/hw/riscv/sifive_u.h   |  2 ++
 5 files changed, 67 insertions(+), 63 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2026-06-23  4:16 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 23:59 [PATCH 0/5] hw/riscv: more FDT cleanups (PLIC) Daniel Henrique Barboza
2026-06-16 23:59 ` [PATCH 1/5] hw/riscv/sifive_u.c: remove unneeded qemu_fdt_get_phandle() call Daniel Henrique Barboza
2026-06-22  4:56   ` Alistair Francis
2026-06-23  4:12   ` Chao Liu
2026-06-16 23:59 ` [PATCH 2/5] hw/riscv/sifive_u.c: use intc_phandle in plic creation Daniel Henrique Barboza
2026-06-22  4:57   ` Alistair Francis
2026-06-23  4:14   ` Chao Liu
2026-06-16 23:59 ` [PATCH 3/5] hw/riscv/sifive_u: add #address-cells in PLIC FDT Daniel Henrique Barboza
2026-06-22  4:59   ` Alistair Francis
2026-06-23  4:14   ` Chao Liu
2026-06-16 23:59 ` [PATCH 4/5] hw/riscv/virt.c: change 'plic' nodename to 'interrupt-controller' Daniel Henrique Barboza
2026-06-22  5:00   ` Alistair Francis
2026-06-23  4:15   ` Chao Liu
2026-06-16 23:59 ` [PATCH 5/5] hw/riscv: add create_fdt_plic() helper Daniel Henrique Barboza
2026-06-22  5:02   ` Alistair Francis
2026-06-23  4:16   ` Chao Liu
2026-06-22 23:09 ` [PATCH 0/5] hw/riscv: more FDT cleanups (PLIC) Alistair Francis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.