KVM: arm64: Address Translation fixes
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: arm64: Fix PAR_EL1.{PTW,S} reporting on AT S1E*arch/ | +11 | 0 replies | |
| 2/3 | KVM: arm64: Teach address translation about access faultsarch/ | +21 | 3 replies | |
| 3/3 | KVM: arm64: Don't feed uninitialised data to HCR_EL2arch/ | +4 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Joey Gouly |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] KVM: arm64: Address Translation fixes
Here's a small series of fixes for KVM's implementation of address translation (aka the AT S1* instructions), addressing a number of issues in increasing levels of severity:
- We misreport PAR_EL1.PTW in a number of occasions, including state that is not possible as per the architecture definition
- We don't handle access faults at all, and that doesn't play very well with the rest of the VNCR stuff
- AT S1E{0,1} from EL2 with HCR_EL2.{E2H,TGE}={1,1} will absolutely take the host down, no questions asked
Patches based on 6.15-rc3.
Marc Zyngier (3):
KVM: arm64: Fix PAR_EL1.{PTW,S} reporting on AT S1E*
KVM: arm64: Teach address translation about access faults
KVM: arm64: Don't feed uninitialised data to HCR_EL2
arch/arm64/kvm/at.c | 59 +++++++++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 23 deletions(-)
Signature · 1 line
2.39.2