From: Xiaoyao Li <xiaoyao.li@intel.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 0/2] KVM: x86: Cleanup and fix for reporting CPUID leaf 0x80000022
Date: Thu, 6 Mar 2025 09:46:59 +0800 [thread overview]
Message-ID: <55a85e20-0871-457f-8055-10d456fc932f@intel.com> (raw)
In-Reply-To: <174110882170.40250.8746962643426198696.b4-ty@google.com>
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
prev parent reply other threads:[~2025-03-06 1:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 8:23 [PATCH 0/2] KVM: x86: Cleanup and fix for reporting CPUID leaf 0x80000022 Xiaoyao Li
2025-03-04 8:23 ` [PATCH 1/2] KVM: x86: Remove the unreachable case for 0x80000022 leaf in __do_cpuid_func() Xiaoyao Li
2025-03-04 8:23 ` [PATCH 2/2] KVM: x86: Explicitly set eax and ebx to 0 when X86_FEATURE_PERFMON_V2 cannot be exposed to guest Xiaoyao Li
2025-03-04 14:29 ` Sean Christopherson
2025-03-06 0:57 ` [PATCH 0/2] KVM: x86: Cleanup and fix for reporting CPUID leaf 0x80000022 Sean Christopherson
2025-03-06 1:46 ` Xiaoyao Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55a85e20-0871-457f-8055-10d456fc932f@intel.com \
--to=xiaoyao.li@intel.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.