[PATCH] target/riscv: Implement PMU CSR predicate function for U-mode

2022-09-02 Thread Aurelien Jarno
Recently the Linux kernel started to use a non default value, for the scounteren CSR, which is ignored by QEMU. Fix that by implementing the PMU CSR predicate function for U-mode. Signed-off-by: Aurelien Jarno --- target/riscv/csr.c | 49 ++ 1 file

Re: [PATCH] target/riscv: Implement PMU CSR predicate function for U-mode

2022-09-02 Thread Aurelien Jarno
On 2022-09-02 18:46, Aurelien Jarno wrote: > Recently the Linux kernel started to use a non default value, for > the scounteren CSR, which is ignored by QEMU. Fix that by implementing > the PMU CSR predicate function for U-mode. > > Signed-off-by: Aurelien Jarno > --- > target/riscv/csr.c | 49