[PATCH v2 0/2] Add LoongArch cpu arch_id support

Tianrui Zhao posted 2 patches 10 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230613120552.2471420-1-zhaotianrui@loongson.cn
Maintainers: Xiaojuan Yang <yangxiaojuan@loongson.cn>, Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_ipi.c   | 44 ++++++++++++++++++++++++++++++++-------
hw/loongarch/acpi-build.c | 20 ++++++++++++------
hw/loongarch/virt.c       | 35 +++++++++++++++++++++++++++++--
target/loongarch/cpu.h    |  2 ++
4 files changed, 86 insertions(+), 15 deletions(-)
[PATCH v2 0/2] Add LoongArch cpu arch_id support
Posted by Tianrui Zhao 10 months, 3 weeks ago
This patch add cpu arch_id for LoongArch:
1. Add LoongArch cpu arch_id support;
2. Fill Acpi table with arch_id;
3. set physical cpuid route for LoongArch ipi device.

changes for v2:
1. Fix core_id calculation in ms->possible_cpus, it should be
(n % smp.cores)

Tianrui Zhao (2):
  hw/loongarch/virt: Add cpu arch_id support
  hw/intc: Set physical cpuid route for LoongArch ipi device

 hw/intc/loongarch_ipi.c   | 44 ++++++++++++++++++++++++++++++++-------
 hw/loongarch/acpi-build.c | 20 ++++++++++++------
 hw/loongarch/virt.c       | 35 +++++++++++++++++++++++++++++--
 target/loongarch/cpu.h    |  2 ++
 4 files changed, 86 insertions(+), 15 deletions(-)

-- 
2.39.1