Skip to content

Fix nested EPT when A/D bits are disabled

Peter Feiner kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86: kvm: mmu: dead code thanks to access trackingarch/x86/kvm/mmu.c+9 -210 replies
2/4x86: kvm: mmu: make spte mmio mask more explicitarch/x86/kvm/mmu.c arch/x86/kvm/mmu.h arch/x86/kvm/vmx.c +1 more+10 -60 replies
3/4kvm: x86: mmu: allow A/D bits to be disabled in an mmuarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/mmutrace.h+87 -331 reply
4/4x86: kvm: mmu: use ept a/d in vmcs02 iff used in vmcs12arch/x86/kvm/mmu.c arch/x86/kvm/vmx.c+19 -223 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Fix nested EPT when A/D bits are disabled

This patch series fixes nested EPT when A/D bits are disabled in vmcs12 but enabled in the kvm_intel module. Concretely, this series makes the vmx_ept_access_test_paddr_not_present_ad_disabled kvm-unit-test pass instead of getting stuck in an infinite loop.

I'm on vacation next week, so I won't see any feedback on this series until July 10.

Thanks for reviewing!

Peter

*** BLURB HERE ***

Peter Feiner (4):
x86: kvm: mmu: dead code thanks to access tracking
x86: kvm: mmu: make spte mmio mask more explicit
kvm: x86: mmu: allow A/D bits to be disabled in an mmu
x86: kvm: mmu: use ept a/d in vmcs02 iff used in vmcs12

 arch/x86/include/asm/kvm_host.h |   3 +-
 arch/x86/kvm/mmu.c              | 151 ++++++++++++++++++++++++++--------------
 arch/x86/kvm/mmu.h              |   2 +-
 arch/x86/kvm/mmutrace.h         |   6 +-
 arch/x86/kvm/vmx.c              |  43 ++++++------
 arch/x86/kvm/x86.c              |   2 +-
 6 files changed, 125 insertions(+), 82 deletions(-)
Signature · 1 line
2.13.2.725.g09c95d1e9-goog