Smepmp fixes and improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | include: sbi_domain: Fix permission test macrosinclude/ | +15 | 0 replies | |
| 2/7 | lib: sbi: Factor-out Smepmp configuration as separate functionlib/ | +110 | 0 replies | |
| 3/7 | lib: sbi: Don't clear mseccfg.MML bit in sbi_hart_smepmp_configure()lib/ | +2 | 0 replies | |
| 4/7 | lib: sbi: Fix pmp_flags for Smepmp read-only shared regionlib/ | +1 | 0 replies | |
| 5/7 | lib: sbi: Populate M-only Smepmp entries before setting mseccfg.MMLlib/ | +57 | 0 replies | |
| 6/7 | lib: utils/serial: Add shared regions for serial driverslib/ lib/ lib/ | +21 | 0 replies | |
| 7/7 | lib: utils/regmap: Mark syscon region as shared read-writelib/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/7] Smepmp fixes and improvements
This series fixes issues found when testing smepmp on Qemu and other Ventana platforms. We need to add PMP rules for those device regions (e.g UART, syscon registers) that are accessed in both M and S/U modes. Also the sequence of programming the PMP rules needs to be changed such that the M-only rules are programmed before enabling the mseccfg.MML bit.
Anup Patel (5):
lib: sbi: Factor-out Smepmp configuration as separate function
lib: sbi: Don't clear mseccfg.MML bit in sbi_hart_smepmp_configure()
lib: sbi: Fix pmp_flags for Smepmp read-only shared region
lib: sbi: Populate M-only Smepmp entries before setting mseccfg.MML
lib: utils/regmap: Mark syscon region as shared read-write
Mayuresh Chitale (2):
include: sbi_domain: Fix permission test macros
lib: utils/serial: Add shared regions for serial drivers
include/sbi/sbi_domain.h | 34 ++-- lib/sbi/sbi_hart.c | 225 ++++++++++++++++++--------- lib/utils/regmap/fdt_regmap_syscon.c | 7 + lib/utils/serial/cadence-uart.c | 6 +- lib/utils/serial/fdt_serial_htif.c | 10 ++ lib/utils/serial/uart8250.c | 7 +- 6 files changed, 197 insertions(+), 92 deletions(-)
Signature · 1 line
2.34.1