qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v0 0/1] fix the way riscv_plic_hart_config_string()
@ 2025-04-15  9:53 Chao Liu
  2025-04-15  9:53 ` [PATCH v0 1/1] hw/riscv: fix PLIC hart topology configuration string when not getting CPUState correctly Chao Liu
  2025-04-15 10:05 ` [PATCH v1 0/1] fix the way riscv_plic_hart_config_string() gets the CPUState Chao Liu
  0 siblings, 2 replies; 7+ messages in thread
From: Chao Liu @ 2025-04-15  9:53 UTC (permalink / raw)
  To: alistair23, palmer
  Cc: zhiwei_liu, alistair.francis, dbarboza, liwei1518, lc00631,
	zqz00548, qemu-devel, qemu-riscv

Hi, all:

When I was configuring multiple sockets using riscv virt Machine, I found that
I could not set the PLIC correctly.

By checking the code, I found that it was due to not traversing the CPUState
correctly in the riscv_plic_hart_config_string() function.

So I tried to fix this.

--
Regards,
Chao

Chao Liu (1):
  hw/riscv: fix PLIC hart topology configuration string when not getting
    CPUState correctly

 hw/riscv/boot.c            | 4 ++--
 hw/riscv/microchip_pfsoc.c | 2 +-
 hw/riscv/riscv_hart.c      | 1 +
 hw/riscv/sifive_u.c        | 5 +++--
 hw/riscv/virt.c            | 2 +-
 include/hw/riscv/boot.h    | 2 +-
 6 files changed, 9 insertions(+), 7 deletions(-)

-- 
2.48.1



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15  9:53 [PATCH v0 0/1] fix the way riscv_plic_hart_config_string() Chao Liu
2025-04-15  9:53 ` [PATCH v0 1/1] hw/riscv: fix PLIC hart topology configuration string when not getting CPUState correctly Chao Liu
2025-04-15 10:05   ` [PATCH v1 " Chao Liu
2025-04-15 10:48   ` Philippe Mathieu-Daudé
2025-04-15 11:14   ` Chao Liu
2025-04-15 11:40     ` Philippe Mathieu-Daudé
2025-04-15 10:05 ` [PATCH v1 0/1] fix the way riscv_plic_hart_config_string() gets the CPUState Chao Liu

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