riscv / riscv-fast-interrupt

Proposal for a RISC-V Core-Local Interrupt Controller (CLIC)
https://jira.riscv.org/browse/RVG-63
Creative Commons Attribution 4.0 International
247 stars 49 forks source link

Clarify which CLIC CSRs are accessible in non-CLIC mode #432

Open mark-honman opened 1 week ago

mark-honman commented 1 week ago

Section 3.8 of the spec "CLIC CSRs" states: Unless explicitly specified differently below, when not in CLIC mode, behavior of CLIC-only CSRs should be same as if CLIC was not implemented, so should be treated as a "reserved" operation.

[edit] mintstatus appears to be the only CLIC CSR that is stated to be accessible in non-CLIC mode. It would be helpful for the table in section 3.8 to note this in the mintstatus line for the statement quoted above to be specific, i.e. "When not in CLIC mode, behavior of CSRs introduced by this specification should be same as if CLIC was not implemented, so should be treated as a "reserved" operation. Exceptions are called out in the following table."