From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68F2BC07E9B for ; Tue, 20 Jul 2021 12:33:17 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id B7CCE61241 for ; Tue, 20 Jul 2021 12:33:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7CCE61241 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=pantheon.tech Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 797F740DF6; Tue, 20 Jul 2021 14:33:12 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 33CCE40140 for ; Tue, 20 Jul 2021 14:33:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 868DF10A129; Tue, 20 Jul 2021 14:33:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p_ETjBnXaYet; Tue, 20 Jul 2021 14:33:07 +0200 (CEST) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id EF2F410A127; Tue, 20 Jul 2021 14:33:06 +0200 (CEST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, bruce.richardson@intel.com, Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, fengchengwen@huawei.com, ferruh.yigit@intel.com, jerinjacobk@gmail.com, jerinj@marvell.com, pbhagavatula@marvell.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Date: Tue, 20 Jul 2021 14:33:05 +0200 Message-Id: <1626784385-24941-2-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1626784385-24941-1-git-send-email-juraj.linkes@pantheon.tech> References: <1626094936-6054-1-git-send-email-juraj.linkes@pantheon.tech> <1626784385-24941-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 2/2] config/arm: make n2 'crypto' an optional feature X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 c11efa1583..c9bcd089df 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.20.1