[V2,2/4] config/arm: add Hisilicon kunpeng930 implementer

Message ID 1615340142-19115-3-git-send-email-oulijun@huawei.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series add Hisilicon kunpeng CPU support |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Lijun Ou March 10, 2021, 1:35 a.m. UTC
  Here add Hisilicon kunpeng930 config back which was deleted.

Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables")

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
---
-rewrite the patch title.
-split the patch into two.
---
 config/arm/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)
  

Comments

Jerin Jacob March 26, 2021, 12:42 p.m. UTC | #1
On Wed, Mar 10, 2021 at 7:05 AM Lijun Ou <oulijun@huawei.com> wrote:
>
> Here add Hisilicon kunpeng930 config back which was deleted.

Please fix the commit message.

I think, 1/4 and 2/4 cab squashed.

With above change:

Acked-by: Jerin Jacob <jerinj@marvell.com>

>
> Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables")
>
> Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
> Signed-off-by: Lijun Ou <oulijun@huawei.com>
> ---
> -rewrite the patch title.
> -split the patch into two.
> ---
>  config/arm/meson.build | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build
> index 3826900..a3f42c3 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -148,6 +148,13 @@ implementer_hisilicon = {
>                                  ['RTE_MAX_LCORE', 128],
>                                  ['RTE_ARM_FEATURE_ATOMICS', true]
>                         ]
> +               },
> +               '0xd02': {
> +                       'machine_args': ['-march=armv8.2-a+crypto+sve'],
> +                       'flag': [['RTE_MACHINE', '"kunpeng930"'],
> +                                ['RTE_MAX_LCORE', 256],
> +                                ['RTE_ARM_FEATURE_ATOMICS', true]
> +                       ]
>                 }
>         }
>  }
> --
> 2.7.4
>
  

Patch

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 3826900..a3f42c3 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -148,6 +148,13 @@  implementer_hisilicon = {
 				 ['RTE_MAX_LCORE', 128],
 				 ['RTE_ARM_FEATURE_ATOMICS', true]
 			]
+		},
+		'0xd02': {
+			'machine_args': ['-march=armv8.2-a+crypto+sve'],
+			'flag': [['RTE_MACHINE', '"kunpeng930"'],
+				 ['RTE_MAX_LCORE', 256],
+				 ['RTE_ARM_FEATURE_ATOMICS', true]
+			]
 		}
 	}
 }