aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/kvm/cpuid.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2025-04-04KVM: x86: Explicitly zero-initialize on-stack CPUID unionsSean Christopherson1-5/+3
2025-03-19Merge tag 'kvm-x86-xen-6.15' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-0/+16
2025-03-19Merge tag 'kvm-x86-misc-6.15' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-26/+28
2025-03-04KVM: x86: Remove the unreachable case for 0x80000022 leaf in __do_cpuid_func()Xiaoyao Li1-7/+1
2025-03-04KVM: x86: Explicitly zero EAX and EBX when PERFMON_V2 isn't supported by KVMXiaoyao Li1-1/+1
2025-02-25KVM: x86: Update Xen TSC leaves during CPUID emulationFred Griffoul1-0/+16
2025-02-12KVM: x86: Defer runtime updates of dynamic CPUID bits until CPUID emulationSean Christopherson1-2/+10
2025-02-12KVM: x86: Apply TSX_CTRL_CPUID_CLEAR if and only if the vCPU has RTM or HLESean Christopherson1-1/+2
2025-02-12KVM: x86: Use for-loop to iterate over XSTATE size entriesSean Christopherson1-15/+14
2025-02-12KVM: x86/cpuid: add type suffix to decimal const 48 fix building warningEthan Zhao1-1/+1
2025-02-04kvm: x86: SRSO_USER_KERNEL_NO is not synthesizedPaolo Bonzini1-1/+1
2025-01-25Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-309/+663
2024-12-30KVM: x86: Advertise SRSO_USER_KERNEL_NO to userspaceBorislav Petkov (AMD)1-1/+1
2024-12-18KVM: x86: Use only local variables (no bitmask) to init kvm_cpu_capsSean Christopherson1-268/+273
2024-12-18KVM: x86: Explicitly track feature flags that are enabled at runtimeSean Christopherson1-4/+17
2024-12-18KVM: x86: Explicitly track feature flags that require vendor enablingSean Christopherson1-16/+43
2024-12-18KVM: x86: Rename "SF" macro to "SCATTERED_F"Sean Christopherson1-6/+6
2024-12-18KVM: x86: Pull CPUID capabilities from boot_cpu_data only as neededSean Christopherson1-8/+7
2024-12-18KVM: x86: Add a macro for features that are synthesized into boot_cpu_dataSean Christopherson1-19/+30
2024-12-18KVM: x86: Replace (almost) all guest CPUID feature queries with cpu_capsSean Christopherson1-2/+2
2024-12-18KVM: x86: Update guest cpu_caps at runtime for dynamic CPUID-based featuresSean Christopherson1-9/+19
2024-12-18KVM: x86: Update OS{XSAVE,PKE} bits in guest CPUID irrespective of host supportSean Christopherson1-5/+3
2024-12-18KVM: x86: Drop unnecessary check that cpuid_entry2_find() returns right leafSean Christopherson1-1/+1
2024-12-18KVM: x86: Avoid double CPUID lookup when updating MWAIT at runtimeSean Christopherson1-8/+5
2024-12-18KVM: x86: Initialize guest cpu_caps based on KVM supportSean Christopherson1-1/+14
2024-12-18KVM: x86: Treat MONTIOR/MWAIT as a "partially emulated" featureSean Christopherson1-2/+13
2024-12-18KVM: x86: Extract code for generating per-entry emulated CPUID informationSean Christopherson1-13/+13
2024-12-18KVM: x86: Initialize guest cpu_caps based on guest CPUIDSean Christopherson1-2/+44
2024-12-18KVM: x86: Replace guts of "governed" features with comprehensive cpu_capsSean Christopherson1-3/+11
2024-12-18KVM: x86: Rename "governed features" helpers to use "guest_cpu_cap"Sean Christopherson1-1/+1
2024-12-18KVM: x86: Advertise HYPERVISOR in KVM_GET_SUPPORTED_CPUIDSean Christopherson1-1/+2
2024-12-18KVM: x86: Advertise TSC_DEADLINE_TIMER in KVM_GET_SUPPORTED_CPUIDSean Christopherson1-1/+1
2024-12-18KVM: x86: Remove all direct usage of cpuid_entry2_find()Sean Christopherson1-12/+16
2024-12-18KVM: x86: Move kvm_find_cpuid_entry{,_index}() up near cpuid_entry2_find()Sean Christopherson1-14/+14
2024-12-18KVM: x86: Always operate on kvm_vcpu data in cpuid_entry2_find()Sean Christopherson1-41/+21
2024-12-18KVM: x86: Remove unnecessary caching of KVM's PV CPUID baseSean Christopherson1-26/+8
2024-12-18KVM: x86: Clear PV_UNHALT for !HLT-exiting only when userspace sets CPUIDSean Christopherson1-17/+11
2024-12-18KVM: x86: Swap incoming guest CPUID into vCPU before massaging in KVM_SET_CPUID2Sean Christopherson1-22/+32
2024-12-18KVM: x86: Add a macro to init CPUID features that KVM emulates in softwareSean Christopherson1-9/+17
2024-12-18KVM: x86: Add a macro to init CPUID features that ignore host kernel supportSean Christopherson1-4/+16
2024-12-18KVM: x86: Harden CPU capabilities processing against out-of-scope featuresSean Christopherson1-17/+36
2024-12-18KVM: x86: #undef SPEC_CTRL_SSBD in cpuid.c to avoid macro collisionsSean Christopherson1-0/+6
2024-12-18KVM: x86: Handle kernel- and KVM-defined CPUID words in a single helperSean Christopherson1-30/+16
2024-12-18KVM: x86: Add a macro to precisely handle aliased 0x1.EDX CPUID featuresSean Christopherson1-18/+29
2024-12-18KVM: x86: Add a macro to init CPUID features that are 64-bit onlySean Christopherson1-12/+10
2024-12-18KVM: x86: Rename kvm_cpu_cap_mask() to kvm_cpu_cap_init()Sean Christopherson1-17/+17
2024-12-18KVM: x86: Unpack F() CPUID feature flag macros to one flag per line of codeSean Christopherson1-64/+231
2024-12-18KVM: x86: Account for max supported CPUID leaf when getting raw host CPUIDSean Christopherson1-5/+24
2024-12-18KVM: x86: Don't update PV features caches when enabling enforcement capabilitySean Christopherson1-1/+1
2024-12-18KVM: x86: Zero out PV features cache when the CPUID leaf is not presentSean Christopherson1-0/+2