Typos in Arm xconfig files
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
PATCH 1/1 config/arm: fix typo in meson config
s/implementor/implementer
---
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
@@ -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
@@ -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
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")Reported-by Thierry Herbelot <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>
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@@ -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
indexcfe2397975fc..123f14eed29e100644config/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
Re: [dpdk-dev] [PATCH] config/arm: fix typo in meson config
In reply to Ferruh YigitQuoted 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
Reported-by Thierry Herbelot <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>---
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@@ -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
indexcfe2397975fc..123f14eed29e100644config/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
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 seems7870ae8994c6missed Graviton2 config file which was added earlier.
Right, I missed the rename patch, so it should be:
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,
Reviewed-by Ruifeng Wang <[email protected]>Quoted 46 lines
Reported-by Thierry Herbelot <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>---
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@@ -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
indexcfe2397975fc..123f14eed29e100644config/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
Re: [dpdk-dev] [PATCH] config/arm: fix typo in meson config
In reply to Ferruh YigitQuoted 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 configs/implementor/implementer
Quoted 7 lines
Fixes 3d01d65ba0d3 ("config: add aarch64 clang for Ubuntu 18.04")Fixes c51401832147 ("config/arm: add Graviton2")Reported-by Thierry Herbelot <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>---
Thanks for submitting this,
PATCH v2 1/1 config/arm: fix variable name
In reply to Thierry HerbelotA 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'.
---
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
@@ -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
@@ -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
Thomas Monjalon
AppliedRe: [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")Reported-by Thierry Herbelot <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>Reviewed-by Honnappa Nagarahalli <[email protected]>Reviewed-by Ruifeng Wang <[email protected]>Reviewed-by Juraj Linkeš <[email protected]>
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.