[rtl,pwrmgr] Remove CONTROL lock due to low_power_hint
@matutem is already working on this.
Since Jun 11, 2024.
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
### Description
The pwrmgr RTL locks the CONTROL CSR when low_power_hint is set. This feature is not documented and there is no record of the reason why it is implemented. This can also cause trouble, and https://github.com/lowRISC/opentitan/pull/23500 fixes one problem derived from it. This fix causes CONTROL to be locked when low_power_hint is on AND core is sleeping, so there is no way the CPU could actually write to CONTROL, and it reduces the scope of this locking to the point it may be almost useless.
In light of all this, I propose we remove the feature altogether in some future release.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.