Re: [PATCH v2 03/13] target/riscv: Enable S*stateen bits for AIA

2024-08-07 Thread Atish Kumar Patra
On Mon, Aug 5, 2024 at 5:12 PM Alistair Francis wrote: > > On Wed, Jul 24, 2024 at 9:31 AM Atish Patra wrote: > > > > As per the ratified AIA spec v1.0, three stateen bits control AIA CSR > > access. > > > > Bit 60 controls the indirect CSRs > > Bit 59 controls the most AIA CSR state > > Bit 58 c

Re: [PATCH v2 03/13] target/riscv: Enable S*stateen bits for AIA

2024-08-05 Thread Alistair Francis
On Wed, Jul 24, 2024 at 9:31 AM Atish Patra wrote: > > As per the ratified AIA spec v1.0, three stateen bits control AIA CSR > access. > > Bit 60 controls the indirect CSRs > Bit 59 controls the most AIA CSR state > Bit 58 controls the IMSIC state such as stopei and vstopei > > Enable the correspo

[PATCH v2 03/13] target/riscv: Enable S*stateen bits for AIA

2024-07-23 Thread Atish Patra
As per the ratified AIA spec v1.0, three stateen bits control AIA CSR access. Bit 60 controls the indirect CSRs Bit 59 controls the most AIA CSR state Bit 58 controls the IMSIC state such as stopei and vstopei Enable the corresponding bits in [m|h]stateen and enable corresponding checks in the CS