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
245 stars 49 forks source link

behavior/arrangement of mcliccfg.nlbits/scliccfg.nlbits/ucliccfg.nlbits #311

Closed dansmathers closed 1 year ago

dansmathers commented 1 year ago

separating additional question raised in issue #304 into a new issue: Additionally, can you please clarify the behavior of the xcliccfg.nlbits fields; specifically:

Are xcliccfg.nlbits fields independent of each other, or are they aliases of the same thing? and: If xcliccfg.nlbits fields are independent, is it the case that mcliccfg.nlbits is used to determine the level of interrupts targeting M-mode, scliccfg.nlbits is used to determine the level of interrupts targeting S-mode and ucliccfg.nlbits is used to determine the level of interrupts targeting U-mode? Thanks.

kasanovic commented 1 year ago

Reformatted cliccfg in https://github.com/riscv/riscv-fast-interrupt/commit/9d0784113d5ac87296ab4b2c1844a2e4ef833c8e

dansmathers commented 1 year ago

closed by #316 and text updates.