Skip to content

SmePMP bugfixes and improvement

Yu-Chien Peter Lin opensbi 2 versions – Applied

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

  1. v2 Latest8 patches 9 repliesApplied
  2. v18 patches 5 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8lib: sbi_hart: move sbi_hart_get_smepmp_flags() to sbi_domaininclude/sbi/sbi_domain.h lib/sbi/sbi_domain.c lib/sbi/sbi_hart.c+67 -651 reply
2/8lib: sbi_domain: allow specifying inaccessible regionlib/sbi/sbi_domain.c lib/sbi/sbi_hart.c+11 -51 reply
3/8lib: sbi_domain: print unsupported SmePMP permissionslib/sbi/sbi_domain.c+8 -01 reply
4/8lib: sbi_hart: return error when insufficient PMP entries availablelib/sbi/sbi_hart.c+16 -61 reply
5/8lib: sbi_domain: add SBI_DOMAIN_MEMREGION_FW memregion flaginclude/sbi/sbi_domain.h lib/sbi/sbi_domain.c+7 -21 reply
6/8lib: sbi_domain: ensure consistent firmware PMP entriesinclude/sbi/sbi_domain.h lib/sbi/sbi_domain.c+17 -01 reply
7/8lib: sbi: sbi_hart: track firmware PMP entries when configuring SmePMPinclude/sbi/sbi_hart.h lib/sbi/sbi_hart.c+34 -01 reply
8/8lib: sbi_domain_context: preserve firmware PMP entries during domain context switchlib/sbi/sbi_domain_context.c+4 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchAnup Patel
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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