mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon Kohler <jon@nutanix.com>
To: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>,
	Sean Christopherson <seanjc@google.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Borislav Petkov <bp@alien8.de>,
	Peter Zijlstra <peterz@infradead.org>,
	Josh Poimboeuf <jpoimboe@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>, Ingo Molnar <mingo@redhat.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"x86@kernel.org" <x86@kernel.org>,
	"H. Peter Anvin" <hpa@zytor.com>, Brian Gerst <brgerst@gmail.com>,
	Brendan Jackman <jackmanb@google.com>,
	"Ahmed S. Darwish" <darwi@linutronix.de>,
	Alexandre Chartre <alexandre.chartre@oracle.com>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86/its: use Sapphire Rapids+ feature to opt out
Date: Mon, 20 Oct 2025 20:29:42 +0000	[thread overview]
Message-ID: <128D2BA1-AFC6-4147-9BCD-7C148DFF7A33@nutanix.com> (raw)
In-Reply-To: <20251020195331.nnnp4y4o3fyzgwvx@desk>



> On Oct 20, 2025, at 3:53 PM, Pawan Gupta <pawan.kumar.gupta@linux.intel.com> wrote:
> 
> !-------------------------------------------------------------------|
>  CAUTION: External Email
> 
> |-------------------------------------------------------------------!
> 
> On Mon, Oct 20, 2025 at 07:38:40PM +0000, Jon Kohler wrote:
>> 
>> 
>>> On Oct 20, 2025, at 3:26 PM, Pawan Gupta <pawan.kumar.gupta@linux.intel.com> wrote:
>>> 
>>> !-------------------------------------------------------------------|
>>> CAUTION: External Email
>>> 
>>> |-------------------------------------------------------------------!
>>> 
>>> On Mon, Oct 20, 2025 at 09:21:41AM -0700, Dave Hansen wrote:
>>>> On 10/20/25 09:05, Jon Kohler wrote:
>>>>> Was running into some testing issues with my qemu change internally,
>>>>> but I’ll get that out this week once I clear them.
>>>> 
>>>> BTW, if there are folks out there that are working on things like QEMU
>>>> and want more formal or regular notification from vendors that a FOO_NO
>>>> bit has been added, that can probably be arranged.
>>>> 
>>>> The real issue here is that nobody cared enough to get QEMU to
>>>> comprehend ITS_NO right after the embargo was lifted, right?
>>> 
>>> ITS_NO support was added to QEMU right after the embargo was lifted:
>>> 
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lore.kernel.org_all_8c1797e488b42650f62d816f25c58726eb522fad.1745946029.git.pawan.kumar.gupta-40linux.intel.com_&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=NGPRGGo37mQiSXgHKm5rCQ&m=VbwUoxssQYa-v84la6cXovWYpxyF8bkkceV-vYCb49Uub4S7nrlIY9X_76fNKHh4&s=4EIqw5U1jEwif_3zPCXppj9ss0-Ogv1cFVUscBE7hxU&e=
>> 
>> Pawan - I saw that, but I wasn’t able to get that to work, as the supported
>> feature checker will fail, and the VM will fail to start.
>> 
>> Specifically, kvm_arch_get_supported_msr_feature() will not show it as a
>> “supported” bit, and kick it back, and you’ll get an error like so when setting
>> -cpu … “,its-no=yes"
>> 
>> qemu-kvm: warning: host doesn't support requested feature: MSR(10AH).its-no [bit 62]
>> 
>> That’s because qemu queries KVM side, which is checking against supported
>> hardware bits. Since this doesn’t come from hardware, it goes boom.
> 
> So this check isn't working?
> 
> kvm_get_arch_capabilities()
> {
> ...
>         if (!boot_cpu_has_bug(X86_BUG_ITS))
>                 data |= ARCH_CAP_ITS_NO;

Ah! Ok, let me triple check the system under test and get back to you


  reply	other threads:[~2025-10-20 20:30 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-17  1:12 Jon Kohler
2025-10-20 15:48 ` Sean Christopherson
2025-10-20 16:05   ` Jon Kohler
2025-10-20 16:21     ` Dave Hansen
2025-10-20 16:26       ` Jon Kohler
2025-10-20 19:26       ` Pawan Gupta
2025-10-20 19:38         ` Jon Kohler
2025-10-20 19:53           ` Pawan Gupta
2025-10-20 20:29             ` Jon Kohler [this message]
2025-10-20 19:44 ` Pawan Gupta
2025-10-20 19:54   ` Jon Kohler
2025-10-20 20:40     ` Pawan Gupta
2025-10-20 21:02       ` Jon Kohler
2025-10-20 22:09       ` Dave Hansen
2025-10-20 22:41         ` Pawan Gupta
2025-10-21 13:40           ` Jon Kohler
2025-10-21 14:01             ` Dave Hansen
2025-10-21 14:39               ` Jon Kohler
2025-10-21 15:21                 ` Dave Hansen
2025-10-21 15:40                   ` Jon Kohler
2025-10-21 15:27                 ` Konrad Rzeszutek Wilk
2025-10-21 15:35                   ` Jon Kohler
2025-10-21 15:46                     ` Konrad Rzeszutek Wilk

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=128D2BA1-AFC6-4147-9BCD-7C148DFF7A33@nutanix.com \
    --to=jon@nutanix.com \
    --cc=alexandre.chartre@oracle.com \
    --cc=bp@alien8.de \
    --cc=brgerst@gmail.com \
    --cc=corbet@lwn.net \
    --cc=darwi@linutronix.de \
    --cc=dave.hansen@intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jackmanb@google.com \
    --cc=jpoimboe@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pawan.kumar.gupta@linux.intel.com \
    --cc=peterz@infradead.org \
    --cc=seanjc@google.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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

all inboxes | Powered by JetHome®