From e7ef133d77433438ac506416a72dfab2914f1796 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Juraj=20Linke=C5=A1?= Date: Tue, 17 Aug 2021 12:56:50 +0200 Subject: [PATCH] config/arm: make N2 crypto an optional feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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š --- 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 9bdf4bc98d..d22b41e096 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -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 } -- 2.39.5