[V6] config/arm: add Qualcomm Centriq 2400 part number
Checks
Commit Message
0xc00 is for "SoC 2.0" Qualcomm Centriq servers.
0x800 is for "SoC 1.1".
Cc: Jerin Jacob <jerinj@marvell.com>
Cc: Ruifeng Wang <ruifeng.wang@arm.com>
Cc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Cc: Juraj Linkeš <juraj.linkes@pantheon.tech>
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
--
V2: add maintainers as Cc
V3: fix meson syntax for the SoC v1.1 machine description
V4: add new soc_centriq2400_v1_1 to the supported SoC list
V5: remove 'soc_' prefix in the supported SoC list
V6: remove soc declarations for Centriq 2400 (SoC v1.1)
---
config/arm/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Thierry Herbelot <thierry.herbelot@6wind.com>
> Sent: Thursday, June 17, 2021 11:13 PM
> To: dev@dpdk.org
> Cc: Thierry Herbelot <thierry.herbelot@6wind.com>; thomas@monjalon.net;
> jerinj@marvell.com; Ruifeng Wang <Ruifeng.Wang@arm.com>; Honnappa
> Nagarahalli <Honnappa.Nagarahalli@arm.com>; Juraj Linkeš
> <juraj.linkes@pantheon.tech>
> Subject: [PATCH V6] config/arm: add Qualcomm Centriq 2400 part number
>
> 0xc00 is for "SoC 2.0" Qualcomm Centriq servers.
> 0x800 is for "SoC 1.1".
>
> Cc: Jerin Jacob <jerinj@marvell.com>
> Cc: Ruifeng Wang <ruifeng.wang@arm.com>
> Cc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
> Cc: Juraj Linkeš <juraj.linkes@pantheon.tech>
>
> Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
> --
> V2: add maintainers as Cc
> V3: fix meson syntax for the SoC v1.1 machine description
> V4: add new soc_centriq2400_v1_1 to the supported SoC list
> V5: remove 'soc_' prefix in the supported SoC list
> V6: remove soc declarations for Centriq 2400 (SoC v1.1)
> ---
> config/arm/meson.build | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build index
> e83a56e0d589..9795ef08bc08 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -179,7 +179,8 @@ implementer_qualcomm = {
> ['RTE_MAX_NUMA_NODES', 1]
> ],
> 'part_number_config': {
> - '0xc00': {'machine_args': ['-march=armv8-a+crc']}
> + '0x800': {'machine_args': ['-march=armv8-a+crc']},
> + '0xc00': {'machine_args': ['-march=armv8-a+crc']},
Nit, redundant comma at the end of the line.
With suggested change,
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
Thanks.
> }
> }
>
> --
> 2.29.2
18/06/2021 04:09, Ruifeng Wang:
> From: Thierry Herbelot <thierry.herbelot@6wind.com>
> > 'part_number_config': {
> > - '0xc00': {'machine_args': ['-march=armv8-a+crc']}
> > + '0x800': {'machine_args': ['-march=armv8-a+crc']},
> > + '0xc00': {'machine_args': ['-march=armv8-a+crc']},
> Nit, redundant comma at the end of the line.
What is redundant?
On 6/18/21 10:51 AM, Thomas Monjalon wrote:
> 18/06/2021 04:09, Ruifeng Wang:
>> From: Thierry Herbelot <thierry.herbelot@6wind.com>
>>> 'part_number_config': {
>>> - '0xc00': {'machine_args': ['-march=armv8-a+crc']}
>>> + '0x800': {'machine_args': ['-march=armv8-a+crc']},
>>> + '0xc00': {'machine_args': ['-march=armv8-a+crc']},
>> Nit, redundant comma at the end of the line.
>
> What is redundant?
The comma at the end of the second line is not necessary.
Thierry
18/06/2021 10:53, Thierry Herbelot:
> On 6/18/21 10:51 AM, Thomas Monjalon wrote:
> > 18/06/2021 04:09, Ruifeng Wang:
> >> From: Thierry Herbelot <thierry.herbelot@6wind.com>
> >>> 'part_number_config': {
> >>> - '0xc00': {'machine_args': ['-march=armv8-a+crc']}
> >>> + '0x800': {'machine_args': ['-march=armv8-a+crc']},
> >>> + '0xc00': {'machine_args': ['-march=armv8-a+crc']},
> >> Nit, redundant comma at the end of the line.
> >
> > What is redundant?
>
> The comma at the end of the second line is not necessary.
It is a good practice to have comma like other lines,
so no need to update this line when adding more.
> -----Original Message-----
> From: Thomas Monjalon <thomas@monjalon.net>
> Sent: Friday, June 18, 2021 4:58 PM
> To: Ruifeng Wang <Ruifeng.Wang@arm.com>; Thierry Herbelot
> <thierry.herbelot@6wind.com>
> Cc: dev@dpdk.org; jerinj@marvell.com; Honnappa Nagarahalli
> <Honnappa.Nagarahalli@arm.com>; Juraj Linkeš
> <juraj.linkes@pantheon.tech>; nd <nd@arm.com>
> Subject: Re: [PATCH V6] config/arm: add Qualcomm Centriq 2400 part
> number
>
> 18/06/2021 10:53, Thierry Herbelot:
> > On 6/18/21 10:51 AM, Thomas Monjalon wrote:
> > > 18/06/2021 04:09, Ruifeng Wang:
> > >> From: Thierry Herbelot <thierry.herbelot@6wind.com>
> > >>> 'part_number_config': {
> > >>> - '0xc00': {'machine_args': ['-march=armv8-a+crc']}
> > >>> + '0x800': {'machine_args': ['-march=armv8-a+crc']},
> > >>> + '0xc00': {'machine_args': ['-march=armv8-a+crc']},
> > >> Nit, redundant comma at the end of the line.
> > >
> > > What is redundant?
> >
> > The comma at the end of the second line is not necessary.
>
> It is a good practice to have comma like other lines, so no need to update this
> line when adding more.
>
Looked at style in the rest of the file. Just wanted them to be aligned.
I'm fine with a trailing comma at the last line.
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
21/06/2021 03:52, Ruifeng Wang:
> From: Thomas Monjalon <thomas@monjalon.net>
> > 18/06/2021 10:53, Thierry Herbelot:
> > > On 6/18/21 10:51 AM, Thomas Monjalon wrote:
> > > > 18/06/2021 04:09, Ruifeng Wang:
> > > >> From: Thierry Herbelot <thierry.herbelot@6wind.com>
> > > >>> 'part_number_config': {
> > > >>> - '0xc00': {'machine_args': ['-march=armv8-a+crc']}
> > > >>> + '0x800': {'machine_args': ['-march=armv8-a+crc']},
> > > >>> + '0xc00': {'machine_args': ['-march=armv8-a+crc']},
> > > >> Nit, redundant comma at the end of the line.
> > > >
> > > > What is redundant?
> > >
> > > The comma at the end of the second line is not necessary.
> >
> > It is a good practice to have comma like other lines, so no need to update this
> > line when adding more.
> >
> Looked at style in the rest of the file. Just wanted them to be aligned.
> I'm fine with a trailing comma at the last line.
>
> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
Applied, thanks
@@ -179,7 +179,8 @@ implementer_qualcomm = {
['RTE_MAX_NUMA_NODES', 1]
],
'part_number_config': {
- '0xc00': {'machine_args': ['-march=armv8-a+crc']}
+ '0x800': {'machine_args': ['-march=armv8-a+crc']},
+ '0xc00': {'machine_args': ['-march=armv8-a+crc']},
}
}