Re: [PATCH for-8.2 2/2] target/riscv/cpu.c: add zihpm extension flag

2023-07-23 Thread Alistair Francis
On Tue, Jul 18, 2023 at 7:55 AM Daniel Henrique Barboza wrote: > > zihpm is the Hardware Performance Counters extension described in > chapter 12 of the unprivileged spec. It describes support for 29 > unprivileged performance counters, hpmcounter3-hpmcounter21. > > As with zicntr, QEMU already

[PATCH for-8.2 2/2] target/riscv/cpu.c: add zihpm extension flag

2023-07-17 Thread Daniel Henrique Barboza
zihpm is the Hardware Performance Counters extension described in chapter 12 of the unprivileged spec. It describes support for 29 unprivileged performance counters, hpmcounter3-hpmcounter21. As with zicntr, QEMU already implements zihpm before it was even an extension. zihpm is also part of the