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 AB478A0C4D; Thu, 17 Jun 2021 09:04:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D9B840683; Thu, 17 Jun 2021 09:04:08 +0200 (CEST) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by mails.dpdk.org (Postfix) with ESMTP id EBBA54067A for ; Thu, 17 Jun 2021 09:04:05 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 42F305804EC; Thu, 17 Jun 2021 03:04:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 17 Jun 2021 03:04:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= JSTZqP/sDfGTBCWFVirsGlmxuy1hUa9zAUJ1wsG1awE=; b=KTkp14YudjN+sVEN g4oiL1AuxcjZwiRt9JOCJ7Clc1QuLUX+WPKwpz05E3Ev3dURXB5Txyi4gUvrS6h2 r/lo9McHUi+DuK8jOw10eLgLy1TLzuqt7hjQ57/BUtXB0Wb/GyCNoniYCY1Y1Fj4 7Eto1Vm5j11wNCk+85RWC2YKnL5QTBzvueZsg83LTwiAnvr46kwncRaJTvbIAbzO gihtOwrRH6X12rstJybdGPoxQR4hMJ7A1sgRrLnibHbSQhwyt+6+rBxzAgSyfk9M gKAShEFbT117K1GZmxaQ5w7Hom4pz0+BmBut/M6rTZ7RbR0GlLcCs8q7lU8TTXvi PIYfUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=JSTZqP/sDfGTBCWFVirsGlmxuy1hUa9zAUJ1wsG1a wE=; b=P2ov2o28Gl56EZSUoGd81UgjMXJQTZV355nP1k+pdUal0RA8io1oU7DjS t5/etFSm73G1MQmm7Hy6CtODG1aPSp78mAMP9eZqNLqdxdR1Rc+0SPkW/TboEm8r m3v1J/I8wPEG4mf69TyRuD4CYGdMKvn5XWk5jzPxmDZzfk9QlfOH/WSXW/0nega2 9ZoQOkVcBX4K4sdoN3Dvc+usR6sJdMBh1mYcfh6r3gyz9BBByCFOLGqxQc+AV08G 2Wy/0+uaXOgttt+UM7HYoWQ4uQ8bNsnkZArBJnsggqTVxh5VhaqxRXy4/YZbAjDg wGL/36pLQ6FBeMJelximpyEGfYVXA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeftddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Jun 2021 03:04:02 -0400 (EDT) From: Thomas Monjalon To: jerinj@marvell.com, ruifeng.wang@arm.com, Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech Cc: ferruh.yigit@intel.com, dev@dpdk.org, viktorin@rehivetech.com, bruce.richardson@intel.com, jerinjacobk@gmail.com, nd@arm.com, Chengwen Feng Date: Thu, 17 Jun 2021 09:03:59 +0200 Message-ID: <5907391.mv1e21vPBl@thomas> In-Reply-To: <1621862602-51782-2-git-send-email-fengchengwen@huawei.com> References: <1620808126-18876-1-git-send-email-fengchengwen@huawei.com> <1621862602-51782-1-git-send-email-fengchengwen@huawei.com> <1621862602-51782-2-git-send-email-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v8 1/2] config/arm: select most suitable -march for kunpeng soc 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" 24/05/2021 15:23, Chengwen Feng: > Currently, the soc_kunpeng930 declares '-march=armv8.2-a+crypto+sve', > but some compiler doesn't recognize the march because it doesn't > support sve. > > To solve this bug we use the following scheme: > 1. Define 'march_base' tuple which defines support march, it should > arrange from lower to higher. > e.g. 'march_base': ['-march=armv8.1-a', '-march=armv8.2-a'] > 2. Define 'march_feature' tuple which defines support feature. > e.g. 'march_feature': ['crypto', 'sve'] > Note: If user defined 'march_feature', it also needs to define a valid > 'march_base' because 'march_feature' depends on 'march_base' when > checking validity. > 3. Select the most suitable march+feature combination based on > 'march_base' and 'march_feature' tuples. > 4. Use the selected march+feature combination as the default > machine_args. > > Fixes: 7cf32a22b240 ("config/arm: add Hisilicon kunpeng") > > Signed-off-by: Chengwen Feng This patch is still not accepted. Arm maintainers, what is missing? Is it rejected?