summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream/0020-lscpu-arm-don-t-use-space-in-names.patch
blob: c1f1350d510646d563b84b04b3a930a512f72290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
From: Karel Zak <kzak@redhat.com>
Date: Mon, 18 Jul 2022 12:37:25 +0200
Subject: [PATCH 20/24] lscpu: (arm) don't use space in names

It's seems better to be consistent and use the same convention for all
the names.

Signed-off-by: Karel Zak <kzak@redhat.com>
---
 sys-utils/lscpu-arm.c | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/sys-utils/lscpu-arm.c b/sys-utils/lscpu-arm.c
index 7d60f37..8b70669 100644
--- a/sys-utils/lscpu-arm.c
+++ b/sys-utils/lscpu-arm.c
@@ -95,8 +95,8 @@ static const struct id_part arm_part[] = {
 };
 
 static const struct id_part brcm_part[] = {
-    { 0x0f, "Brahma B15" },
-    { 0x100, "Brahma B53" },
+    { 0x0f, "Brahma-B15" },
+    { 0x100, "Brahma-B53" },
     { 0x516, "ThunderX2" },
     { -1, "unknown" },
 };
@@ -109,10 +109,10 @@ static const struct id_part dec_part[] = {
 
 static const struct id_part cavium_part[] = {
     { 0x0a0, "ThunderX" },
-    { 0x0a1, "ThunderX 88XX" },
-    { 0x0a2, "ThunderX 81XX" },
-    { 0x0a3, "ThunderX 83XX" },
-    { 0x0af, "ThunderX2 99xx" },
+    { 0x0a1, "ThunderX-88XX" },
+    { 0x0a2, "ThunderX-81XX" },
+    { 0x0a3, "ThunderX-83XX" },
+    { 0x0af, "ThunderX2-99xx" },
     { -1, "unknown" },
 };
 
@@ -129,11 +129,11 @@ static const struct id_part qcom_part[] = {
     { 0x201, "Kryo" },
     { 0x205, "Kryo" },
     { 0x211, "Kryo" },
-    { 0x800, "Falkor V1/Kryo" },
-    { 0x801, "Kryo V2" },
-    { 0x803, "Kryo 3XX Silver" },
-    { 0x804, "Kryo 4XX Gold" },
-    { 0x805, "Kryo 4XX Silver" },
+    { 0x800, "Falkor-V1/Kryo" },
+    { 0x801, "Kryo-V2" },
+    { 0x803, "Kryo-3XX-Silver" },
+    { 0x804, "Kryo-4XX-Gold" },
+    { 0x805, "Kryo-4XX-Silver" },
     { 0xc00, "Falkor" },
     { 0xc01, "Saphira" },
     { -1, "unknown" },
@@ -152,25 +152,25 @@ static const struct id_part nvidia_part[] = {
 };
 
 static const struct id_part marvell_part[] = {
-    { 0x131, "Feroceon 88FR131" },
+    { 0x131, "Feroceon-88FR131" },
     { 0x581, "PJ4/PJ4b" },
     { 0x584, "PJ4B-MP" },
     { -1, "unknown" },
 };
 
 static const struct id_part apple_part[] = {
-    { 0x020, "Icestorm (A14)" },
-    { 0x021, "Firestorm (A14)" },
-    { 0x022, "Icestorm (M1)" },
-    { 0x023, "Firestorm (M1)" },
-    { 0x024, "Icestorm (M1 Pro)" },
-    { 0x025, "Firestorm (M1 Pro)" },
-    { 0x028, "Icestorm (M1 Max)" },
-    { 0x029, "Firestorm (M1 Max)" },
-    { 0x030, "Blizzard (A15)" },
-    { 0x031, "Avalanche (A15)" },
-    { 0x032, "Blizzard (M2)" },
-    { 0x033, "Avalanche (M2)" },
+    { 0x020, "Icestorm-A14)" },
+    { 0x021, "Firestorm-A14)" },
+    { 0x022, "Icestorm-M1)" },
+    { 0x023, "Firestorm-M1)" },
+    { 0x024, "Icestorm-M1-Pro)" },
+    { 0x025, "Firestorm-M1-Pro)" },
+    { 0x028, "Icestorm-M1-Max)" },
+    { 0x029, "Firestorm-M1-Max)" },
+    { 0x030, "Blizzard-A15" },
+    { 0x031, "Avalanche-A15" },
+    { 0x032, "Blizzard-M2" },
+    { 0x033, "Avalanche-M2" },
     { -1, "unknown" },
 };