]> Git Repo - linux.git/commit
kvm: x86/mmu: Support MMIO in the TDP MMU
authorBen Gardon <[email protected]>
Wed, 14 Oct 2020 18:26:58 +0000 (11:26 -0700)
committerPaolo Bonzini <[email protected]>
Fri, 23 Oct 2020 07:42:15 +0000 (03:42 -0400)
commit95fb5b0258b7bd2d540102771e31cfd76b72aa7b
tree7ed43566385df887a20395e373948f87e32ac6f9
parent46044f72c3826b7528339f454fe8900bae6adaaa
kvm: x86/mmu: Support MMIO in the TDP MMU

In order to support MMIO, KVM must be able to walk the TDP paging
structures to find mappings for a given GFN. Support this walk for
the TDP MMU.

Tested by running kvm-unit-tests and KVM selftests on an Intel Haswell
machine. This series introduced no new failures.

This series can be viewed in Gerrit at:
https://linux-review.googlesource.com/c/virt/kvm/kvm/+/2538

v2: Thanks to Dan Carpenter and kernel test robot for finding that root
was used uninitialized in get_mmio_spte.

Signed-off-by: Ben Gardon <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Message-Id: <20201014182700.2888246[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/tdp_mmu.c
arch/x86/kvm/mmu/tdp_mmu.h
This page took 0.052092 seconds and 4 git commands to generate.