Re: [PATCH v6 10/90] x86/cpu: Rescan CPUID table after disabling PSN
Borislav Petkov <[email protected]> Wed, 13 May 2026 19:09:32 +0200
| Newsgroups | dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260513170932.GIagSwTN4oawRCcEYw@fat_crate.local> |
On Wed, May 13, 2026 at 06:51:28PM +0200, Borislav Petkov wrote:
> I guess we need to know which leaf changes when a MSR bit is toggled and
> rescan only that leaf alone.
And looking at the current code there:
/* Disabling the serial number may affect the cpuid level */
c->cpuid_level = cpuid_eax(0);
So why do you need to rescan leafs at all?
We don't have to do them now...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette