Re: [PATCH v4 5/6] target/riscv: Add *envcfg* CSRs support

2022-03-03 Thread Atish Patra
On Tue, Feb 22, 2022 at 8:34 PM Alistair Francis wrote: > > On Wed, Feb 23, 2022 at 8:09 AM Atish Patra wrote: > > > > The RISC-V privileged specification v1.12 defines few execution > > environment configuration CSRs that can be used enable/disable > > extensions per privilege levels. > > > > Ad

Re: [PATCH v4 5/6] target/riscv: Add *envcfg* CSRs support

2022-02-22 Thread Alistair Francis
On Wed, Feb 23, 2022 at 8:09 AM Atish Patra wrote: > > The RISC-V privileged specification v1.12 defines few execution > environment configuration CSRs that can be used enable/disable > extensions per privilege levels. > > Add the basic support for these CSRs. > > Signed-off-by: Atish Patra Do y

Re: [PATCH v4 5/6] target/riscv: Add *envcfg* CSRs support

2022-02-22 Thread Alistair Francis
On Wed, Feb 23, 2022 at 8:09 AM Atish Patra wrote: > > The RISC-V privileged specification v1.12 defines few execution > environment configuration CSRs that can be used enable/disable > extensions per privilege levels. > > Add the basic support for these CSRs. > > Signed-off-by: Atish Patra Revi

[PATCH v4 5/6] target/riscv: Add *envcfg* CSRs support

2022-02-22 Thread Atish Patra
The RISC-V privileged specification v1.12 defines few execution environment configuration CSRs that can be used enable/disable extensions per privilege levels. Add the basic support for these CSRs. Signed-off-by: Atish Patra --- target/riscv/cpu.h | 5 ++ target/riscv/cpu_bits.h | 39 ++