Skip to contentSkip to conversation

Typos in Arm xconfig files

dpdk-dev In review Thierry Herbelot 6 participants 8 messages Feb 1, 2021 – Feb 2, 2021

lore
Share & tools
lore
#0 lore raw

Hello,

There is an inconsistency in the name of variables:
most xconfig files use 'implementer_id'
two still use 'implementor_id'

Regards

Thierry

Signature · 9 lines
Thierry Herbelot
Senior Software Engineer
Tel: +33 1 39 30 92 61
http://www.6wind.com/

Follow us:
https://www.linkedin.com/company/6wind/
https://twitter.com/6WINDsoftware
https://www.youtube.com/user/6windsoftware
#1 lore raw

PATCH 1/1 config/arm: fix typo in meson config

s/implementor/implementer

Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")
Fixes c51401832147 ("config/arm: add Graviton2")

---
Cc: Juraj Linkeš <[email protected]>
Cc: Ruifeng Wang <[email protected]>
Cc: [email protected]

---
 config/arm/arm64_armv8_linux_clang_ubuntu1804 | 4 ++--
 config/arm/arm64_graviton2_linux_gcc          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
config/arm/arm64_armv8_linux_clang_ubuntu1804 +2 -2
index aa5ee0132065..ae3fb30c5da8 100644
@@ -14,7 +14,7 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = 'generic'
-implementor_pn = 'default'
+implementer_id = 'generic'
+implementer_pn = 'default'
 c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-linux-gnu']
 c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--gcc-toolchain=/usr']
config/arm/arm64_graviton2_linux_gcc +2 -2
index cfe2397975fc..123f14eed29e 100644
@@ -13,8 +13,8 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = '0x41'
-implementor_pn = '0xd0c'
+implementer_id = '0x41'
+implementer_pn = '0xd0c'
 max_lcores = 64
 max_numa_nodes = 1
 numa = false
Signature · 1 line
2.29.2
Reviewed-by on v1 1/1
#2 lore raw

Re: [dpdk-dev] [PATCH] config/arm: fix typo in meson config

<snip>

Quoted 10 lines

Subject: [PATCH] config/arm: fix typo in meson config

s/implementor/implementer

Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")
Fixes c51401832147 ("config/arm: add Graviton2")

Thanks Ferruh. I remember discussing this on the list. I am fine with 'implementEr' as that is what is used in Arm public specs.

Quoted 42 lines

---
Cc: Juraj Linkeš <[email protected]>
Cc: Ruifeng Wang <[email protected]>
Cc: [email protected]

---
 config/arm/arm64_armv8_linux_clang_ubuntu1804 | 4 ++--
 config/arm/arm64_graviton2_linux_gcc          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
config/arm/arm64_armv8_linux_clang_ubuntu1804 +2 -2
index aa5ee0132065..ae3fb30c5da8 100644
@@ -14,7 +14,7 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = 'generic'
-implementor_pn = 'default'
+implementer_id = 'generic'
+implementer_pn = 'default'
 c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-linux-gnu']

c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--gcc- toolchain=/usr'] diff --git a/config/arm/arm64_graviton2_linux_gcc b/config/arm/arm64_graviton2_linux_gcc
index cfe2397975fc..123f14eed29e 100644

config/arm/arm64_graviton2_linux_gcc +2 -3
@@ -13,8 +13,8 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = '0x41'
-implementor_pn = '0xd0c'
+implementer_id = '0x41'
+implementer_pn = '0xd0c'
 max_lcores = 64
 max_numa_nodes = 1
 numa = false
--

2.29.2

Reviewed-by on v1 1/1
#3 lore raw

Re: [dpdk-dev] [PATCH] config/arm: fix typo in meson config

In reply to Ferruh Yigit
Quoted 13 lines

-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Tuesday, February 2, 2021 6:42 AM
To: Jan Viktorin <[email protected]>; Ruifeng Wang <[email protected]>; [email protected]; Bruce Richardson <[email protected]>; Juraj Linkeš <[email protected]>; Honnappa Nagarahalli <[email protected]>; Vimal Chungath <[email protected]>
Cc: Ferruh Yigit <[email protected]>; [email protected]; [email protected]; [email protected]; Thierry Herbelot <[email protected]>
Subject: [PATCH] config/arm: fix typo in meson config

Quoted 4 lines

s/implementor/implementer

Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")
Fixes c51401832147 ("config/arm: add Graviton2")

'implementor' -> 'implementer' change was made in 7870ae8994c6. It seems 7870ae8994c6 missed Graviton2 config file which was added earlier.

With the fix tag update,

Quoted 46 lines

---
Cc: Juraj Linkeš <[email protected]>
Cc: Ruifeng Wang <[email protected]>
Cc: [email protected]

---
 config/arm/arm64_armv8_linux_clang_ubuntu1804 | 4 ++--
 config/arm/arm64_graviton2_linux_gcc          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
config/arm/arm64_armv8_linux_clang_ubuntu1804 +2 -2
index aa5ee0132065..ae3fb30c5da8 100644
@@ -14,7 +14,7 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = 'generic'
-implementor_pn = 'default'
+implementer_id = 'generic'
+implementer_pn = 'default'
 c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-linux-gnu']

c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--gcc- toolchain=/usr'] diff --git a/config/arm/arm64_graviton2_linux_gcc b/config/arm/arm64_graviton2_linux_gcc
index cfe2397975fc..123f14eed29e 100644

config/arm/arm64_graviton2_linux_gcc +2 -3
@@ -13,8 +13,8 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = '0x41'
-implementor_pn = '0xd0c'
+implementer_id = '0x41'
+implementer_pn = '0xd0c'
 max_lcores = 64
 max_numa_nodes = 1
 numa = false
--

2.29.2

#4 lore raw

Re: [dpdk-dev] [PATCH] config/arm: fix typo in meson config

Quoted 13 lines · Ruifeng Wang
Quoted 13 lines

-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Tuesday, February 2, 2021 6:42 AM
To: Jan Viktorin <[email protected]>; Ruifeng Wang <[email protected]>; [email protected]; Bruce Richardson <[email protected]>; Juraj Linkeš <[email protected]>; Honnappa Nagarahalli <[email protected]>; Vimal Chungath <[email protected]>
Cc: Ferruh Yigit <[email protected]>; [email protected]; [email protected]; [email protected]; Thierry Herbelot <[email protected]>
Subject: [PATCH] config/arm: fix typo in meson config

Quoted 8 lines
Quoted 4 lines

s/implementor/implementer

Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")
Fixes c51401832147 ("config/arm: add Graviton2")

'implementor' -> 'implementer' change was made in 7870ae8994c6. It seems 7870ae8994c6 missed Graviton2 config file which was added earlier.

Right, I missed the rename patch, so it should be:

Fixes 7870ae8994c6 ("config/arm: rename variables")

And that rename patch does 'implementor_pn' -> 'part_number', so I will update this patch to do the same.

Quoted 50 lines

With the fix tag update,

Quoted 46 lines

---
Cc: Juraj Linkeš <[email protected]>
Cc: Ruifeng Wang <[email protected]>
Cc: [email protected]

---
  config/arm/arm64_armv8_linux_clang_ubuntu1804 | 4 ++--
  config/arm/arm64_graviton2_linux_gcc          | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)
config/arm/arm64_armv8_linux_clang_ubuntu1804 +2 -2
index aa5ee0132065..ae3fb30c5da8 100644
@@ -14,7 +14,7 @@ cpu = 'armv8-a'
  endian = 'little'
 
  [properties]
-implementor_id = 'generic'
-implementor_pn = 'default'
+implementer_id = 'generic'
+implementer_pn = 'default'
  c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-linux-gnu']

c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--gcc- toolchain=/usr'] diff --git a/config/arm/arm64_graviton2_linux_gcc b/config/arm/arm64_graviton2_linux_gcc
index cfe2397975fc..123f14eed29e 100644

config/arm/arm64_graviton2_linux_gcc +2 -3
@@ -13,8 +13,8 @@ cpu = 'armv8-a'
  endian = 'little'
 
  [properties]
-implementor_id = '0x41'
-implementor_pn = '0xd0c'
+implementer_id = '0x41'
+implementer_pn = '0xd0c'
  max_lcores = 64
  max_numa_nodes = 1
  numa = false
--

2.29.2

Reviewed-by on v1 1/1
#5 lore raw

Re: [dpdk-dev] [PATCH] config/arm: fix typo in meson config

In reply to Ferruh Yigit
Quoted 17 lines

-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Monday, February 1, 2021 11:42 PM
To: Jan Viktorin <[email protected]>; Ruifeng Wang <[email protected]>; Jerin Jacob <[email protected]>; Bruce Richardson <[email protected]>; Juraj Linkeš <[email protected]>; Honnappa Nagarahalli <[email protected]>; Vimal Chungath <[email protected]>
Cc: Ferruh Yigit <[email protected]>; [email protected]; Thomas Monjalon <[email protected]>; [email protected]; Thierry Herbelot <[email protected]>
Subject: [PATCH] config/arm: fix typo in meson config

s/implementor/implementer

Quoted 7 lines
Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")
Fixes c51401832147 ("config/arm: add Graviton2")

---

Thanks for submitting this,

#6 lore raw

PATCH v2 1/1 config/arm: fix variable name

In reply to Thierry Herbelot

A config variable rename seems missed to update all config files and new config file get with old variable names.

Reflect config variable rename to all config files, changed 'implementor_id' to 'implementer_id', 'implementor_pn' to 'part_number'.

Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")
Fixes 7870ae8994c6 ("config/arm: rename variables")

---
Cc: Juraj Linkeš <[email protected]>
Cc: Ruifeng Wang <[email protected]>
Cc: [email protected]

v2:
* Update 'implementor_pn' as 'part_number'
* Fix fixes line

---
 config/arm/arm64_armv8_linux_clang_ubuntu1804 | 4 ++--
 config/arm/arm64_graviton2_linux_gcc          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
config/arm/arm64_armv8_linux_clang_ubuntu1804 +2 -2
index aa5ee0132065..8d8cc50ea4d4 100644
@@ -14,7 +14,7 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = 'generic'
-implementor_pn = 'default'
+implementer_id = 'generic'
+part_number = 'default'
 c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-linux-gnu']
 c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--gcc-toolchain=/usr']
config/arm/arm64_graviton2_linux_gcc +2 -2
index cfe2397975fc..edacb79497ad 100644
@@ -13,8 +13,8 @@ cpu = 'armv8-a'
 endian = 'little'
 
 [properties]
-implementor_id = '0x41'
-implementor_pn = '0xd0c'
+implementer_id = '0x41'
+part_number = '0xd0c'
 max_lcores = 64
 max_numa_nodes = 1
 numa = false
Signature · 1 line
2.29.2
#7 lore raw

Re: [dpdk-dev] [PATCH v2] config/arm: fix variable name

02/02/2021 09:35, Ferruh Yigit:

Quoted 7 lines

A config variable rename seems missed to update all config files and new config file get with old variable names.

Reflect config variable rename to all config files, changed 'implementor_id' to 'implementer_id', 'implementor_pn' to 'part_number'.

Quoted 8 lines
Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")
Fixes 7870ae8994c6 ("config/arm: rename variables")

Applied, thanks.

That's why I don't want to merge all the Arm build changes as a batch in the same release.
Sometimes we need to have some steps.