summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/x86_64/processor.c
Commit message (Expand)AuthorAgeFilesLines
* KVM: selftests: Drop @selector from segment helpersSean Christopherson2024-04-291-15/+14
* KVM: selftests: Init x86's segments during VM creationSean Christopherson2024-04-291-48/+20
* KVM: selftests: Add macro for TSS selector, rename up code/data macrosSean Christopherson2024-04-291-9/+9
* KVM: selftests: Allocate x86's TSS at VM creationSean Christopherson2024-04-291-3/+2
* KVM: selftests: Fold x86's descriptor tables helpers into vcpu_init_sregs()Sean Christopherson2024-04-291-25/+5
* KVM: selftests: Drop superfluous switch() on vm->mode in vcpu_init_sregs()Sean Christopherson2024-04-291-16/+11
* KVM: selftests: Allocate x86's GDT during VM creationSean Christopherson2024-04-291-3/+1
* KVM: selftests: Map x86's exception_handlers at VM creation, not vCPU setupSean Christopherson2024-04-291-1/+2
* KVM: selftests: Init IDT and exception handlers for all VMs/vCPUs on x86Sean Christopherson2024-04-291-2/+6
* KVM: selftests: Rename x86's vcpu_setup() to vcpu_init_sregs()Sean Christopherson2024-04-291-2/+2
* KVM: selftests: Move x86's descriptor table helpers "up" in processor.cSean Christopherson2024-04-291-96/+95
* KVM: selftests: Fix off-by-one initialization of GDT limitAckerley Tng2024-04-291-1/+1
* KVM: selftests: Move GDT, IDT, and TSS fields to x86's kvm_vm_archSean Christopherson2024-04-291-11/+11
* KVM: selftests: Add global snapshot of kvm_is_forced_emulation_enabled()Sean Christopherson2024-04-291-0/+3
* selftests: kvm: switch to using KVM_X86_*_VMPaolo Bonzini2024-04-111-5/+9
* Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2024-03-111-3/+12
|\
| * KVM: selftests: Add vcpu_set_cpuid_property() to set propertiesJinrong Liang2024-01-301-3/+12
* | Merge tag 'kvm-x86-selftests-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2024-03-111-4/+41
|\ \
| * | KVM: selftests: Add a basic SEV-ES smoke testSean Christopherson2024-02-281-1/+1
| * | KVM: selftests: Add library for creating and interacting with SEV guestsPeter Gonda2024-02-281-0/+17
| * | KVM: selftests: Allow tagging protected memory in guest page tablesPeter Gonda2024-02-281-1/+14
| * | KVM: selftests: Move setting a vCPU's entry point to a dedicated APISean Christopherson2024-02-281-3/+10
| |/
* | KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_p...Vitaly Kuznetsov2024-02-011-2/+3
* | KVM: selftests: Generalize check_clocksource() from kvm_clock_testVitaly Kuznetsov2024-02-011-0/+10
* | KVM: selftests: x86_64: Remove redundant newlinesAndrew Jones2024-01-301-5/+5
|/
* KVM: selftests: Print out guest RIP on unhandled exceptionSean Christopherson2023-08-021-12/+6
* KVM: selftests: Fix spelling mistake "perrmited" -> "permitted"Colin Ian King2023-04-141-1/+1
* KVM: selftests: Rework dynamic XFeature helper to take mask, not bitSean Christopherson2023-04-111-7/+10
* KVM: selftests: Add 'malloc' failure check in vcpu_save_stateIvan Orlov2023-03-241-0/+1
* KVM: selftests: Adjust VM's initial stack address to align with SysV ABI specAckerley Tng2023-03-241-1/+17
* KVM: selftests: Add helpers to make Xen-style VMCALL/VMMCALL hypercallsSean Christopherson2023-03-141-0/+10
* KVM: selftests: Move the guts of kvm_hypercall() to a separate macroSean Christopherson2023-03-141-12/+17
* KVM: selftests: x86: Use host's native hypercall instruction in kvm_hypercall()Vishal Annapurve2023-01-241-2/+8
* KVM: selftests: x86: Cache host CPU vendor (AMD vs. Intel)Vishal Annapurve2023-01-241-2/+12
* KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queriesVishal Annapurve2023-01-241-24/+2
* KVM: selftests: Fix a typo in x86-64's kvm_get_cpu_address_width()Sean Christopherson2022-12-271-1/+1
* Merge remote-tracking branch 'kvm/queue' into HEADPaolo Bonzini2022-12-121-40/+44
|\
| * KVM: selftests: Disallow "get supported CPUID" before REQ_XCOMP_GUEST_PERMSean Christopherson2022-12-011-6/+12
| * KVM: selftests: Move __vm_xsave_require_permission() below CPUID helpersSean Christopherson2022-12-011-32/+32
| * KVM: selftests: Move XFD CPUID checking out of __vm_xsave_require_permission()Lei Wang2022-12-011-2/+0
* | Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini2022-12-091-6/+7
|\ \ | |/ |/|
| * KVM: selftests: Use the right memslot for code, page-tables, and data allocat...Ricardo Koller2022-11-101-6/+7
* | Merge branch 'kvm-svm-harden' into HEADPaolo Bonzini2022-11-171-13/+0
|\ \
| * | KVM: selftests: move idt_entry to headerMaxim Levitsky2022-11-171-13/+0
| |/
* | KVM: selftests: Add dedicated helpers for getting x86 Family and ModelSean Christopherson2022-11-161-3/+1
* | KVM: selftests: Add kvm_cpu_*() support for X86_PROPERTY_*Sean Christopherson2022-11-161-7/+10
* | KVM: selftests: Refactor kvm_cpuid_has() to prep for X86_PROPERTY_* supportSean Christopherson2022-11-161-6/+13
* | KVM: selftests: Add X86_PROPERTY_* framework to retrieve CPUID valuesSean Christopherson2022-11-161-10/+8
* | KVM: selftests: Add X86_FEATURE_PAE and use it calc "fallback" MAXPHYADDRSean Christopherson2022-11-161-3/+1
* | KVM: selftests: Provide error code as a KVM_ASM_SAFE() outputSean Christopherson2022-11-161-0/+1