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 AE695A0A05; Wed, 20 Jan 2021 17:10:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57A1A140D25; Wed, 20 Jan 2021 17:10:08 +0100 (CET) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by mails.dpdk.org (Postfix) with ESMTP id 696F9140D00 for ; Wed, 20 Jan 2021 17:10:06 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id B0D7A58051D; Wed, 20 Jan 2021 11:10:05 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 20 Jan 2021 11:10:05 -0500 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=fm3; bh= BhP7DiU40yCqX2uHal86W8no8yUdGSxufUDm3ceJBRo=; b=K6l/8a5Sb9K+0k/w BylIFhpFY0qDfwllF+VNfPQ+Y/KOxnMbj8s2scD2mP2dmnJkrLRO+2e6Wh+d2R/B FdrRidAvCzsZdaOpCoEacdMqZZMrYBmnNsf1nZqe3AC7EL4ACnvpm5GUaF+Atn2n cB1YSSaHizMIq6C/1YHHRdo5gCQKU42tLd/pZqv8OhBNcSSbjC7iNmqIhDQCxwmv ir+VaT78wP+LGH71TpJeMRbcFrtLX0+8UmyDrhRhTf8H9EdquAanSaZqrISq+0kG 3zMr+17ENrIdpprEEJ3ODaGaIGGXLDBxdWnTcW3LGzA4+FoFwP9OdhnsQrn/9uRV ggj+0g== 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=fm1; bh=BhP7DiU40yCqX2uHal86W8no8yUdGSxufUDm3ceJB Ro=; b=YcITR4eZB0ewVWHqLqH9cSfBmf6uGwBpV/IIln5pxr+Gous5jCAFHL+/x BFLSAo8j2BzxogMmWV3vlJyTApNCx4r3LvJ+WtKq1KvJX24Ka6Op76Whr4VvuIZZ O//l8RHpEZjx55mf+lCO6eMpOAsfQnsXLr4TA2mfflKkNAG95pYRJMmbmFdPXsKq Kjlr2O9FAOcj2zwcuaMHmPnVMrfccBAmeg91NQuoPc22YBh9z5HLSD/8HaLXqqDD sBHUoD4LLi/3sTYorYmLuZo+pMp/ryDQnoE9NjVTvYW1sZd5p/+3YIJrm1aG9cv8 AW3ZgILgCFc/RsrIb3N7ob9zECMqw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedvkeetveeihfegfedtfeejueekkeekueevgfejuedviedvvdevuefg teevtdefveenucffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefgedrvd dtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 08011108005B; Wed, 20 Jan 2021 11:10:02 -0500 (EST) From: Thomas Monjalon To: Honnappa Nagarahalli , Bruce Richardson , Juraj =?utf-8?B?TGlua2XFoQ==?= Cc: Ruifeng Wang , Phil Yang , "vcchunga@amazon.com" , Dharmik Thakkar , "jerinjacobk@gmail.com" , "hemant.agrawal@nxp.com" , "Ajit Khaparde (ajit.khaparde@broadcom.com)" , "ferruh.yigit@intel.com" , "aboyer@pensando.io" , "dev@dpdk.org" , nd Date: Wed, 20 Jan 2021 17:10:01 +0100 Message-ID: <1722431.dKycXfZpIb@thomas> In-Reply-To: References: <1608724059-8562-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 v15 11/12] build: add Arm SoC meson option 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" 20/01/2021 09:41, Juraj Linke=C5=A1: > From: Honnappa Nagarahalli > > > 20/01/2021 02:04, Honnappa Nagarahalli: > > > > > On Tue, Jan 19, 2021 at 04:52:19PM +0100, Thomas Monjalon wrote: > > > > > > 19/01/2021 15:56, Juraj Linke=C5=A1: > > > > > > > From: Thomas Monjalon > > > > > > > > 15/01/2021 14:26, Juraj Linke=C5=A1: > > > > > > > > > --- a/meson_options.txt > > > > > > > > > +++ b/meson_options.txt > > > > > > > > > +option('arm_soc', type: 'string', value: '', > > > > > > > > > + description: 'Specify if you want to build for a > > > > > > > > > +particular > > > > > > > > > +aarch64 Arm SoC when building on an aarch64 machine.') > > > > > > > > > > > > > > > > Why the option is named "arm_soc" and not just "soc"? > > > > > > > > The same option could be used by other archs, isn't it? > > > > > > > > > > > > > > Agree that a more generic name would be better. > > > > > > > I'll change it to "soc" if there are no other suggestions. > > > > > > > > > > > > Another name could be "machine". > > > > > > Should it be the same mechanism as compiling for a specific x86 > > > > > > CPU from an x86 machine? > > > > > > > > > > > I'd rather not re-use the term "machine", for a new use, better to > > > > > use a new term IMHO. > > > > +1, agree. 'soc' sounds good to me. > > > > > > Another possible word is "platform", > > > as in http://doc.dpdk.org/guides/platform/index.html > > I am fine with 'platform' too. > >=20 >=20 > 'platform' is likely the best and actually works nicely with http://patch= es.dpdk.org/patch/85956/. Taken together, 'platform' could be either 'nativ= e', 'generic' or an soc, which is, I believe, exactly what we want. I am not sure what we want :) We need to specify the instruction set, and the specific target. We could deduce the instruction set from the target, but I think it is good to be able to overwrite the instruction set in case there can be multiple instruction sets for a target. I think "native" and "generic" should be specified as instruction set, in the existing option "machine" or renamed as "instruction_set" or "isa". Let's imagine the first option is "isa" and the new second option is "platf= orm". We can have a default "isa" per "platform". The default "platform" would have a default "isa": native or generic? What else do we need?