[PATCH 0/3] target/loongarch: Add host CPU type support

Bibo Mao posted 3 patches 1 week, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251106084043.2453749-1-maobibo@loongson.cn
Maintainers: Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>
hw/loongarch/virt.c    |   6 ++-
target/loongarch/cpu.c | 108 ++++++++++++++++++++++++++++++++++++++++-
target/loongarch/cpu.h |  16 +++++-
3 files changed, 125 insertions(+), 5 deletions(-)
[PATCH 0/3] target/loongarch: Add host CPU type support
Posted by Bibo Mao 1 week, 1 day ago
Host CPU model is basically the same with max CPU model, except Product
ID and CPU model name. With host CPU model, Product ID comes from
cpucfg0 on host machine and CPU model from /proc/cpuinfo.

Bibo Mao (3):
  target/loongarch: Add detailed information with CPU Product ID
  target/loongarch: Add generic CPU model information
  target/loongarch: Add host CPU model in kvm mode

 hw/loongarch/virt.c    |   6 ++-
 target/loongarch/cpu.c | 108 ++++++++++++++++++++++++++++++++++++++++-
 target/loongarch/cpu.h |  16 +++++-
 3 files changed, 125 insertions(+), 5 deletions(-)


base-commit: a8e63c013016f9ff981689189c5b063551d04559
-- 
2.39.3