Re: [PATCH v2] target/riscv: Dump CSR mscratch/sscratch/satp

2021-05-20 Thread Alistair Francis
On Thu, May 20, 2021 at 1:58 AM Changbin Du wrote: > > This dumps the CSR mscratch/sscratch/satp and meanwhile aligns > the output of CSR mtval/stval. > > Signed-off-by: Changbin Du > Reviewed-by: Alistair Francis > Reviewed-by: Bin Meng Thanks! Applied to riscv-to-apply.next Alistair > > -

[PATCH v2] target/riscv: Dump CSR mscratch/sscratch/satp

2021-05-19 Thread Changbin Du
This dumps the CSR mscratch/sscratch/satp and meanwhile aligns the output of CSR mtval/stval. Signed-off-by: Changbin Du Reviewed-by: Alistair Francis Reviewed-by: Bin Meng --- v2: Rebase to latest mainline. --- target/riscv/cpu.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-)