summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorLines
2024-12-18KVM: x86: Always operate on kvm_vcpu data in cpuid_entry2_find()Sean Christopherson-41/+21
2024-12-18KVM: x86: Remove unnecessary caching of KVM's PV CPUID baseSean Christopherson-27/+8
2024-12-18KVM: x86: Clear PV_UNHALT for !HLT-exiting only when userspace sets CPUIDSean Christopherson-17/+11
2024-12-18KVM: x86: Swap incoming guest CPUID into vCPU before massaging in KVM_SET_CPUID2Sean Christopherson-22/+32
2024-12-18KVM: x86: Add a macro to init CPUID features that KVM emulates in softwareSean Christopherson-9/+17
2024-12-18KVM: x86: Add a macro to init CPUID features that ignore host kernel supportSean Christopherson-4/+16
2024-12-18KVM: x86: Harden CPU capabilities processing against out-of-scope featuresSean Christopherson-17/+36
2024-12-18KVM: x86: #undef SPEC_CTRL_SSBD in cpuid.c to avoid macro collisionsSean Christopherson-0/+6
2024-12-18KVM: x86: Handle kernel- and KVM-defined CPUID words in a single helperSean Christopherson-30/+16
2024-12-18KVM: x86: Add a macro to precisely handle aliased 0x1.EDX CPUID featuresSean Christopherson-18/+29
2024-12-18KVM: x86: Add a macro to init CPUID features that are 64-bit onlySean Christopherson-12/+10
2024-12-18KVM: x86: Rename kvm_cpu_cap_mask() to kvm_cpu_cap_init()Sean Christopherson-17/+17
2024-12-18KVM: x86: Unpack F() CPUID feature flag macros to one flag per line of codeSean Christopherson-64/+231
2024-12-18KVM: x86: Account for max supported CPUID leaf when getting raw host CPUIDSean Christopherson-5/+24
2024-12-18KVM: x86: Do reverse CPUID sanity checks in __feature_leaf()Sean Christopherson-5/+4
2024-12-18KVM: x86: Don't update PV features caches when enabling enforcement capabilitySean Christopherson-5/+1
2024-12-18KVM: x86: Zero out PV features cache when the CPUID leaf is not presentSean Christopherson-0/+2
2024-12-18KVM: selftests: Update x86's KVM PV test to match KVM's disabling exits behaviorSean Christopherson-3/+30
2024-12-18KVM: selftests: Fix a bad TEST_REQUIRE() in x86's KVM PV testSean Christopherson-2/+3
2024-12-18KVM: x86: Drop the now unused KVM_X86_DISABLE_VALID_EXITSSean Christopherson-4/+0
2024-12-18KVM: x86: Reject disabling of MWAIT/HLT interception when not allowedSean Christopherson-26/+28
2024-12-18KVM: x86: Disallow KVM_CAP_X86_DISABLE_EXITS after vCPU creationSean Christopherson-0/+7
2024-12-18KVM: x86: Drop now-redundant MAXPHYADDR and GPA rsvd bits from vCPU creationSean Christopherson-3/+0
2024-12-18KVM: x86/pmu: Drop now-redundant refresh() during init()Sean Christopherson-1/+0
2024-12-18KVM: x86: Move __kvm_is_valid_cr4() definition to x86.hSean Christopherson-10/+5
2024-12-18KVM: selftests: Verify KVM stuffs runtime CPUID OS bits on CR4 writesSean Christopherson-0/+10
2024-12-18KVM: selftests: Refresh vCPU CPUID cache in __vcpu_get_cpuid_entry()Sean Christopherson-7/+9
2024-12-18KVM: selftests: Assert that vcpu->cpuid is non-NULL when getting CPUID entriesSean Christopherson-0/+2
2024-12-18KVM: selftests: Update x86's set_sregs_test to match KVM's CPUID enforcementSean Christopherson-23/+30
2024-12-18KVM: x86: Account for KVM-reserved CR4 bits when passing through CR4 on VMXSean Christopherson-11/+5
2024-12-18KVM: x86: Explicitly do runtime CPUID updates "after" initial setupSean Christopherson-2/+16
2024-12-18KVM: x86: Do all post-set CPUID processing during vCPU creationSean Christopherson-1/+3
2024-12-18KVM: x86: Limit use of F() and SF() to kvm_cpu_cap_{mask,init_kvm_defined}()Sean Christopherson-14/+17
2024-12-18KVM: x86: Use feature_bit() to clear CONSTANT_TSC when emulating CPUIDSean Christopherson-1/+1
2024-12-18KVM: selftests: Override ARCH for x86_64 instead of using ARCH_DIRSean Christopherson-13/+11
2024-12-18KVM: selftests: Use canonical $(ARCH) paths for KVM selftests directoriesSean Christopherson-212/+176
2024-12-18KVM: selftests: Provide empty 'all' and 'clean' targets for unsupported ARCHsSean Christopherson-331/+340
2024-12-18KVM: selftests: Verify KVM correctly handles mprotect(PROT_READ)Sean Christopherson-3/+101
2024-12-18KVM: selftests: Add a read-only mprotect() phase to mmu_stress_testSean Christopherson-4/+18
2024-12-18KVM: selftests: Precisely limit the number of guest loops in mmu_stress_testSean Christopherson-6/+19
2024-12-18KVM: selftests: Use vcpu_arch_put_guest() in mmu_stress_testSean Christopherson-1/+1
2024-12-18KVM: selftests: Enable mmu_stress_test on arm64Sean Christopherson-0/+1
2024-12-18KVM: sefltests: Explicitly include ucall_common.h in mmu_stress_test.cSean Christopherson-0/+1
2024-12-18KVM: selftests: Compute number of extra pages needed in mmu_stress_testSean Christopherson-1/+7
2024-12-18KVM: selftests: Only muck with SREGS on x86 in mmu_stress_testSean Christopherson-3/+3
2024-12-18KVM: selftests: Rename max_guest_memory_test to mmu_stress_testSean Christopherson-1/+1
2024-12-18KVM: selftests: Check for a potential unhandled exception iff KVM_RUN succeededSean Christopherson-1/+2
2024-12-18KVM: selftests: Assert that vcpu_{g,s}et_reg() won't truncateSean Christopherson-0/+4
2024-12-18KVM: selftests: Return a value from vcpu_get_reg() instead of using an out-paramSean Christopherson-81/+81
2024-12-17KVM: Move KVM_REG_SIZE() definition to common uAPI headerSean Christopherson-6/+4