From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 329451B4AF for ; Wed, 9 Jan 2019 16:41:35 +0100 (CET) Received: by mail-wr1-f65.google.com with SMTP id c14so8193172wrr.0 for ; Wed, 09 Jan 2019 07:41:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=EH3oyxDFnBb44jVVmN1jhEbNI67E7IGtwMEBM/v+RkI=; b=Vw4NqSSEaElqHZqE9tu/JQruVwDfgVY4P8tiTFyUS5lubvrbTnOFg/nEu1f6Y9QsCa 5aJi05e2GRQZfBMHVcTQ+4cLPKi5Zew78/ZrLPYYNmiKU4PPXoTfP+eU5MdCoSX83LVn sbSNQwQbfAxE+o1ssh10jX/A4D6CIJ+YI8E/Blq8JJURCuHOGgmVRc7vPl+QXwXD2QX/ lSEbyb3CMLe/CHl72ggRWP3FqZL/7gQR+iw1VuIXwvr7JXseNPTpimCkETaVuatJoO1j LJRDAsxxAKwLIoBYSHk2hEkYMIqq3eOkY+p861nqCI0rUGLyQBeYYumpbQuRQzoe2KxC Gbkw== X-Gm-Message-State: AJcUukcfDMjUBQr4ujVav+2kYxeBttD4FDm3gG6ol4gKkihIZFp4OhQJ Q9Q/azpUAtCcdxOAYSPnpMk= X-Google-Smtp-Source: ALg8bN5Y1g0cVuvThexhUfNa0ttAsT97CEU9YXzOdUS8IiYvGZZJgA0H39bj9XbKDkKsEwwbhXcrKw== X-Received: by 2002:adf:d089:: with SMTP id y9mr5641145wrh.22.1547048494706; Wed, 09 Jan 2019 07:41:34 -0800 (PST) Received: from localhost ([2001:1be0:110d:fcfe:132c:a71a:1896:1395]) by smtp.gmail.com with ESMTPSA id o5sm22220677wmg.25.2019.01.09.07.41.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jan 2019 07:41:33 -0800 (PST) Message-ID: <1547048493.6022.65.camel@debian.org> From: Luca Boccassi To: Jerin Jacob Kollanukkaran , "thomas@monjalon.net" , "yskoh@mellanox.com" Cc: "shahafs@mellanox.com" , "honnappa.nagarahalli@arm.com" , "Gavin.Hu@arm.com" , "tspeier@qti.qualcomm.com" , "dev@dpdk.org" Date: Wed, 09 Jan 2019 15:41:33 +0000 In-Reply-To: <043755be57a2f0b30a16d620180bbaa1f5c3144e.camel@marvell.com> References: <20190109093915.40882-1-yskoh@mellanox.com> <3649611.6SvQ7ZztEu@xps> <6f5a14e478d7c92d1f08a749afac8bb785b3b492.camel@marvell.com> <4346565.rU6Rjy1soH@xps> <043755be57a2f0b30a16d620180bbaa1f5c3144e.camel@marvell.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] config: change default cache line size for ARMv8 with meson X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 15:41:35 -0000 On Wed, 2019-01-09 at 15:34 +0000, Jerin Jacob Kollanukkaran wrote: > > > Please check below thread and patch. > > >=20 > > > http://mails.dpdk.org/archives/dev/2019-January/122676.html > > > https://patches.dpdk.org/patch/49477/ > > >=20 > > > Debian folks are building like this for the _generic_ image. > > > What ever works for every distros, I am fine with that. > > >=20 > > > meson configure -Dmachine=3Ddefault > > > meson build > > > cd build > > > ninja > > > ninja install > >=20 > > I think we agree on the idea of having different configs > > for unmodified A72 core and generic build working for all. >=20 > Yes, I agree. config or some scheme to address the generic and > default > usecase. >=20 > > The remaining bits to discuss are: > > - do we want to use the armv8 config for unmodified A72? > > - what should be the name of the generic config? >=20 > If all distros following "meson configure -Dmachine=3Ddefault" scheme > why not follow that to make generic image. i.e when machine=3Ddefault > set then Cache lize size 128B CL specific stuff be kicked in else > it probe the value based on MIDR from sysfs. >=20 >=20 > > When digging more the config files in meson, I found this: > > =09 > > http://mesonbuild.com/Cross-compilation.html#cross-file-locations > > It says that distros or compilers should provide some config files. > > It means we should check if some standard names are emerging > > and try to follow the same naming, or even re-use existing config > > files. >=20 > I think this for cross compilation. if I understand it correctly, > distro folks build arm64 image on arm64 target(not on x86) with > generic > images with lowest denominator cpu flags and such that works for all > platforms. >=20 > Something similar found in arch linux website for arm64. > https://archlinuxarm.org/platforms/armv8/generic >=20 > See Platforms: ARMv8 >=20 > Anyway I am leaving this decision to distro folks or whoever is > expert > in meson based distro build generic creation. Just a comment to confirm that yes, in general distributions do not do cross-builds, but native builds. That is certainly the case for Debian, and I am 99% sure it is also the case for Ubuntu and SUSE. --=20 Kind regards, Luca Boccassi