riscv: add all available CSRs to 'info registers'
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target/riscv/cpu: add riscv_dump_csr() helpertarget/ | +22 | 1 reply | |
| 2/3 | target/riscv/cpu: print all FPU CSRs in riscv_cpu_dump_state()target/ | +2 | 1 reply | |
| 3/3 | target/riscv: print all available CSRs in riscv_cpu_dump_state()target/ target/ target/ | +39 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Francis |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] riscv: add all available CSRs to 'info registers'
Hi,
The output of HMP 'info registers', implemented by the cpu_dump_state callback, returns way less CSRs than what we have available in the default rv64 CPU with default options.
This series changes the callback to add all available non-vector CSRs when issuing 'info registers'. The vector CSRs are being handled by another patch [1].
Patches based on alistair/riscv-to-apply.next.
[1] https://lore.kernel.org/qemu-riscv/[email protected]/
Daniel Henrique Barboza (3):
target/riscv/cpu: add riscv_dump_csr() helper target/riscv/cpu: print all FPU CSRs in riscv_cpu_dump_state() target/riscv: print all available CSRs in riscv_cpu_dump_state()
target/riscv/cpu.c | 107 +++++++++++++++++---------------------------- target/riscv/cpu.h | 2 + target/riscv/csr.c | 18 ++++++++ 3 files changed, 61 insertions(+), 66 deletions(-)
Signature · 1 line
2.49.0