Skip to content

Commit 110213b

Browse files
aeglhansendc
authored andcommitted
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 <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Link: https://lore.kernel.org/all/20241031185733.17327-1-tony.luck%40intel.com
1 parent e6e6a30 commit 110213b

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

arch/x86/include/asm/intel-family.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@
177177
#define INTEL_XEON_PHI_KNM IFM(6, 0x85) /* Knights Mill */
178178

179179
/* Family 5 */
180-
#define INTEL_FAM5_QUARK_X1000 0x09 /* Quark X1000 SoC */
181180
#define INTEL_QUARK_X1000 IFM(5, 0x09) /* Quark X1000 SoC */
182181

183182
/* Family 19 */

arch/x86/platform/efi/quirks.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,7 @@ static int qrk_capsule_setup_info(struct capsule_info *cap_info, void **pkbuff,
656656
}
657657

658658
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),
661660
{ }
662661
};
663662

arch/x86/platform/intel-quark/imr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ static void __init imr_fixup_memmap(struct imr_device *idev)
569569
}
570570

571571
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),
573573
{}
574574
};
575575

arch/x86/platform/intel-quark/imr_selftest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static void __init imr_self_test(void)
105105
}
106106

107107
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),
109109
{}
110110
};
111111

drivers/thermal/intel/intel_quark_dts_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ static struct soc_sensor_entry *alloc_soc_dts(void)
401401
}
402402

403403
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),
405405
{}
406406
};
407407
MODULE_DEVICE_TABLE(x86cpu, qrk_thermal_ids);

0 commit comments

Comments
 (0)