Message ID | 1619095749-7948-1-git-send-email-juraj.linkes@pantheon.tech (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E27FA09E4; Thu, 22 Apr 2021 14:49:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4068B41D23; Thu, 22 Apr 2021 14:49:18 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 31F4441CAF for <dev@dpdk.org>; Thu, 22 Apr 2021 14:49:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id C4A8FC5F67; Thu, 22 Apr 2021 14:49:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dMkf3BCJRAXL; Thu, 22 Apr 2021 14:49:11 +0200 (CEST) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 7B400C5F5E; Thu, 22 Apr 2021 14:49:10 +0200 (CEST) From: =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech> To: thomas@monjalon.net, david.marchand@redhat.com, bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com, Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, jerinj@marvell.com, viktorin@rehivetech.com, ajit.khaparde@broadcom.com Cc: juraj.linkes@pantheon.tech, dev@dpdk.org Date: Thu, 22 Apr 2021 14:49:01 +0200 Message-Id: <1619095749-7948-1-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618995020-4775-1-git-send-email-juraj.linkes@pantheon.tech> References: <1618995020-4775-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v17 0/8] aarch64 -> aarch32 cross compilation support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
aarch64 -> aarch32 cross compilation support
|
|
Message
Juraj Linkeš
April 22, 2021, 12:49 p.m. UTC
Add support for aarch32 cross build in meson and add aarch64 -> aarch32
cross build to Travis.
Aarch32 is an execution state that allows execution of 32-bit code on
armv8 machines. This execution state contains a superset of previous
armv7 32-bit instructions and features. Thus the aarch32 build is distinct
from arvm7 build.
v4:
Removed disabled drivers which actually build on arm32.
Also tested the patchset with series 9609 which fixes underlying failures.
v5:
Changed the condition for running test-null.sh in ci.
Re-uploaded after underlying fixes have been committed.
v6:
Changed the condition for running test-null.sh again.
Reworked the patch to do aarch32 build instead of arvm7-a build.
Simplified meson build flags. Changed commit msgs.
Added 32b qualifier to .travis.yml.
Added a patch with fixes for bnxt.
Added a patch with cross compilation docs.
v7:
Rebased the patchset.
v8:
Removed Makefile additions from net/bnxt patch.
v9:
Changed ci test-null.sh condition, only run it if not cross-compiling
aarch64 nor aarch32.
Cleaned up docs.
v10:
Fixed doc: add aarch32 build guidance commit message.
v11:
Rebase and fix scf and bnxt after rebase.
v12:
Dropped one superfluous net/bnxt patch.
v13:
Rebased and fixed net/virtio build by removing NEON for aarch32.
v14:
Fixed docs build.
v15:
Rebased.
v16:
Updated arm CPU flags.
v17:
Fixed build condition in 1/8, updated 4/8.
Acked-by: Aaron Conole <aconole@redhat.com>
Juraj Linkeš (5):
net/virtio: fix aarch32 build
eal/arm: update CPU flags
build: add aarch32 meson build flags
build: add aarch32 to meson cross-compilation
ci: add aarch64 -> aarch32 cross compiling jobs
Phil Yang (1):
doc: add aarch32 build guidance
Ruifeng Wang (2):
net/sfc: fix aarch32 build
net/bnxt: fix aarch32 build
.ci/linux-build.sh | 7 +++-
.travis.yml | 19 ++++++++++
config/arm/arm32_armv8a_linux_gcc | 17 +++++++++
config/arm/meson.build | 32 +++++++++++++---
.../linux_gsg/cross_build_dpdk_for_arm64.rst | 38 +++++++++++++++----
drivers/common/sfc_efx/meson.build | 2 +-
drivers/net/bnxt/meson.build | 2 +-
drivers/net/sfc/meson.build | 2 +-
drivers/net/virtio/meson.build | 2 +-
lib/eal/arm/include/rte_cpuflags_32.h | 1 +
lib/eal/arm/rte_cpuflags.c | 10 ++++-
11 files changed, 113 insertions(+), 19 deletions(-)
create mode 100644 config/arm/arm32_armv8a_linux_gcc