config/arm: make N2 crypto an optional feature
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Tue, 17 Aug 2021 10:56:50 +0000 (12:56 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 16 Sep 2021 16:12:46 +0000 (18:12 +0200)
Not all Neoverse-N2 CPUs must support the crypto feature/extension
which makes it an optional feature.
Only enable the feature for SoCs which support it.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
config/arm/meson.build

index 9bdf4bc..d22b41e 100644 (file)
@@ -76,7 +76,7 @@ part_number_config_arm = {
     },
     '0xd49': {
         'march': 'armv8.5-a',
-        'march_features': ['crypto', 'sve2'],
+        'march_features': ['sve2'],
         'flags': [
             ['RTE_MACHINE', '"neoverse-n2"'],
             ['RTE_ARM_FEATURE_ATOMICS', true],
@@ -278,6 +278,7 @@ soc_cn10k = {
         ['RTE_MAX_NUMA_NODES', 1]
     ],
     'part_number': '0xd49',
+    'extra_march_features': ['crypto'],
     'numa': false
 }