diff options
author | Jim Shu <jim.shu@sifive.com> | 2022-11-23 09:06:29 +0000 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-06 10:42:55 +1000 |
commit | eacd03cb9e51f98c19dc97270c9e4745f441abbe (patch) | |
tree | 1b2ed69ead1f9439c9fe87758976fbfe7ff6c6aa /io/channel-null.c | |
parent | 0c83343ba37151b0edbbc7aa6bea555c58b358cf (diff) | |
download | qemu-eacd03cb9e51f98c19dc97270c9e4745f441abbe.zip qemu-eacd03cb9e51f98c19dc97270c9e4745f441abbe.tar.gz qemu-eacd03cb9e51f98c19dc97270c9e4745f441abbe.tar.bz2 |
target/riscv: support cache-related PMU events in virtual mode
let tlb_fill() function also increments PMU counter when it is from
two-stage translation, so QEMU could also monitor these PMU events when
CPU runs in VS/VU mode (like running guest OS).
Signed-off-by: Jim Shu <jim.shu@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221123090635.6574-1-jim.shu@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'io/channel-null.c')
0 files changed, 0 insertions, 0 deletions