arm64: Missing barriers in kernel page-table updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: pi: Add an ISB after mapping the FDT in the initial ID maparch/ | +1 | 1 reply | |
| 2/3 | arm64: mm: Add an ISB after remapping the KPTI page-table slotarch/ | +1 | 1 reply | |
| 3/3 | arm64: mm: Don't defer the barriers when installing a fixmap entryarch/ | +3 | 5 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Ryan Roberts | Kevin Brodsky |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] arm64: Missing barriers in kernel page-table updates
Hi folks,
Three fixes for kernel mappings that are made valid and then used on the same CPU before an ISB, so the access can take a translation fault.
Tested on QEMU. The runtime changes to the linear map that patch 3 covers were not exercised, since they require a CPU with BBML3.
Based on Linux 7.4-rc1 (6628e7d4c6b25).
Cheers,
/fuad
Fuad Tabba (3):
arm64: pi: Add an ISB after mapping the FDT in the initial ID map
arm64: mm: Add an ISB after remapping the KPTI page-table slot
arm64: mm: Don't defer the barriers when installing a fixmap entry
arch/arm64/kernel/pi/map_kernel.c | 1 + arch/arm64/mm/fixmap.c | 4 +++- arch/arm64/mm/proc.S | 1 + 3 files changed, 5 insertions(+), 1 deletion(-)
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
Signature · 1 line
2.47.3