summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/x86_64/processor.c
AgeCommit message (Expand)AuthorFilesLines
2024-06-05KVM: selftests: x86: Prioritize getting max_gfn from GuestPhysBitsTao Su1-2/+13
2024-04-29KVM: selftests: Drop @selector from segment helpersSean Christopherson1-15/+14
2024-04-29KVM: selftests: Init x86's segments during VM creationSean Christopherson1-48/+20
2024-04-29KVM: selftests: Add macro for TSS selector, rename up code/data macrosSean Christopherson1-9/+9
2024-04-29KVM: selftests: Allocate x86's TSS at VM creationSean Christopherson1-3/+2
2024-04-29KVM: selftests: Fold x86's descriptor tables helpers into vcpu_init_sregs()Sean Christopherson1-25/+5
2024-04-29KVM: selftests: Drop superfluous switch() on vm->mode in vcpu_init_sregs()Sean Christopherson1-16/+11
2024-04-29KVM: selftests: Allocate x86's GDT during VM creationSean Christopherson1-3/+1
2024-04-29KVM: selftests: Map x86's exception_handlers at VM creation, not vCPU setupSean Christopherson1-1/+2
2024-04-29KVM: selftests: Init IDT and exception handlers for all VMs/vCPUs on x86Sean Christopherson1-2/+6
2024-04-29KVM: selftests: Rename x86's vcpu_setup() to vcpu_init_sregs()Sean Christopherson1-2/+2
2024-04-29KVM: selftests: Move x86's descriptor table helpers "up" in processor.cSean Christopherson1-96/+95
2024-04-29KVM: selftests: Fix off-by-one initialization of GDT limitAckerley Tng1-1/+1
2024-04-29KVM: selftests: Move GDT, IDT, and TSS fields to x86's kvm_vm_archSean Christopherson1-11/+11
2024-04-29KVM: selftests: Add global snapshot of kvm_is_forced_emulation_enabled()Sean Christopherson1-0/+3
2024-04-11selftests: kvm: switch to using KVM_X86_*_VMPaolo Bonzini1-5/+9
2024-03-11Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-3/+12
2024-03-11Merge tag 'kvm-x86-selftests-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-4/+41
2024-02-29KVM: selftests: Add a basic SEV-ES smoke testSean Christopherson1-1/+1
2024-02-29KVM: selftests: Add library for creating and interacting with SEV guestsPeter Gonda1-0/+17
2024-02-29KVM: selftests: Allow tagging protected memory in guest page tablesPeter Gonda1-1/+14
2024-02-28KVM: selftests: Move setting a vCPU's entry point to a dedicated APISean Christopherson1-3/+10
2024-02-01KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_p...Vitaly Kuznetsov1-2/+3
2024-02-01KVM: selftests: Generalize check_clocksource() from kvm_clock_testVitaly Kuznetsov1-0/+10
2024-01-31KVM: selftests: Add vcpu_set_cpuid_property() to set propertiesJinrong Liang1-3/+12
2024-01-30KVM: selftests: x86_64: Remove redundant newlinesAndrew Jones1-5/+5
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