From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7842E43923; Mon, 22 Jan 2024 07:37:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4590D402EA; Mon, 22 Jan 2024 07:37:29 +0100 (CET) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 1C37740271 for ; Mon, 22 Jan 2024 07:37:27 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4TJL8B2cDzzvVDv; Mon, 22 Jan 2024 14:35:54 +0800 (CST) Received: from dggpeml500024.china.huawei.com (unknown [7.185.36.10]) by mail.maildlp.com (Postfix) with ESMTPS id 425E81402E2; Mon, 22 Jan 2024 14:37:24 +0800 (CST) Received: from [10.67.121.161] (10.67.121.161) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 22 Jan 2024 14:37:24 +0800 Subject: Re: [PATCH v3 1/2] config/arm: allow WFE to be enabled config time To: , , , , Bruce Richardson CC: References: <20240117142600.1889-1-pbhagavatula@marvell.com> <20240121152128.6360-1-pbhagavatula@marvell.com> From: fengchengwen Message-ID: <6d7f093b-a330-2769-31d3-74c862689e87@huawei.com> Date: Mon, 22 Jan 2024 14:37:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20240121152128.6360-1-pbhagavatula@marvell.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.161] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500024.china.huawei.com (7.185.36.10) 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 Acked-by: Chengwen Feng On 2024/1/21 23:21, pbhagavatula@marvell.com wrote: > From: Pavan Nikhilesh > > Allow RTE_ARM_USE_WFE to be enabled at meson configuration > time by passing it via c_args instead of modifying > `config/arm/meson.build`. > > Example usage: > meson build -Dc_args='-DRTE_ARM_USE_WFE' \ > --cross-file config/arm/arm64_cn10k_linux_gcc > > Signed-off-by: Pavan Nikhilesh > --- > v3 Changes: > - Comment the meson option instead of removing it. > > config/arm/meson.build | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/config/arm/meson.build b/config/arm/meson.build > index 36f21d2259..89e1de312b 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -17,7 +17,9 @@ flags_common = [ > # ['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF], > # ['RTE_ARM64_MEMCPY_STRICT_ALIGN', false], > > - ['RTE_ARM_USE_WFE', false], > + # Enable use of ARM wait for event instruction. > + # ['RTE_ARM_USE_WFE', false], > + > ['RTE_ARCH_ARM64', true], > ['RTE_CACHE_LINE_SIZE', 128] > ] > -- > 2.25.1 > > . >