[v8,3/5] config/arm: add crypto march feature to thunderxt83

Message ID 20240314113829.2511-3-pbhagavatula@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [v8,1/5] config/arm: avoid mcpu and march conflicts |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Pavan Nikhilesh Bhagavatula March 14, 2024, 11:38 a.m. UTC
  From: Pavan Nikhilesh <pbhagavatula@marvell.com>

Some older compilers don't recognize crypto march feature
for thunderxt83 mcpu.
Explicitly add it to march feature list.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
 config/arm/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jerin Jacob March 14, 2024, noon UTC | #1
On Thu, Mar 14, 2024 at 5:09 PM <pbhagavatula@marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> Some older compilers don't recognize crypto march feature
> for thunderxt83 mcpu.
> Explicitly add it to march feature list.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>

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


> ---
>  config/arm/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build
> index 0e7f54862a..45f5db2c58 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -148,7 +148,7 @@ implementer_cavium = {
>          },
>          '0xa3': {
>              'march': 'armv8-a',
> -            'march_features': ['crc'],
> +            'march_features': ['crc', 'crypto'],
>              'mcpu': 'thunderxt83',
>              'flags': flags_part_number_thunderx
>          },
> --
> 2.25.1
>
  

Patch

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 0e7f54862a..45f5db2c58 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -148,7 +148,7 @@  implementer_cavium = {
         },
         '0xa3': {
             'march': 'armv8-a',
-            'march_features': ['crc'],
+            'march_features': ['crc', 'crypto'],
             'mcpu': 'thunderxt83',
             'flags': flags_part_number_thunderx
         },