Re: [PATCH v2 04/13] target/riscv: Support generic CSR indirect access

2024-08-07 Thread Atish Kumar Patra
On Mon, Aug 5, 2024 at 5:15 PM Alistair Francis wrote: > > On Wed, Jul 24, 2024 at 9:32 AM Atish Patra wrote: > > > > From: Kaiwen Xue > > > > This adds the indirect access registers required by sscsrind/smcsrind > > and the operations on them. Note that xiselect and xireg are used for > > both

Re: [PATCH v2 04/13] target/riscv: Support generic CSR indirect access

2024-08-05 Thread Alistair Francis
On Wed, Jul 24, 2024 at 9:32 AM Atish Patra wrote: > > From: Kaiwen Xue > > This adds the indirect access registers required by sscsrind/smcsrind > and the operations on them. Note that xiselect and xireg are used for > both AIA and sxcsrind, and the behavior of accessing them depends on > whethe

[PATCH v2 04/13] target/riscv: Support generic CSR indirect access

2024-07-23 Thread Atish Patra
From: Kaiwen Xue This adds the indirect access registers required by sscsrind/smcsrind and the operations on them. Note that xiselect and xireg are used for both AIA and sxcsrind, and the behavior of accessing them depends on whether each extension is enabled and the value stored in xiselect. Co