KVM: selftests: Clean up x86 page walker utilities
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | KVM: selftests: Drop helpers to read/write page table entriestools/ tools/ tools/ | +8 | 0 replies | |
| 2/7 | KVM: selftests: Drop reserved bit checks from PTE accessortools/ tools/ tools/ | +3 | 0 replies | |
| 3/7 | KVM: selftests: Remove useless shifts when creating guest page tablestools/ tools/ | +10 | 0 replies | |
| 4/7 | KVM: selftests: Verify parent PTE is PRESENT when getting child PTEtools/ | +13 | 0 replies | |
| 5/7 | KVM: selftests: Use virt_get_pte() when getting PTE pointertools/ | +6 | 0 replies | |
| 6/7 | KVM: selftests: Use vm_get_page_table_entry() in addr_arch_gva2gpa()tools/ | +4 | 0 replies | |
| 7/7 | KVM: selftests: Play nice with huge pages when getting PTEs/GPAstools/ tools/ | +47 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7]KVM: selftests: Clean up x86 page walker utilities
Clean up and dedup x86 utilities that walk page tables, e.g. to insert new mappings or to retrieve existing mappings. There's no end user that benefits from the refactoring; I did all the work thinking that I needed some super fancy test to hit an NX huge page bug...
Patch 1 has been posted by Vitaly (at my request)[*], but should be identical, i.e. the order shouldn't matter.
[*] https://lore.kernel.org/all/[email protected]
Sean Christopherson (7):
KVM: selftests: Drop helpers to read/write page table entries
KVM: selftests: Drop reserved bit checks from PTE accessor
KVM: selftests: Remove useless shifts when creating guest page tables
KVM: selftests: Verify parent PTE is PRESENT when getting child PTE
KVM: selftests: Use virt_get_pte() when getting PTE pointer
KVM: selftests: Use vm_get_page_table_entry() in addr_arch_gva2gpa()
KVM: selftests: Play nice with huge pages when getting PTEs/GPAs
.../selftests/kvm/include/x86_64/processor.h | 19 ++- .../selftests/kvm/lib/x86_64/processor.c | 159 ++++++------------ .../kvm/x86_64/emulator_error_test.c | 8 +- 3 files changed, 70 insertions(+), 116 deletions(-)
base-commit: e18d6152ff0f41b7f01f9817372022df04e0d354
Signature · 1 line
2.38.0.rc1.362.ged0d419d3c-goog