Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/cpu: Fix FAM5_QUARK_X1000 to use X86_MATCH_VFM()

This family 5 CPU escaped notice when cleaning up all the family 6
CPUs.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20241031185733.17327-1-tony.luck%40intel.com

authored by

Tony Luck and committed by
Dave Hansen
110213b8 e6e6a303

+4 -6
-1
arch/x86/include/asm/intel-family.h
··· 177 177 #define INTEL_XEON_PHI_KNM IFM(6, 0x85) /* Knights Mill */ 178 178 179 179 /* Family 5 */ 180 - #define INTEL_FAM5_QUARK_X1000 0x09 /* Quark X1000 SoC */ 181 180 #define INTEL_QUARK_X1000 IFM(5, 0x09) /* Quark X1000 SoC */ 182 181 183 182 /* Family 19 */
+1 -2
arch/x86/platform/efi/quirks.c
··· 656 656 } 657 657 658 658 static const struct x86_cpu_id efi_capsule_quirk_ids[] = { 659 - X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, 660 - &qrk_capsule_setup_info), 659 + X86_MATCH_VFM(INTEL_QUARK_X1000, &qrk_capsule_setup_info), 661 660 { } 662 661 }; 663 662
+1 -1
arch/x86/platform/intel-quark/imr.c
··· 569 569 } 570 570 571 571 static const struct x86_cpu_id imr_ids[] __initconst = { 572 - X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, NULL), 572 + X86_MATCH_VFM(INTEL_QUARK_X1000, NULL), 573 573 {} 574 574 }; 575 575
+1 -1
arch/x86/platform/intel-quark/imr_selftest.c
··· 105 105 } 106 106 107 107 static const struct x86_cpu_id imr_ids[] __initconst = { 108 - X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, NULL), 108 + X86_MATCH_VFM(INTEL_QUARK_X1000, NULL), 109 109 {} 110 110 }; 111 111
+1 -1
drivers/thermal/intel/intel_quark_dts_thermal.c
··· 401 401 } 402 402 403 403 static const struct x86_cpu_id qrk_thermal_ids[] __initconst = { 404 - X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, NULL), 404 + X86_MATCH_VFM(INTEL_QUARK_X1000, NULL), 405 405 {} 406 406 }; 407 407 MODULE_DEVICE_TABLE(x86cpu, qrk_thermal_ids);