From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AB273A04B1; Tue, 25 Aug 2020 15:05:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BEC2831FC; Tue, 25 Aug 2020 15:04:50 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by dpdk.org (Postfix) with ESMTP id C28D7F90 for ; Tue, 25 Aug 2020 15:04:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 5E3F1970B4; Tue, 25 Aug 2020 15:04:46 +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 TocGWhYj_9-H; Tue, 25 Aug 2020 15:04:44 +0200 (CEST) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 913C0970A2; Tue, 25 Aug 2020 15:04:44 +0200 (CEST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: bruce.richardson@intel.com, aconole@redhat.com, maicolgabriel@hotmail.com Cc: dev@dpdk.org, juraj.linkes@pantheon.tech Date: Tue, 25 Aug 2020 15:04:39 +0200 Message-Id: <1598360684-8975-1-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1597401092-13713-1-git-send-email-juraj.linkes@pantheon.tech> References: <1597401092-13713-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 v8 0/5] aarch64 -> aarch32 cross compilation support 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. Tested here: [v6] https://travis-ci.com/github/jlinkes/dpdk/builds/179252628 [v7] https://travis-ci.com/github/jlinkes/dpdk/builds/179723067 [v8] https://travis-ci.com/github/jlinkes/dpdk/builds/181307330 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. Juraj Linkeš (3): 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 (1): net/bnxt: add support for aarch32 .ci/linux-build.sh | 7 ++++- .travis.yml | 19 ++++++++++++ config/arm/arm32_armv8a_linux_gcc | 17 +++++++++++ config/arm/meson.build | 20 +++++++++++-- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 30 ++++++++++++++----- drivers/net/bnxt/bnxt_rxq.h | 2 +- drivers/net/bnxt/bnxt_rxr.h | 2 +- drivers/net/bnxt/bnxt_txr.h | 2 +- 8 files changed, 86 insertions(+), 13 deletions(-) create mode 100644 config/arm/arm32_armv8a_linux_gcc -- 2.20.1