Re: [PATCH v7 007/120] x86/cpu: centaur/zhaoxin: Rescan CPUID(0xc0000001) after MSR writes
Borislav Petkov <[email protected]> Thu, 28 May 2026 09:49:45 -0700
| Newsgroups | dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260528164945.GCahhyKYNsDo3upTKT@fat_crate.local> |
On Thu, May 28, 2026 at 05:37:29PM +0200, Ahmed S. Darwish wrote:
> Force-enabling Centaur/Zhaoxin CPU features through MSR writes leads to the
> CPUID(0xc0000001) EDX feature flags getting changed.
>
> Rescan CPUID(0xc0000001) in that case.
Where is the new pass - cpuid_scan_cpu() or so - scan that leaf so that you
need to rescan it here?
AFAICT, the old code scans it here for the first time.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette