|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH v2 1/3] hw/loongarch/virt: Modify ipi as percpu device |
| Date: | Fri, 12 May 2023 19:18:23 +0200 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 |
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 <gaosong@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é <philmd@linaro.org>
| [Prev in Thread] | Current Thread | [Next in Thread] |