Skip to content

Commit 375a756

Browse files
aeglbp3tk0v
authored andcommitted
x86/microcode/intel: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/all/20240424181513.41829-1-tony.luck%40intel.com
1 parent 4a5f2dd commit 375a756

File tree

1 file changed

+2
-3
lines changed
  • arch/x86/kernel/cpu/microcode

1 file changed

+2
-3
lines changed

arch/x86/kernel/cpu/microcode/intel.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <linux/uio.h>
2222
#include <linux/mm.h>
2323

24-
#include <asm/intel-family.h>
24+
#include <asm/cpu_device_id.h>
2525
#include <asm/processor.h>
2626
#include <asm/tlbflush.h>
2727
#include <asm/setup.h>
@@ -577,8 +577,7 @@ static bool is_blacklisted(unsigned int cpu)
577577
* This behavior is documented in item BDF90, #334165 (Intel Xeon
578578
* Processor E7-8800/4800 v4 Product Family).
579579
*/
580-
if (c->x86 == 6 &&
581-
c->x86_model == INTEL_FAM6_BROADWELL_X &&
580+
if (c->x86_vfm == INTEL_BROADWELL_X &&
582581
c->x86_stepping == 0x01 &&
583582
llc_size_per_core > 2621440 &&
584583
c->microcode < 0x0b000021) {

0 commit comments

Comments
 (0)