mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-27 09:49:46 -07:00
On Loongarch, cpucfg is register for cpu feature, some other registers depend on cpucfg feature such as perf CSR registers. Here put cpucfg read/write operations before CSR register, so that KVM knows how many perf CSR registers are valid from pre-set cpucfg feature information. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240428031651.1354587-1-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn> |
||
|---|---|---|
| .. | ||
| kvm.c | ||
| kvm_loongarch.h | ||
| meson.build | ||