KVM: arm64: nv: Even more VNCR fixes
Status from this message: Applied to fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 3 repliesApplied
- v2 posting 2/25 patches 4 repliesSuperseded
- v2 posting 1/25 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 0 replies | Superseded |
Changes in v3 from the cover letter
- Avoid evaluating permissions in case of early return / higher priority fault (Marc)
- Drop BUG_ON() from VNCR abort injetion path (Marc)
- Ensure is_gmem is always initialized (Sashiko)
- Return EINVAL for SEAs due to memory attribute mismatch, avoiding confusion with gmem memory fault exits (Sashiko)
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: arm64: nv: Respect read-only PFN when mapping L1 VNCRarch/ | +26 | 1 reply | |
| 2/5 | KVM: arm64: nv: Inject SEA if kvm_translate_vncr() can't resolve PFNarch/ arch/ arch/ | +14 | 0 replies | |
| 3/5 | KVM: arm64: nv: Re-translate VNCR before injecting abortarch/ | +42 | 1 reply | |
| 4/5 | KVM: arm64: nv: Inject SEA if guest VNCR isn't normal memoryarch/ | +11 | 0 replies | |
| 5/5 | KVM: arm64: nv: Mark VM as bugged for unexpected VNCR abortarch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/5] KVM: arm64: nv: Even more VNCR fixes
Addressing most of the issues that came up with v2. Of note, I left Sashiko's (valid) feedback about HWPOISON PFNs not signalling userspace unaddressed because it requires untangling the return code mess a bit. That and the bugs fixed in this series are quite a bit worse :)
Applies to kvmarm/fixes.
v2 -> v3:
- Avoid evaluating permissions in case of early return / higher priority fault (Marc)
- Drop BUG_ON() from VNCR abort injetion path (Marc)
- Ensure is_gmem is always initialized (Sashiko)
- Return EINVAL for SEAs due to memory attribute mismatch, avoiding confusion with gmem memory fault exits (Sashiko)
Oliver Upton (5):
KVM: arm64: nv: Respect read-only PFN when mapping L1 VNCR
KVM: arm64: nv: Inject SEA if kvm_translate_vncr() can't resolve PFN
KVM: arm64: nv: Re-translate VNCR before injecting abort
KVM: arm64: nv: Inject SEA if guest VNCR isn't normal memory
KVM: arm64: nv: Mark VM as bugged for unexpected VNCR abort
arch/arm64/include/asm/kvm_nested.h | 8 ++ arch/arm64/kvm/at.c | 8 -- arch/arm64/kvm/nested.c | 164 ++++++++++++++-------------- 3 files changed, 91 insertions(+), 89 deletions(-)
base-commit: fcda30b134d262a1b1826555352bd7349051486e
Signature · 1 line
2.47.3