On 12/5/23 12:04, Song Gao wrote:
ipi is used to communicate between cpus, this patch modified
loongarch ipi device as percpu deivce, so that there are

"device"

2 MemoryRegions with ipi device, rather than 2*cpus
MemoryRegions, which may be large than QDEV_MAX_MMIO if
more cpus are added on loongarch virt machine.

Signed-off-by: Song Gao <gaos...@loongson.cn>
---
  hw/intc/loongarch_ipi.c         | 44 ++++++++++++---------------------
  hw/loongarch/virt.c             | 12 ++++-----
  include/hw/intc/loongarch_ipi.h | 10 +++-----
  include/hw/loongarch/virt.h     |  1 -
  4 files changed, 26 insertions(+), 41 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to