mbox series

[v2,0/5] RISC-V: Convert the CSR access functions to use

Message ID cover.1617290165.git.alistair.francis@wdc.com (mailing list archive)
Headers show
Series RISC-V: Convert the CSR access functions to use | expand

Message

Alistair Francis April 1, 2021, 3:17 p.m. UTC
V2:
     - Renmae the enum
     - Rebase on master
     - Fix a few incorrect returns

Alistair Francis (5):
  target/riscv: Convert the RISC-V exceptions to an enum
  target/riscv: Use the RISCVException enum for CSR predicates
  target/riscv: Fix 32-bit HS mode access permissions
  target/riscv: Use the RISCVException enum for CSR operations
  target/riscv: Use RISCVException enum for CSR access

 target/riscv/cpu.h        |  28 +-
 target/riscv/cpu_bits.h   |  44 +--
 target/riscv/cpu.c        |   2 +-
 target/riscv/cpu_helper.c |   4 +-
 target/riscv/csr.c        | 740 ++++++++++++++++++++++----------------
 target/riscv/gdbstub.c    |   8 +-
 target/riscv/op_helper.c  |  18 +-
 7 files changed, 492 insertions(+), 352 deletions(-)

Comments

Alistair Francis April 7, 2021, 1:55 p.m. UTC | #1
On Thu, Apr 1, 2021 at 11:19 AM Alistair Francis
<alistair.francis@wdc.com> wrote:
>
> V2:
>      - Renmae the enum
>      - Rebase on master
>      - Fix a few incorrect returns
>
> Alistair Francis (5):
>   target/riscv: Convert the RISC-V exceptions to an enum
>   target/riscv: Use the RISCVException enum for CSR predicates
>   target/riscv: Fix 32-bit HS mode access permissions
>   target/riscv: Use the RISCVException enum for CSR operations
>   target/riscv: Use RISCVException enum for CSR access

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  target/riscv/cpu.h        |  28 +-
>  target/riscv/cpu_bits.h   |  44 +--
>  target/riscv/cpu.c        |   2 +-
>  target/riscv/cpu_helper.c |   4 +-
>  target/riscv/csr.c        | 740 ++++++++++++++++++++++----------------
>  target/riscv/gdbstub.c    |   8 +-
>  target/riscv/op_helper.c  |  18 +-
>  7 files changed, 492 insertions(+), 352 deletions(-)
>
> --
> 2.31.0
>