Skip to content

Commit fb5b217

Browse files
committed
[Arm64) Revert A53 detection as A57
This patch reverts the decision of treating A53 like A57, which was based on an analysis done on server class hardware and is not representative of all A53s out there. Fixes #1855.
1 parent f1c0227 commit fb5b217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpuid_arm64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ int detect(void)
115115
fclose(infile);
116116
if(cpu_part != NULL && cpu_implementer != NULL) {
117117
if (strstr(cpu_implementer, "0x41") &&
118-
(strstr(cpu_part, "0xd07") || strstr(cpu_part,"0xd08") || strstr(cpu_part,"0xd03") ))
119-
return CPU_CORTEXA57; //or compatible A53, A72
118+
(strstr(cpu_part, "0xd07") || strstr(cpu_part,"0xd08")))
119+
return CPU_CORTEXA57; //or compatible, ex. A72
120120
else if (strstr(cpu_part, "0x516") && strstr(cpu_implementer, "0x42"))
121121
return CPU_VULCAN;
122122
else if (strstr(cpu_part, "0x0a1") && strstr(cpu_implementer, "0x43"))

0 commit comments

Comments
 (0)