qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Tianrui Zhao
Subject: [PATCH v2 0/2] Add LoongArch cpu arch_id support
Date: Tue, 13 Jun 2023 20:05:50 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]