diff options
Diffstat (limited to 'debian/patches/upstream/0020-lscpu-arm-don-t-use-space-in-names.patch')
-rw-r--r-- | debian/patches/upstream/0020-lscpu-arm-don-t-use-space-in-names.patch | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/debian/patches/upstream/0020-lscpu-arm-don-t-use-space-in-names.patch b/debian/patches/upstream/0020-lscpu-arm-don-t-use-space-in-names.patch new file mode 100644 index 0000000..c1f1350 --- /dev/null +++ b/debian/patches/upstream/0020-lscpu-arm-don-t-use-space-in-names.patch @@ -0,0 +1,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" }, + }; + |