37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 8243036cae35c1be6992b0ef722d68585589d7d7 Mon Sep 17 00:00:00 2001
|
|
From: Karel Zak <kzak@redhat.com>
|
|
Date: Wed, 4 Mar 2020 12:54:24 +0100
|
|
Subject: [PATCH] lscpu: use official name for HiSilicon tsv110
|
|
|
|
Addresses: https://github.com/karelzak/util-linux/issues/969
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
---
|
|
sys-utils/lscpu-arm.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c
|
|
index b45cbe3..ef9d1ff 100644
|
|
--- a/sys-utils/lscpu-arm.c
|
|
+++ b/sys-utils/lscpu-arm.c
|
|
@@ -171,7 +171,7 @@ static const struct id_part intel_part[] = {
|
|
};
|
|
|
|
static const struct id_part hisi_part[] = {
|
|
- { 0xd01, "tsv110" },
|
|
+ { 0xd01, "Kunpeng-920" }, /* aka tsv110 */
|
|
{ -1, "unknown" },
|
|
};
|
|
|
|
@@ -190,7 +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" },
|
|
+ { 0x48, hisi_part, "HiSilicon" },
|
|
{ 0x4e, nvidia_part, "Nvidia" },
|
|
{ 0x50, apm_part, "APM" },
|
|
{ 0x51, qcom_part, "Qualcomm" },
|
|
--
|
|
1.8.3.1
|
|
|