summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-10-10 21:23:41 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-25 19:59:08 +0300
commitfa8fe58d1e4d35e58a66dbc2a7c84bc5c0352240 (patch)
tree68bc82ae4a6eccacbd0668de3bb00a6f01d7ed62 /include
parent64d5cd99f78ec39edbc691bb332f34e6c22c32c9 (diff)
downloadlinux-fa8fe58d1e4d35e58a66dbc2a7c84bc5c0352240.tar.xz
KVM: x86/mmu: Add common helper to handle prefetching SPTEs
Deduplicate the prefetching code for indirect and direct MMUs. The core logic is the same, the only difference is that indirect MMUs need to prefetch SPTEs one-at-a-time, as contiguous guest virtual addresses aren't guaranteed to yield contiguous guest physical addresses. Tested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Sean Christopherson <seanjc@google.com> Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20241010182427.1434605-40-seanjc@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions