SmePMP bugfixes and improvement
Status from this message: Applied this series to the riscv/opensbi repo.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 9 repliesApplied
- v18 patches 5 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | lib: sbi_hart: move sbi_hart_get_smepmp_flags() to sbi_domaininclude/ lib/ lib/ | +67 | 1 reply | |
| 2/8 | lib: sbi_domain: allow specifying inaccessible regionlib/ lib/ | +11 | 1 reply | |
| 3/8 | lib: sbi_domain: print unsupported SmePMP permissionslib/ | +8 | 1 reply | |
| 4/8 | lib: sbi_hart: return error when insufficient PMP entries availablelib/ | +16 | 1 reply | |
| 5/8 | lib: sbi_domain: add SBI_DOMAIN_MEMREGION_FW memregion flaginclude/ lib/ | +7 | 1 reply | |
| 6/8 | lib: sbi_domain: ensure consistent firmware PMP entriesinclude/ lib/ | +17 | 1 reply | |
| 7/8 | lib: sbi: sbi_hart: track firmware PMP entries when configuring SmePMPinclude/ lib/ | +34 | 1 reply | |
| 8/8 | lib: sbi_domain_context: preserve firmware PMP entries during domain context switchlib/ | +4 | 1 reply |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Anup Patel |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] SmePMP bugfixes and improvement
This series improves SmePMP related functions and fixes the access fault during domain context switch when SmePMP is enabled.
Yu-Chien Peter Lin (8):
lib: sbi_hart: move sbi_hart_get_smepmp_flags() to sbi_domain
lib: sbi_domain: allow specifying inaccessible region
lib: sbi_domain: print unsupported SmePMP permissions
lib: sbi_hart: return error when insufficient PMP entries available
lib: sbi_domain: add SBI_DOMAIN_MEMREGION_FW memregion flag
lib: sbi_domain: ensure consistent firmware PMP entries
lib: sbi: sbi_hart: track firmware PMP entries when configuring SmePMP
lib: sbi_domain_context: preserve firmware PMP entries during domain
context switch
include/sbi/sbi_domain.h | 11 ++++ include/sbi/sbi_hart.h | 1 + lib/sbi/sbi_domain.c | 98 ++++++++++++++++++++++++++++- lib/sbi/sbi_domain_context.c | 4 ++ lib/sbi/sbi_hart.c | 116 ++++++++++++++--------------------- 5 files changed, 158 insertions(+), 72 deletions(-)
Signature · 7 lines
2.48.0 -- opensbi mailing list [email protected] http://lists.infradead.org/mailman/listinfo/opensbi