Re: [RFC PATCH v2 1/2] Add RISC-V CSR qtest support

2024-06-18 Thread Thomas Huth
On 18/06/2024 08.44, Ivan Klokov wrote: The RISC-V architecture supports the creation of custom CSR-mapped devices. It would be convenient to test them in the same way as MMIO-mapped devices. To do this, a new call has been added to read/write CSR registers. Signed-off-by: Ivan Klokov --- ...

[RFC PATCH v2 1/2] Add RISC-V CSR qtest support

2024-06-17 Thread Ivan Klokov
The RISC-V architecture supports the creation of custom CSR-mapped devices. It would be convenient to test them in the same way as MMIO-mapped devices. To do this, a new call has been added to read/write CSR registers. Signed-off-by: Ivan Klokov --- target/riscv/cpu.c | 13 +