diff options
author | Bibo Mao <maobibo@loongson.cn> | 2024-04-28 11:16:51 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2024-05-09 15:19:22 +0800 |
commit | 5872966db7abaa7f8753541b7a9f242df9752b50 (patch) | |
tree | a6455d53c93133bd44369dd52371f3f8a1a7fe76 /qemu-io-cmds.c | |
parent | 6f703a48410db455057cc90c170e908de83b23fc (diff) |
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>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions