]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Add HiSilicon's 0x48/0xd40 Cortex-A76 variant.
authorThomasKaiser <ThomasKaiser@users.noreply.github.com>
Sun, 22 Jan 2023 09:36:01 +0000 (10:36 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Jan 2023 09:36:01 +0000 (10:36 +0100)
Both Kirin 980 and Kirin 810 feature big cores with 0x48/0xd40 ID though they are marketed/documented as Cortex-A76 by HiSilicon themselves. Kirin 980 shows a r1p0 stepping while newer 810 has r3p0.

  * https://github.com/deater/test_proc/blob/master/arm64/arm64.v8.0x41.0xd05.0x48.0xd40.huawei_mate_20#L37-L71
  * https://github.com/termux/proot/issues/190#issuecomment-927013509

sys-utils/lscpu-arm.c

index d7bec8dc2b94fbcfa4c406a66488150d7ffb5a86..8357253c66c6a1c7a6e00e71915fabdc7907f6cf 100644 (file)
@@ -218,6 +218,7 @@ static const struct id_part fujitsu_part[] = {
 
 static const struct id_part hisi_part[] = {
     { 0xd01, "Kunpeng-920" },  /* aka tsv110 */
+    { 0xd40, "Cortex-A76" },   /* HiSilicon uses this ID though advertises A76 */
     { -1, "unknown" },
 };