diff options
author | Sean Christopherson <seanjc@google.com> | 2022-10-06 00:45:12 +0000 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-11-16 16:58:56 -0800 |
commit | 96b69958c77d84e49c06ebe2e3502e4c1620e3c0 (patch) | |
tree | f64b7b5fbfc8e65e3d19c3feb326c4de30b40cb3 /tools/testing/selftests/kvm/lib/kvm_util.c | |
parent | efe91dc307d00766911fbcb5021bdc3a1cf9c79e (diff) | |
download | linux-96b69958c77d84e49c06ebe2e3502e4c1620e3c0.tar.bz2 |
KVM: selftests: Play nice with huge pages when getting PTEs/GPAs
Play nice with huge pages when getting PTEs and translating GVAs to GPAs,
there's no reason to disallow using huge pages in selftests. Use
PG_LEVEL_NONE to indicate that the caller doesn't care about the mapping
level and just wants to get the pte+level.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221006004512.666529-8-seanjc@google.com
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions