summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/x86_64/processor.c
AgeCommit message (Expand)AuthorFilesLines
2022-12-27KVM: selftests: Fix a typo in x86-64's kvm_get_cpu_address_width()Sean Christopherson1-1/+1
2022-12-12Merge remote-tracking branch 'kvm/queue' into HEADPaolo Bonzini1-40/+44
2022-12-09Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini1-6/+7
2022-12-01KVM: selftests: Disallow "get supported CPUID" before REQ_XCOMP_GUEST_PERMSean Christopherson1-6/+12
2022-12-01KVM: selftests: Move __vm_xsave_require_permission() below CPUID helpersSean Christopherson1-32/+32
2022-12-01KVM: selftests: Move XFD CPUID checking out of __vm_xsave_require_permission()Lei Wang1-2/+0
2022-11-17Merge branch 'kvm-svm-harden' into HEADPaolo Bonzini1-13/+0
2022-11-17KVM: selftests: move idt_entry to headerMaxim Levitsky1-13/+0
2022-11-16KVM: selftests: Add dedicated helpers for getting x86 Family and ModelSean Christopherson1-3/+1
2022-11-16KVM: selftests: Add kvm_cpu_*() support for X86_PROPERTY_*Sean Christopherson1-7/+10
2022-11-16KVM: selftests: Refactor kvm_cpuid_has() to prep for X86_PROPERTY_* supportSean Christopherson1-6/+13
2022-11-16KVM: selftests: Add X86_PROPERTY_* framework to retrieve CPUID valuesSean Christopherson1-10/+8
2022-11-16KVM: selftests: Add X86_FEATURE_PAE and use it calc "fallback" MAXPHYADDRSean Christopherson1-3/+1
2022-11-16KVM: selftests: Provide error code as a KVM_ASM_SAFE() outputSean Christopherson1-0/+1
2022-11-16KVM: selftests: Add arch specific post vm creation hookVishal Annapurve1-0/+5
2022-11-16KVM: selftests: Play nice with huge pages when getting PTEs/GPAsSean Christopherson1-7/+38
2022-11-16KVM: selftests: Use vm_get_page_table_entry() in addr_arch_gva2gpa()Sean Christopherson1-34/+4
2022-11-16KVM: selftests: Use virt_get_pte() when getting PTE pointerSean Christopherson1-23/+6
2022-11-16KVM: selftests: Verify parent PTE is PRESENT when getting child PTESean Christopherson1-8/+13
2022-11-16KVM: selftests: Remove useless shifts when creating guest page tablesSean Christopherson1-9/+8
2022-11-16KVM: selftests: Drop reserved bit checks from PTE accessorSean Christopherson1-25/+1
2022-11-16KVM: selftests: Drop helpers to read/write page table entriesSean Christopherson1-19/+2
2022-11-10KVM: selftests: Use the right memslot for code, page-tables, and data allocat...Ricardo Koller1-6/+7
2022-09-30KVM: selftests: Fix nx_huge_pages_test on TDP-disabled hostsDavid Matlack1-0/+27
2022-09-30KVM: selftests: Add helpers to read kvm_{intel,amd} boolean module parametersDavid Matlack1-12/+1
2022-08-01selftests: kvm: set rax before vmcallAndrei Vagin1-1/+1
2022-07-13KVM: selftests: Use the common cpuid() helper in cpu_vendor_string_is()Sean Christopherson1-8/+2
2022-07-13KVM: selftests: Clean up requirements for XFD-aware XSAVE featuresSean Christopherson1-3/+5
2022-07-13KVM: selftests: Skip AMX test if ARCH_REQ_XCOMP_GUEST_PERM isn't supportedSean Christopherson1-8/+1
2022-07-13KVM: selftests: Check KVM's supported CPUID, not host CPUID, for XFDSean Christopherson1-17/+2
2022-07-13KVM: selftests: Inline "get max CPUID leaf" helpersSean Christopherson1-10/+0
2022-07-13KVM: selftests: Set input function/index in raw CPUID helper(s)Sean Christopherson1-9/+4
2022-07-13KVM: selftests: Make get_supported_cpuid() returns "const"Sean Christopherson1-19/+8
2022-07-13KVM: selftests: Use vCPU's CPUID directly in Hyper-V testSean Christopherson1-18/+0
2022-07-13KVM: selftests: Use vcpu_get_cpuid_entry() in PV features test (sort of)Sean Christopherson1-0/+11
2022-07-13KVM: selftests: Add and use helper to set vCPU's CPUID maxphyaddrSean Christopherson1-0/+8
2022-07-13KVM: selftests: Use vm->pa_bits to generate reserved PA bitsSean Christopherson1-6/+2
2022-07-13KVM: selftests: Add helpers to get and modify a vCPU's CPUID entriesSean Christopherson1-0/+18
2022-07-13KVM: selftests: Use get_cpuid_entry() in kvm_get_supported_cpuid_index()Sean Christopherson1-32/+0
2022-07-13KVM: selftests: Rename and tweak get_cpuid() to get_cpuid_entry()Sean Christopherson1-6/+5
2022-07-13KVM: selftests: Don't use a static local in vcpu_get_supported_hv_cpuid()Sean Christopherson1-3/+1
2022-07-13KVM: selftests: Cache CPUID in struct kvm_vcpuSean Christopherson1-22/+20
2022-07-13KVM: selftests: Split out kvm_cpuid2_size() from allocate_kvm_cpuid2()Sean Christopherson1-41/+7
2022-07-13KVM: selftests: Add framework to query KVM CPUID bitsSean Christopherson1-0/+22
2022-07-13KVM: selftests: Set KVM's supported CPUID as vCPU's CPUID during recreateSean Christopherson1-0/+9
2022-06-20KVM: selftests: Add x86-64 support for exception fixupSean Christopherson1-0/+17
2022-06-14KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possibleSean Christopherson1-2/+2
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson1-4/+4
2022-06-11KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson1-77/+66
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson1-1/+1