qemu/target/loongarch/kvm
Bibo Mao 5872966db7 target/loongarch: Put cpucfg operation before CSR register
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>
2024-05-09 15:19:22 +08:00
..
kvm_loongarch.h target/loongarch: Implement set vcpu intr for kvm 2024-01-11 19:22:32 +08:00
kvm.c target/loongarch: Put cpucfg operation before CSR register 2024-05-09 15:19:22 +08:00
meson.build target/loongarch: Add loongarch kvm into meson build 2024-01-11 19:22:47 +08:00