arm64: Assorted MMU-on fixes
Status from this message: Applied to arm64 (for-next/fixes), thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: VHE: Enable EL2 MMU from the idmaparch/ | +26 | 0 replies | |
| 2/3 | arm64: Add missing ISB after invalidating TLB in __primary_switcharch/ | +1 | 4 replies | |
| 3/3 | arm64: Add missing ISB after invalidating TLB in enter_vhearch/ | +1 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Guillaume Tucker | Mark Rutland |
|---|---|---|
| 1/3 | T-b | |
| 2/3 | A-b | |
| 3/3 | A-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: Assorted MMU-on fixes
Guillaume (and his mate the KernelCI bot) recently reported that the new VHE enablement code lamentably fails when 64k pages are enabled. And fair enough, the code was broken to the point that it really should have never booted the first place...
The first patch fixes what amounts to a total brain fart.
The next two patches address a potential issue noted by Will, where we may be missing some ISBs when invalidating TLBs, right before enabling the MMU (I've decided the have separate patches for the two instances so that the first one can be easily backported if required).
I've tested this on my local VHE-capable machine as well as on the FVP model (with both 4k and 64k pages).
Marc Zyngier (3):
arm64: VHE: Enable EL2 MMU from the idmap
arm64: Add missing ISB after invalidating TLB in __primary_switch
arm64: Add missing ISB after invalidating TLB in enter_vhe
arch/arm64/kernel/head.S | 1 + arch/arm64/kernel/hyp-stub.S | 40 ++++++++++++++++++++++++------------ 2 files changed, 28 insertions(+), 13 deletions(-)
Signature · 7 lines
2.29.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel