Prevalence of modifying PMP registers via CSR clear instructions in Ibex software
Ascertain how frequently RISC-V software targeting the Ibex core modifies Physical Memory Protection (PMP) registers using CSR clear instructions (e.g., CSRRC/CSRRCI) in practice, to clarify how often the discovered pipeline-flush hazard could be encountered in real code paths.
Sponsor
References
It is unclear how likely changing PMP registers with CSR clear instructions is.
— Comprehensive Formal Verification of Observational Correctness for the CHERIoT-Ibex Processor
(2502.04738 - Ploix et al., 7 Feb 2025) in Section: Design Bugs Revealed (vanilla Ibex PMP bug)