On Tue, Oct 26, 2021 at 4:05 AM Atish Patra <atish.pa...@wdc.com> wrote: > > As per the privilege specification v1.11, mcountinhibit allows to start/stop > a pmu counter selectively. > > Signed-off-by: Atish Patra <atish.pa...@wdc.com> > --- > target/riscv/cpu.h | 2 ++ > target/riscv/cpu_bits.h | 4 ++++ > target/riscv/csr.c | 25 +++++++++++++++++++++++++ > target/riscv/machine.c | 5 +++-- > 4 files changed, 34 insertions(+), 2 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>