Util-Linux Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] lscpu: Add HiSilicon aarch64 tsv110 cpupart
@ 2019-10-08 13:12 John Garry
  2019-10-11  8:13 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: John Garry @ 2019-10-08 13:12 UTC (permalink / raw)
  To: util-linux; +Cc: linuxarm, John Garry

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>

diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c
index fd9ab3f47..b45cbe346 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" },
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] lscpu: Add HiSilicon aarch64 tsv110 cpupart
  2019-10-08 13:12 [PATCH] lscpu: Add HiSilicon aarch64 tsv110 cpupart John Garry
@ 2019-10-11  8:13 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2019-10-11  8:13 UTC (permalink / raw)
  To: John Garry; +Cc: util-linux, linuxarm

On Tue, Oct 08, 2019 at 09:12:21PM +0800, John Garry wrote:
> 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.

Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 13:12 [PATCH] lscpu: Add HiSilicon aarch64 tsv110 cpupart John Garry
2019-10-11  8:13 ` Karel Zak

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git