File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 75
75
#define X86_FEATURE_CENTAUR_MCR ( 3*32+ 3) /* "centaur_mcr" Centaur MCRs (= MTRRs) */
76
76
#define X86_FEATURE_K8 ( 3*32+ 4) /* Opteron, Athlon64 */
77
77
#define X86_FEATURE_ZEN5 ( 3*32+ 5) /* CPU based on Zen5 microarchitecture */
78
- /* Free ( 3*32+ 6) */
78
+ #define X86_FEATURE_ZEN6 ( 3*32+ 6) /* CPU based on Zen6 microarchitecture */
79
79
/* Free ( 3*32+ 7) */
80
80
#define X86_FEATURE_CONSTANT_TSC ( 3*32+ 8) /* "constant_tsc" TSC ticks at a constant rate */
81
81
#define X86_FEATURE_UP ( 3*32+ 9) /* "up" SMP kernel running on UP */
Original file line number Diff line number Diff line change @@ -472,6 +472,11 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
472
472
case 0x60 ... 0x7f :
473
473
setup_force_cpu_cap (X86_FEATURE_ZEN5 );
474
474
break ;
475
+ case 0x50 ... 0x5f :
476
+ case 0x90 ... 0xaf :
477
+ case 0xc0 ... 0xcf :
478
+ setup_force_cpu_cap (X86_FEATURE_ZEN6 );
479
+ break ;
475
480
default :
476
481
goto warn ;
477
482
}
You can’t perform that action at this time.
0 commit comments