Home
last modified time | relevance | path

Searched hist:"5872966 db7abaa7f8753541b7a9f242df9752b50" (Results 1 – 1 of 1) sorted by relevance

/qemu/target/loongarch/kvm/
H A Dkvm.c5872966db7abaa7f8753541b7a9f242df9752b50 Sun Apr 28 03:16:51 UTC 2024 Bibo Mao <maobibo@loongson.cn> 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>