diff options
author | Ben Gardon <bgardon@google.com> | 2020-10-14 11:26:58 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-23 03:42:15 -0400 |
commit | 95fb5b0258b7bd2d540102771e31cfd76b72aa7b (patch) | |
tree | 7ed43566385df887a20395e373948f87e32ac6f9 /kernel/module.c | |
parent | 46044f72c3826b7528339f454fe8900bae6adaaa (diff) | |
download | linux-95fb5b0258b7bd2d540102771e31cfd76b72aa7b.tar.bz2 |
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 <bgardon@google.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Message-Id: <20201014182700.2888246-19-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions