hw/intc: Set physical cpuid route for LoongArch ipi device
authorTianrui Zhao <zhaotianrui@loongson.cn>
Wed, 17 May 2023 01:22:00 +0000 (09:22 +0800)
committerSong Gao <gaosong@loongson.cn>
Fri, 16 Jun 2023 09:58:46 +0000 (17:58 +0800)
commit758a7475663f36d0d411e9cb4199b6c543152f8a
tree624830723d62a446c81099fa3f53173c5d7c9a21
parent8f30771ce61b0290fdb00b4cdbbc514723008a12
hw/intc: Set physical cpuid route for LoongArch ipi device

LoongArch ipi device uses physical cpuid to route to different
vcpus rather logical cpuid, and the physical cpuid is the same
with cpuid in acpi dsdt and srat table.

Reviewed-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230613120552.2471420-3-zhaotianrui@loongson.cn>
hw/intc/loongarch_ipi.c
hw/loongarch/virt.c
target/loongarch/cpu.h