aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu-arm.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-10-08 21:12:21 +0800
committerKarel Zak <kzak@redhat.com>2019-10-11 10:11:27 +0200
commit6f00af5b3c7aadd1322424a84661cfdac83146eb (patch)
treeccbd91a1489ab3a65a3331efb51f35390d89dc57 /sys-utils/lscpu-arm.c
parenta174eefb41a2ce8b467bb7e1546953c8bd1223dd (diff)
downloadutil-linux-6f00af5b3c7aadd1322424a84661cfdac83146eb.tar.gz
lscpu: Add HiSilicon aarch64 tsv110 cpupart
Add an entry for the HiSilicon aarch64 part tsv110. Another known alias for this part is TaishanV110, and it can be found in the Kunpeng920/Hi1620 SoC. Signed-off-by: John Garry <john.garry@huawei.com>
Diffstat (limited to 'sys-utils/lscpu-arm.c')
-rw-r--r--sys-utils/lscpu-arm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c
index fd9ab3f470..b45cbe3466 100644
--- a/sys-utils/lscpu-arm.c
+++ b/sys-utils/lscpu-arm.c
@@ -170,6 +170,11 @@ static const struct id_part intel_part[] = {
{ -1, "unknown" },
};
+static const struct id_part hisi_part[] = {
+ { 0xd01, "tsv110" },
+ { -1, "unknown" },
+};
+
static const struct id_part unknown_part[] = {
{ -1, "unknown" },
};
@@ -185,6 +190,7 @@ static const struct hw_impl hw_implementer[] = {
{ 0x42, brcm_part, "Broadcom" },
{ 0x43, cavium_part, "Cavium" },
{ 0x44, dec_part, "DEC" },
+ { 0x48, hisi_part, "HiSilicon" },
{ 0x4e, nvidia_part, "Nvidia" },
{ 0x50, apm_part, "APM" },
{ 0x51, qcom_part, "Qualcomm" },