From: ThomasKaiser Date: Sun, 22 Jan 2023 11:41:36 +0000 (+0100) Subject: Add missing Ampere cores X-Git-Tag: v2.39-rc1~126^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db81b3fc4b7fa86b58a5893064bc0192a48fac5d;p=thirdparty%2Futil-linux.git Add missing Ampere cores https://github.com/ThomasKaiser/sbc-bench/commit/37332238c0a8b7c1555dca9d18a7c98362564416#diff-fdfd2a032c64d6e9ba92a3197cad6b26573c7094433d74efa4ae80f44f65aa99 --- diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c index f65b25ed66..cf45bac18e 100644 --- a/sys-utils/lscpu-arm.c +++ b/sys-utils/lscpu-arm.c @@ -224,6 +224,12 @@ static const struct id_part hisi_part[] = { { -1, "unknown" }, }; +static const struct id_part ampere_part[] = { + { 0xac3, "Ampere-1" }, + { 0xac4, "Ampere-1a" }, + { -1, "unknown" }, +}; + static const struct id_part ft_part[] = { { 0x660, "FTC660" }, { 0x661, "FTC661" }, @@ -260,7 +266,7 @@ static const struct hw_impl hw_implementer[] = { { 0x66, faraday_part, "Faraday" }, { 0x69, intel_part, "Intel" }, { 0x70, ft_part, "Phytium" }, - { 0xc0, unknown_part, "Ampere" }, + { 0xc0, ampere_part, "Ampere" }, { -1, unknown_part, "unknown" }, };