Re: [PATCH 0/2] KVM: x86: Cleanup and fix for reporting CPUID leaf 0x80000022

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/6/2025 8:57 AM, Sean Christopherson wrote:
On Tue, 04 Mar 2025 03:23:12 -0500, Xiaoyao Li wrote:
Patch 1 is a cleanup and Patch 2 is a fix. Please see the individual
patch for detail.

Xiaoyao Li (2):
   KVM: x86: Remove the unreachable case for 0x80000022 leaf in
     __do_cpuid_func()
   KVM: x86: Explicitly set eax and ebx to 0 when X86_FEATURE_PERFMON_V2
     cannot be exposed to guest

[...]

Applied patch 2 to kvm-x86 fixes and tagged it for stable, and applied patch 1
to misc.  Not zeroing eax/ebx is relatively benign, as it only affects the
!enable_pmu case, but it's most definitely a bug and the fix is about as safe
as a fix can be.

I also added quite a bit of extra information to both changelogs.

Thanks! It's much better!

Thanks!

[1/2] KVM: x86: Remove the unreachable case for 0x80000022 leaf in __do_cpuid_func()
       https://github.com/kvm-x86/linux/commit/e6c8728a8e2d
[2/2] KVM: x86: Explicitly zero EAX and EBX when PERFMON_V2 isn't supported by KVM
       https://github.com/kvm-x86/linux/commit/f9dc8fb3afc9

--
https://github.com/kvm-x86/linux/tree/next





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux