Re: [PATCH v5 10/23] target/riscv: Implement AIA CSRs for 64 local interrupts on RV32

2021-12-16 Thread Alistair Francis
On Sat, Dec 11, 2021 at 2:26 PM Anup Patel wrote: > > The AIA specification adds new CSRs for RV32 so that RISC-V hart can > support 64 local interrupts on both RV32 and RV64. > > Signed-off-by: Anup Patel Reviewed-by: Alistair Francis Alistair > --- > target/riscv/cpu.h| 14 +- > t

[PATCH v5 10/23] target/riscv: Implement AIA CSRs for 64 local interrupts on RV32

2021-12-10 Thread Anup Patel
The AIA specification adds new CSRs for RV32 so that RISC-V hart can support 64 local interrupts on both RV32 and RV64. Signed-off-by: Anup Patel --- target/riscv/cpu.h| 14 +- target/riscv/cpu_helper.c | 10 +- target/riscv/csr.c| 560 +++--- ta