summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/x86_64/processor.c
AgeCommit message (Expand)AuthorFilesLines
2023-08-03KVM: selftests: Print out guest RIP on unhandled exceptionSean Christopherson1-12/+6
2023-04-14KVM: selftests: Fix spelling mistake "perrmited" -> "permitted"Colin Ian King1-1/+1
2023-04-11KVM: selftests: Rework dynamic XFeature helper to take mask, not bitSean Christopherson1-7/+10
2023-03-25KVM: selftests: Add 'malloc' failure check in vcpu_save_stateIvan Orlov1-0/+1
2023-03-25KVM: selftests: Adjust VM's initial stack address to align with SysV ABI specAckerley Tng1-1/+17
2023-03-14KVM: selftests: Add helpers to make Xen-style VMCALL/VMMCALL hypercallsSean Christopherson1-0/+10
2023-03-14KVM: selftests: Move the guts of kvm_hypercall() to a separate macroSean Christopherson1-12/+17
2023-01-24KVM: selftests: x86: Use host's native hypercall instruction in kvm_hypercall()Vishal Annapurve1-2/+8
2023-01-24KVM: selftests: x86: Cache host CPU vendor (AMD vs. Intel)Vishal Annapurve1-2/+12
2023-01-24KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queriesVishal Annapurve1-24/+2
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-02KVM: selftests: Disallow "get supported CPUID" before REQ_XCOMP_GUEST_PERMSean Christopherson1-6/+12
2022-12-02KVM: selftests: Move __vm_xsave_require_permission() below CPUID helpersSean Christopherson1-32/+32
2022-12-02KVM: 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-17KVM: selftests: Add dedicated helpers for getting x86 Family and ModelSean Christopherson1-3/+1
2022-11-17KVM: selftests: Add kvm_cpu_*() support for X86_PROPERTY_*Sean Christopherson1-7/+10
2022-11-17KVM: selftests: Refactor kvm_cpuid_has() to prep for X86_PROPERTY_* supportSean Christopherson1-6/+13
2022-11-17KVM: selftests: Add X86_PROPERTY_* framework to retrieve CPUID valuesSean Christopherson1-10/+8
2022-11-17KVM: selftests: Add X86_FEATURE_PAE and use it calc "fallback" MAXPHYADDRSean Christopherson1-3/+1
2022-11-17KVM: selftests: Provide error code as a KVM_ASM_SAFE() outputSean Christopherson1-0/+1
2022-11-17KVM: selftests: Add arch specific post vm creation hookVishal Annapurve1-0/+5
2022-11-17KVM: selftests: Play nice with huge pages when getting PTEs/GPAsSean Christopherson1-7/+38
2022-11-17KVM: selftests: Use vm_get_page_table_entry() in addr_arch_gva2gpa()Sean Christopherson1-34/+4
2022-11-17KVM: selftests: Use virt_get_pte() when getting PTE pointerSean Christopherson1-23/+6
2022-11-17KVM: selftests: Verify parent PTE is PRESENT when getting child PTESean Christopherson1-8/+13
2022-11-17KVM: selftests: Remove useless shifts when creating guest page tablesSean Christopherson1-9/+8
2022-11-17KVM: selftests: Drop reserved bit checks from PTE accessorSean Christopherson1-25/+1
2022-11-17KVM: 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-14KVM: selftests: Use the common cpuid() helper in cpu_vendor_string_is()Sean Christopherson1-8/+2
2022-07-14KVM: selftests: Clean up requirements for XFD-aware XSAVE featuresSean Christopherson1-3/+5
2022-07-14KVM: selftests: Skip AMX test if ARCH_REQ_XCOMP_GUEST_PERM isn't supportedSean Christopherson1-8/+1
2022-07-14KVM: selftests: Check KVM's supported CPUID, not host CPUID, for XFDSean Christopherson1-17/+2
2022-07-14KVM: selftests: Inline "get max CPUID leaf" helpersSean Christopherson1-10/+0
2022-07-14KVM: selftests: Set input function/index in raw CPUID helper(s)Sean Christopherson1-9/+4
2022-07-14KVM: selftests: Make get_supported_cpuid() returns "const"Sean Christopherson1-19/+8
2022-07-14KVM: selftests: Use vCPU's CPUID directly in Hyper-V testSean Christopherson1-18/+0
2022-07-14KVM: selftests: Use vcpu_get_cpuid_entry() in PV features test (sort of)Sean Christopherson1-0/+11
2022-07-14KVM: selftests: Add and use helper to set vCPU's CPUID maxphyaddrSean Christopherson1-0/+8
2022-07-14KVM: selftests: Use vm->pa_bits to generate reserved PA bitsSean Christopherson1-6/+2
2022-07-14KVM: selftests: Add helpers to get and modify a vCPU's CPUID entriesSean Christopherson1-0/+18
2022-07-14KVM: selftests: Use get_cpuid_entry() in kvm_get_supported_cpuid_index()Sean Christopherson1-32/+0
2022-07-14KVM: selftests: Rename and tweak get_cpuid() to get_cpuid_entry()Sean Christopherson1-6/+5