From patchwork Wed Mar 14 07:55:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 131558 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp547867ljb; Wed, 14 Mar 2018 00:58:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELs7P8GjdRFf+CGfw4d59m6A4gYJGa0dI1Gi7AqFoaBPtLXtxO/u5fGYIFmHqMbCBEi5HUpJ X-Received: by 10.28.182.212 with SMTP id g203mr741668wmf.155.1521014299409; Wed, 14 Mar 2018 00:58:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521014299; cv=none; d=google.com; s=arc-20160816; b=oyy3EpevJtM0uma07eEhSDRhyMKG75dQPwA5HLQcUCxVnRkmpQBPSgcW1lWTY6hVNX AI4T+eMNoJJoANykMZYlaeY45zeH696xb+xfX9sHAMXawzPYDRxH7xTKlHCS1b0irsLp TYXVOO13DnCBFQ0qgg52QEW8exAtrloUcMBGZMqgKe3cy/YeX8cE30clPxcTOZ30+CW3 ZbFrtXcMj5E3KfJdseQXGY7lj7NNiybGDcsELz+dAJd0DuNyxLUEZerd3IIEf9HXIHK3 ptliepXP4GmbdJxQIuJ7aLvM3ONTRdEOdWDfWZKDAPLMVV75LSwM1PeG7hJGyL/Ncn2c /Wrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature:arc-authentication-results; bh=mOFyZ0WQviMqiMXmVMqk5n+2wFP/oyc7GeboMDf1kUM=; b=iRudR2JwQ6xOpR0v9Lez9gxX9Rk1yptKRmHhDp+t+VIeWMEwmC52jUlmasL6qhR7iD u3+0KzygKcgc55jsHDP22DNOoMgGZxQrgq/CmZWPHFKKLiuYAJxUaWkVBWWE1oc9zjkE /yX/0F+otNVbyFSKVoSyX4UyuiQdifwQTVy7iPhyBjPgOeps5Z9STVZmeNWCAJ2dgsC+ s2z9/Zqa56jm+DJkmzE0TR8D1caGKboba1dcykUqPhdTXDjCex5k3U9F1QqZ1/HBmcmu 5UVFioW5ZvNUAarq9stneH6QedYeYv6fubTnUG8yNNF0A3HbtiD+CkipcwHqBw60H8Sf eyVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=MpJnYw16; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id n82si454024wma.121.2018.03.14.00.58.19; Wed, 14 Mar 2018 00:58:19 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=MpJnYw16; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DB595F5D; Wed, 14 Mar 2018 08:58:04 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40088.outbound.protection.outlook.com [40.107.4.88]) by dpdk.org (Postfix) with ESMTP id 422BC5F1F for ; Wed, 14 Mar 2018 08:58:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mOFyZ0WQviMqiMXmVMqk5n+2wFP/oyc7GeboMDf1kUM=; b=MpJnYw16aUcE9c3Vbtpj9nDAKpJjxQsTPtL0+FXFpWQaUWU5qQM1bnkk5lHnsFRiO2nBcky1hRa1/y8jFpp5MqOOLn+p2HZVbkq6GG3HrLMfOw0iIcHO3/Klb0zpaMS/rgyEkIfIyQC6cpNRu8U6AHLQbofok5SqyNHLj24N6TE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0754.eurprd04.prod.outlook.com (2a01:111:e400:8411::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Wed, 14 Mar 2018 07:57:58 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net Date: Wed, 14 Mar 2018 13:25:56 +0530 Message-Id: <1521014166-3201-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> References: <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0008.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::18) To AM2PR04MB0754.eurprd04.prod.outlook.com (2a01:111:e400:8411::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 85ac48bd-80f3-4128-b966-08d589814dd1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0754; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0754; 3:PprxszA8TVLnViBdGnRFIlYz5ye9ZmzPK7MPiCLC4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6D5ujRv0xF51CcPqV3uB5uwx/Zp5jMngSRloyXkmsgYqJMJxEWtfc64WTOVbRjVEnjke87O1a+hwBQpmZ9waEZR1AK/om2djoC9nrs7rPLT2ONGo/HhaQBPx/4lj5qJD0dzYrE5AwJIExO9LCdtH2KgACJUFW5i8XZE1O2lh2j3QLn5VTDpkgMfP1Vve1CczK5VC65xvouTJbgyJ4Ng8ZLBvh29euYBqtTHlcrB7EKfda5PGUaAVS53/LFt2f/IBu2uIm9VzN2gB3XAn1lWFej6nlt5sQfkTcZXt0RTc3wDKYvLMNdfypucn3nmtr5; 4:Urq/S0gKZnH4V/YyqqM2HcnzN9/vVdy8c1quavXaz5hcho2y5ClPtShax3p6+ZG0YLFLHVUnQHpyhKwVY5K3UxlK1TJ05DM4g2FiOXdJUNUHKphc+5a5BStL9sk2h1C8qoHq/xmJok8FHS95vm5uc1/AngEQABVm4Fn6j6LsSaim+XsNN42/i9kDjrOGcbqsJg0H4gekRRQKgXZtIKTZZixdwCxiW2qKFlnVp+tDN9qHeXwpTuBYXiu4e6jEyCgg7gL92TPpCRuo90/OZG3Z6a19uX1imNFbFhHhsf+1PX67urYSQWzUn6cJWvRFOi+0 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501244)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM2PR04MB0754; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0754; X-Forefront-PRVS: 0611A21987 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(346002)(39380400002)(396003)(366004)(199004)(189003)(316002)(4326008)(16526019)(47776003)(6506007)(66066001)(186003)(52116002)(86362001)(386003)(55236004)(48376002)(2906002)(97736004)(68736007)(26005)(5660300001)(25786009)(105586002)(76176011)(51416003)(6512007)(50466002)(5009440100003)(36756003)(16586007)(81166006)(6486002)(8936002)(106356001)(305945005)(7736002)(50226002)(6116002)(53936002)(81156014)(8676002)(2950100002)(3846002)(478600001)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0754; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0754; 23:AuQBxmyymFnJYzMM97HvRMQgU6KMKyGHnkn4zrx6m?= u4fz2GLBxVAuDjUguXs/mOueAc21fCmnqnLkLL5pcgLCMoLXpNYWFgToJGSnsAaBP7o7/64DALUQtyva4pD1dKnDkDGXFYzfeE1P9vsSaaOYcLR1E7iwnzj/9Wp40n0Gmse8dAd/kLAS91PZRPwLjY/8ARFqb69R2fpOBXIQ4gIzwfjGkJXgwvAIpEC1eyMRcxWJeFyePRotHmp3EZnQkqpTYfnF/lVgcXKuc24LV+O7y0o8kkI5sNmbe3Fbi4xCEuUQ6NpRg+nolYIhazytyteEBeSwtyOuy/YUS7AuabwpAkt9daChCcSVtj/JE11vKC/M8xsccKaPZb/9f9lzPk5qrC8A5e1HsGGghrhaG/JCuSXqujTFXSkxj76qArI29QBsu4zKHTGh5xQddfGH11b3hdRTtlSSGIULfkNg2kXqq86G4n8ewqbz9LelMmP4lI4tqPb2qIJNCeYo4x1JrODYerDOwr9Nd6PgCYH0dzkPIIGbHDBy6ScpBHKFb//lk49OT70UttwqmFSn09DTFIw+G32P5WG2wdFFqXipgvThuGTT09XFP0ouymGL/mB8pkkqegatahbk7wALoRiAfzkBzkBwKbYtYqDbsj7TreO4QiudRZ/gTY5z7JGyclNplxRJpUBfZK6vQhQrkLMDwgjPpfFlzDDnEyIEIzkpmpfF7bx5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+U52PaqQfYjfFMbXwa2DF6lN1bBAcsTJEqEr2cC+iPszrlEA8tYJ65VmSPQ0VhgdPxkVDPq6jh6NF64oE91H7rDwzXRoPdrE7kEqUTQz2KQCx92Uzc/yHpzCaWVQtEOV6H/5I2W+tmVyOiAG7Punpk=; 24:BlcyUiCJfLzyMUjrQ2RN++jGPP/QMiZpfvuNvhqE54MnqS2BWH7HoD1NJ2rPCpOBD+BUolhM7PSXqvauYu98p8jgXkFIfBvYeBAcIEy7tEw=; 7:1AJT4dm+qhhVpy/qBpelda4IHLczSz+b6HW1DAVl7/1rNNrT29Jgz4oGYYtbX9DJuHA556uyEaU23WzYZIjr+Y+P3hqGmFUaehMiXvlXgaiQZAtN6rdu8QqKRuP7uZN5BH/mJVG/vTSQq04BDt3E0lZ90WplFuPW/fiDh2mOQH48htHpnDwsIwzT6mBAy+x4j1MoarjZCj60hnzRgmS8UrqJeUl5Ds/UtdA8NAka+8M+iXien6eDfrlEOXEEFW/M SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2018 07:57:58.4512 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 85ac48bd-80f3-4128-b966-08d589814dd1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0754 Subject: [dpdk-dev] [PATCH v3 00/10] meson build support for dpaaX 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" Earlier dpaaX was only compiled for armv8 target. This patch series first prepares the dpaaX drivers to be compiled for non-ARM platform as well. Note: This patch changes all of the dpaa drivers/modules - So it shall be applied to master tree instead of meson build tree. v3: - improved cross files and a function issue in dpaa2 bus. v2: - handle review comments from Bruce - move the dpaaX compilation to linuxapp Hemant Agrawal (10): event/dpaa: fix include header bus/dpaa: fix the BE compilation issue dpaa: prepare for 32 bit compilation dpaa2: prepare for 32 bit compilation bus/fslmc: add 32 bit functional support for ARM bus/dpaa: enabling dpaa compilation for other platforms bus/fslmc: enabling dpaa2 compilation for other platforms config: add dpaaX build support in common linuxapp build: add meson support for dpaaX platforms build: add meson cross compile config for dpaaX app/test-pmd/meson.build | 3 + config/arm/arm64_dpaa2_linuxapp_gcc | 15 +++++ config/arm/arm64_dpaa_linuxapp_gcc | 15 +++++ config/arm/meson.build | 13 ++++ config/common_armv8a_linuxapp | 58 ---------------- config/common_base | 4 ++ config/common_linuxapp | 14 ++++ config/rte_config.h | 12 +++- drivers/bus/dpaa/base/fman/fman.c | 2 +- drivers/bus/dpaa/base/qbman/bman_driver.c | 2 +- drivers/bus/dpaa/base/qbman/qman.c | 5 +- drivers/bus/dpaa/base/qbman/qman_driver.c | 5 +- drivers/bus/dpaa/dpaa_bus.c | 3 +- drivers/bus/dpaa/include/compat.h | 30 ++++++++- drivers/bus/dpaa/meson.build | 29 ++++++++ drivers/bus/fslmc/fslmc_vfio.c | 10 +-- drivers/bus/fslmc/mc/fsl_mc_cmd.h | 2 +- drivers/bus/fslmc/meson.build | 27 ++++++++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 22 +++--- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 37 +++++----- drivers/bus/fslmc/qbman/qbman_portal.c | 14 ++-- drivers/bus/fslmc/qbman/qbman_sys.h | 30 ++++++++- drivers/bus/fslmc/qbman/qbman_sys_decl.h | 23 +++++++ drivers/bus/meson.build | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 101 ++++++++++++++-------------- drivers/crypto/dpaa2_sec/meson.build | 14 ++++ drivers/crypto/dpaa_sec/dpaa_sec.c | 30 ++++----- drivers/crypto/dpaa_sec/meson.build | 13 ++++ drivers/crypto/meson.build | 4 +- drivers/event/dpaa/dpaa_eventdev.c | 2 +- drivers/event/dpaa/meson.build | 10 +++ drivers/event/dpaa2/dpaa2_eventdev.c | 10 +-- drivers/event/dpaa2/meson.build | 11 +++ drivers/event/meson.build | 2 +- drivers/mempool/dpaa/dpaa_mempool.c | 10 +-- drivers/mempool/dpaa/dpaa_mempool.h | 2 +- drivers/mempool/dpaa/meson.build | 9 +++ drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 8 +-- drivers/mempool/dpaa2/meson.build | 9 +++ drivers/mempool/meson.build | 2 +- drivers/net/dpaa/dpaa_rxtx.c | 19 +++--- drivers/net/dpaa/meson.build | 14 ++++ drivers/net/dpaa2/Makefile | 1 - drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 2 +- drivers/net/dpaa2/dpaa2_ethdev.c | 6 +- drivers/net/dpaa2/dpaa2_rxtx.c | 63 +++++++++-------- drivers/net/dpaa2/meson.build | 15 +++++ drivers/net/meson.build | 2 +- 48 files changed, 487 insertions(+), 249 deletions(-) create mode 100644 config/arm/arm64_dpaa2_linuxapp_gcc create mode 100644 config/arm/arm64_dpaa_linuxapp_gcc create mode 100644 drivers/bus/dpaa/meson.build create mode 100644 drivers/bus/fslmc/meson.build create mode 100644 drivers/crypto/dpaa2_sec/meson.build create mode 100644 drivers/crypto/dpaa_sec/meson.build create mode 100644 drivers/event/dpaa/meson.build create mode 100644 drivers/event/dpaa2/meson.build create mode 100644 drivers/mempool/dpaa/meson.build create mode 100644 drivers/mempool/dpaa2/meson.build create mode 100644 drivers/net/dpaa/meson.build create mode 100644 drivers/net/dpaa2/meson.build -- 2.7.4