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 4DA3AA0C41; Thu, 16 Sep 2021 18:17:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38971410EB; Thu, 16 Sep 2021 18:17:29 +0200 (CEST) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by mails.dpdk.org (Postfix) with ESMTP id 39E2240E25 for ; Thu, 16 Sep 2021 18:17:27 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id B3D95580E03; Thu, 16 Sep 2021 12:17:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 16 Sep 2021 12:17:26 -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=fm2; bh= 65SR95GyB2cLC1zwuzukol58ePGYJVDSOgHOvsnN8wg=; b=RjggfCnllxXzPt38 /FvyQ64XWtkNIqyrHhJeWr4dbaZAX8YXxmmK4ahYs1sf8bXmsKp7tDnlU28Oa15r 3yjQBpEA6IfTr0VA09QmhOVxtWp4Wivyv3DtOOF7OUu3PacQOnqiCemyOxUb81Z6 e/7OVbceOsoywRsrqpsNIk4zPMvsmC4S2OS5f6i143a3ADB28QgZ4soMumGxwhc3 x9OEgp+2xgyp8BmN2xtCK6WRFYVCE17LO3yoD5crFDzSZ/799So2Cg8P2qeBR2kn CbZ9AIU1sncDvdsE1/BXuhqGPYGZ7NmGGDI4mmhaDMrhXXD8woY9+22EfmtYoMSO yVOMmg== 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=65SR95GyB2cLC1zwuzukol58ePGYJVDSOgHOvsnN8 wg=; b=kE9jhdMG8ekFHWvAJBuZnV4LxFj+vQ8b8frjnIPepWHZeu9hUkG4VvYsz wQxhAxugQuPmueJYXswiuRQeJfDvXc4ROdVAgmABgEAuxTiY1keZqPpznRCH+y3T 8PQ2ggBC4EshLMH8tWd6xd9O2zw7b8xXUXozpar0V+Grv5OddqFCjAu3oJph1U1M XzSTBnOH/Efm21MnoKAer8OzSoLnIDh4FgtocGBlaP2ZVx7Pl+tFF0JNhXmWZ9V3 7yDjUHyGHW/j7yd3N97wZOP9N06CMZvV/QY9t508pvrrdd31Dk6q2Dts47xgTDI8 zzC6UEClmUKxEkXDQErccVyCR81yA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehgedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepkeethedtieevhfeigeejleegudefjeehkeekteeuveeiuedvveeu tdejveehveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Sep 2021 12:17:23 -0400 (EDT) From: Thomas Monjalon To: Juraj =?utf-8?B?TGlua2XFoQ==?= Cc: 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, dev@dpdk.org Date: Thu, 16 Sep 2021 18:17:22 +0200 Message-ID: <4585904.qPJAEhrNis@thomas> In-Reply-To: <1629197810-26453-1-git-send-email-juraj.linkes@pantheon.tech> References: <1626784385-24941-1-git-send-email-juraj.linkes@pantheon.tech> <1629197810-26453-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v4 1/2] config/arm: split march cfg into arch and features 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" 17/08/2021 12:56, Juraj Linke=C5=A1: > Older compilers may not support all arch versions and all features that > the target SoC supports, in which case it's better to figure out the > highest arch version and features that the compiler supports. Implement > a way to achieve this: > 1. Find the highest arch version that the compiler supports, keeping in > mind the SoC arch version we're building. For example, if the SoC arch > version is arm8.2-a, but the compiler only supports arm8.1-a, use > arm8.1-a. On the other hand, if the compiler supports arm8.3-a (or > higher), use armv8.2-a. > 2. With the architecture version locked, iterate over SoC features and > use all that are supported. >=20 > In all cases, emit a warning if there's something unsupported by the > compiler. >=20 > Signed-off-by: Juraj Linke=C5=A1 Series applied, thanks.