From 50bcc6730b8d915c8845561ff8081b342ee937e9 Mon Sep 17 00:00:00 2001 From: ThomasKaiser Date: Sun, 22 Jan 2023 10:36:01 +0100 Subject: [PATCH] Add HiSilicon's 0x48/0xd40 Cortex-A76 variant. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c index d7bec8dc2b..8357253c66 100644 --- a/sys-utils/lscpu-arm.c +++ b/sys-utils/lscpu-arm.c @@ -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" }, }; -- 2.47.3