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
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