DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/arm: support crypto in cortex-a78ae mcpu
@ 2025-08-05  6:22 Shani Peretz
  0 siblings, 0 replies; only message in thread
From: Shani Peretz @ 2025-08-05  6:22 UTC (permalink / raw)
  To: dev
  Cc: getelson, bingz, Shani Peretz, wathsala.vithanage, stable,
	Bruce Richardson, Dhruv Tripathi

ARM cortex-a78ae configuration (part number 0xd42) is being built
without the necessary crypto extensions. This results in infinite
loops in the crypto performance tests applications because the
hardware crypto features are not properly enabled.
This fix enables the crypto extension in the mcpu definition.

Fixes: c02c01dbf907 ("config/arm: prefer strict use of -mcpu if supported")
Cc: wathsala.vithanage@arm.com
Cc: stable@dpdk.org

Signed-off-by: Shani Peretz <shperetz@nvidia.com>
---
 config/arm/meson.build | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 35b7553e74..82661b7cfe 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -84,8 +84,7 @@ part_number_config_arm = {
         ]
     },
     '0xd42': {
-        'march': 'armv8.4-a',
-        'mcpu' : 'cortex-a78ae',
+        'mcpu' : 'mcpu_cortex-a78ae',
         'flags': [
             ['RTE_MAX_LCORE', 16],
             ['RTE_MAX_NUMA_NODES', 1]
@@ -689,6 +688,10 @@ mcpu_defs = {
         'march': 'armv8-a',
         'march_extensions': ['simd'],
     },
+    'mcpu_cortex-a78ae': {
+        'march': 'armv8.4-a',
+        'march_extensions': ['crypto']
+    }
 }
 
 '''
-- 
2.34.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-05  6:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-05  6:22 [PATCH] config/arm: support crypto in cortex-a78ae mcpu Shani Peretz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).