qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Xiaoyao Li <xiaoyao.li@intel.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH] i386/tdx: Don't mask off CPUID_EXT_PDCM
Date: Fri, 11 Jul 2025 10:58:32 +0200	[thread overview]
Message-ID: <20250711085831.459772-2-pbonzini@redhat.com> (raw)
In-Reply-To: <20250625035710.2770679-1-xiaoyao.li@intel.com>

> It gets below warning when booting TDX VMs:
> 
>   warning: TDX forcibly sets the feature: CPUID[eax=01h].ECX.pdcm [bit 15]
> 
> Because CPUID_EXT_PDCM is fixed1 for TDX, and MSR_IA32_PERF_CAPABILITIES is
> supported for TDX guest unconditioanlly.
> 
> Don't mask off CPUID_EXT_PDCM for TDX.

It makes little sense for the TDX module to do this, but I don't see
any nicer way to comply. :(

Queued, thanks.

Paolo



      parent reply	other threads:[~2025-07-11  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-25  3:57 [PATCH] i386/tdx: Don't mask off CPUID_EXT_PDCM Xiaoyao Li
2025-06-27  8:44 ` Zhao Liu
2025-07-11  8:58 ` Paolo Bonzini [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=20250711085831.459772-2-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xiaoyao.li@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).