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

2024-07-22 Thread Thomas Huth
On 03/07/2024 10.19, 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 --- tar

[RFC PATCH v4 1/2] target/riscv: Add RISC-V CSR qtest support

2024-07-03 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 | 17 ++ ta