aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vhost-user-gpu.c
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2022-06-20 16:15:51 -0700
committerAlistair Francis <alistair@alistair23.me>2022-07-03 10:03:20 +1000
commit562009e47c622298f82ee7557be9e15d5e50cee5 (patch)
tree131f884daff6a7abbb88405fc314ab21587394a1 /hw/display/vhost-user-gpu.c
parent2e983399186b9ff85521dd35082779a133cd9b2b (diff)
downloadqemu-562009e47c622298f82ee7557be9e15d5e50cee5.zip
qemu-562009e47c622298f82ee7557be9e15d5e50cee5.tar.gz
qemu-562009e47c622298f82ee7557be9e15d5e50cee5.tar.bz2
target/riscv: Fix PMU CSR predicate function
The predicate function calculates the counter index incorrectly for hpmcounterx. Fix the counter index to reflect correct CSR number. Fixes: e39a8320b088 ("target/riscv: Support the Virtual Instruction fault") Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Message-Id: <20220620231603.2547260-2-atishp@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/display/vhost-user-gpu.c')
0 files changed, 0 insertions, 0 deletions