mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@intel.com>
To: ludloff@gmail.com, Borislav Petkov <bp@alien8.de>,
	"Ahmed S. Darwish" <darwi@linutronix.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>,
	Ingo Molnar <mingo@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Sean Christopherson <seanjc@google.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Sohil Mehta <sohil.mehta@intel.com>,
	John Ogness <john.ogness@linutronix.de>,
	x86@kernel.org, x86-cpuid@lists.linux.dev,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: x86 CPUID mutable return values
Date: Mon, 21 Sep 2026 14:32:04 -0700	[thread overview]
Message-ID: <f133c35f-b013-4395-ad1f-53765114d4b9@intel.com> (raw)
In-Reply-To: <CAKSQd8V28WjMcsfh05P5SNfXXvtafBH6fyiyqMzQ9GtU8fQGSA@mail.gmail.com>

On 9/21/26 11:36, Christian Ludloff wrote:
> Q for Intel: is MSR FEATURE_CONFIG 0x13C bit 1 expected
> to affect CPUID 1.ECX.25 and 7.0.ECX.9 and 19.EBX.0/2, or
> just just a subset of them? Also, what about PCLMUL?

Are you looking to document architecture or implementation here?

I poked around on a few pieces of hardware I have within reach and all
of them have the MSR FEATURE_CONFIG lock bit set and the disable bit clear.

# rdmsr -a 0x13C
1
1
1
1
...

In practice, I suspect the AESNI CPUID bits are immutable.

FEATURE_CONFIG's definitions also looks model specific in the spots I
see it in the SDM. They're also not identical, interestingly enough.

Honestly, FEATURE_CONFIG looks more like something that should have been
in the BIOS writers' guide rather than the SDM.



  reply	other threads:[~2026-09-21 21:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 18:36 Christian Ludloff
2026-09-21 21:32 ` Dave Hansen [this message]
2026-09-22  8:43   ` Christian Ludloff
2026-09-22 15:24     ` Dave Hansen
2026-09-22 18:28       ` Christian Ludloff

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=f133c35f-b013-4395-ad1f-53765114d4b9@intel.com \
    --to=dave.hansen@intel.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=bp@alien8.de \
    --cc=darwi@linutronix.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=dwmw2@infradead.org \
    --cc=hpa@zytor.com \
    --cc=john.ogness@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ludloff@gmail.com \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=seanjc@google.com \
    --cc=sohil.mehta@intel.com \
    --cc=tglx@linutronix.de \
    --cc=x86-cpuid@lists.linux.dev \
    --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®