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

2023-07-23 Thread Alistair Francis
On Tue, Jul 18, 2023 at 7:55 AM Daniel Henrique Barboza wrote: > > zicntr is the Base Counters and Timers extension described in chapter 12 > of the unprivileged spec. It describes support for RDCYCLE, RDTIME and > RDINSTRET. > > QEMU already implements it way before it was a discrete extension.

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

2023-07-17 Thread Daniel Henrique Barboza
zicntr is the Base Counters and Timers extension described in chapter 12 of the unprivileged spec. It describes support for RDCYCLE, RDTIME and RDINSTRET. QEMU already implements it way before it was a discrete extension. zicntr is part of the RVA22 profile, so let's add it to QEMU to make the