Skip to content

Commit 796bdbc

Browse files
authored
Merge pull request #6213 from martin-frbg/issue6027
Fix cpu name matching in the AMD EPYC blocksize override
2 parents 3561e5e + 136103e commit 796bdbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/setparam-ref.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ static void init_parameter(void) {
21322132
cpuid(0, &eax, &ebx, &ecx, &edx);
21332133

21342134
if ((ebx == 0x68747541) && (l3_kb > 0) && (l3_kb % 32768 == 0) && (l2_kb == 1024)) { //Auth AMD
2135-
if (strcmp(gotoblas_corename(), "cooperlake") == 0 || strcmp(gotoblas_corename(), "skylakex") == 0 || strcmp(gotoblas_corename(), "sapphirerapids") == 0) {
2135+
if (strcmp(gotoblas_corename(), "Cooperlake") == 0 || strcmp(gotoblas_corename(), "SkylakeX") == 0 || strcmp(gotoblas_corename(), "SapphireRapids") == 0) {
21362136

21372137
cpuid(7, &cpuid7_eax, &cpuid7_ebx, &cpuid7_ecx, &cpuid7_edx);
21382138

0 commit comments

Comments
 (0)