]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/cpu/topology: Define AMD64_CPUID_EXT_FEAT MSR
authorK Prateek Nayak <kprateek.nayak@amd.com>
Mon, 1 Sep 2025 17:04:17 +0000 (17:04 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Sep 2025 09:24:33 +0000 (11:24 +0200)
commitbc6397cf0bc4f2b7a47cc6ac44086daf67c3c71c
tree05d752e936846b828e26f9dc0f6f8950a3d73c4e
parentd691c5f87f344a448b1a522284fa314e2bb403e2
x86/cpu/topology: Define AMD64_CPUID_EXT_FEAT MSR

Add defines for the 0xc001_1005 MSR (Core::X86::Msr::CPUID_ExtFeatures) used
to toggle the extended CPUID features, instead of using literal numbers. Also
define and use the bits necessary for an old TOPOEXT fixup on AMD Family 0x15
processors.

No functional changes intended.

  [ bp: Massage, rename MSR to adhere to the documentation name. ]

Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/20250901170418.4314-1-kprateek.nayak@amd.com
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/topology_amd.c