Add S-mode checks for delegation-related CSRs
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 4 repliesApplied
- v22 patches 4 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter
* Add cover letter
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | target/riscv: Restrict mideleg/medeleg/medelegh access to S-mode hartstarget/ | +3 | 1 reply | |
| 2/2 | target/riscv: Restrict midelegh access to S-mode hartstarget/ | +5 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Frank Chang | Alistair Francis | Nutty Liu |
|---|---|---|---|
| 1/2 | R-b | R-b | R-b |
| 2/2 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/2] Add S-mode checks for delegation-related CSRs
Patch 1 adds a predicate to restrict access to "medeleg, mideleg, and medelegh" to harts that support S-mode.
Patch 2 adds a privilege check for the "midelegh" CSR, which is defined by the AIA extension and only valid when Smaia is supported. This is enforced via an updated predicate in aia_smode32.
Change log:
V3:
* Add cover letter
Jay Chang (2):
target/riscv: Restrict mideleg/medeleg/medelegh access to S-mode harts target/riscv: Restrict midelegh access to S-mode harts
target/riscv/csr.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
Signature · 1 line
2.48.1