Re: [PATCH v3 04/11] target/riscv: Support generic CSR indirect access

2024-12-02 Thread Atish Kumar Patra
On Thu, Nov 28, 2024 at 3:52 AM Daniel Henrique Barboza wrote: > > > > On 11/17/24 10:15 PM, 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

Re: [PATCH v3 04/11] target/riscv: Support generic CSR indirect access

2024-11-28 Thread Richard Henderson
On 11/28/24 05:52, Daniel Henrique Barboza wrote: On 11/17/24 10:15 PM, 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 a

Re: [PATCH v3 04/11] target/riscv: Support generic CSR indirect access

2024-11-28 Thread Daniel Henrique Barboza
On 11/17/24 10:15 PM, 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 whether each extension is

[PATCH v3 04/11] target/riscv: Support generic CSR indirect access

2024-11-17 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