From patchwork Tue Feb 27 17:25:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 129834 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp539451edc; Tue, 27 Feb 2018 09:27:35 -0800 (PST) X-Google-Smtp-Source: AG47ELtlMwRHrQlTZtwniReugHyhFjySv7iIfv+mE7r5psv5iQeAmz4xA1o4MVFR71pY46QQ62Gm X-Received: by 10.28.6.83 with SMTP id 80mr6383027wmg.12.1519752455913; Tue, 27 Feb 2018 09:27:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519752455; cv=none; d=google.com; s=arc-20160816; b=ViYF5lI58zaUlsax+iGh4pAsLSDrBbc4rhmTAtkCzz2tir+IoHfqgJzBSDaaESHgAN Im7XRYzO/w32aD2E/7b8F530jeUSAnHkqSHdXmnquBz7/HZFtLIi9VjdMhBCTZo0p7md G8Caddsf4tJnuBVb+Cp/10Eai3vMSBRYdK17vQHg2lWAj2ipqb/2TEdOoIu+x+e6m/kG 8RTaClz43nK+5iVp2pgnhMymQ4s3J9yqoWkIWeH8gfz15SZZZYgZ1KaS3rkJNuNYGKZE Kpv7cDBu4tr0OUcplJn0XczSrKKXDy7B8aYe9zIT/dE/SpP8UfTclgtT1lucR9rVfrYP E+lg== 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:message-id:date:cc:to:from :dkim-signature:arc-authentication-results; bh=eOAaB0w0RXWN7YtrLn5cibtGqPN2SHaus1t4NIM65Ns=; b=Cs8MfismVsNOr6pGTPeWZ2ag6IJXJgVX47U1L43UMab0uWKZBZOsf4AUAyT8C0okfJ AQc17nulZc1CPUFuvSI83NePEirASJHJYipBc0164NrsjFjsSmhRxG59w3mWww77wpdL d0b5g+VuJzpJMYIFbwQ+MlIrTif+Fvq3CDKHTJbHzaDm9poRwrw0r0McN44y/qh6dBrZ 77pDmqBobfaHBcadPnxQ/IMtioq140lfNrWbHsKWjx2JuRVovJ5op89HMdLnAJ+Wfv0j T0yF+nqDhpFGEJpF6mBrVFpZdpBLeNJvmvK3zRDm8F+xRHWSyetBpePdeAsbqBB0JF7F ZtVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=Zz6Fbp26; 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 b76si7736461wmg.140.2018.02.27.09.27.35; Tue, 27 Feb 2018 09:27:35 -0800 (PST) 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=Zz6Fbp26; 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 D681C29AC; Tue, 27 Feb 2018 18:27:34 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0075.outbound.protection.outlook.com [104.47.0.75]) by dpdk.org (Postfix) with ESMTP id F06A7101B for ; Tue, 27 Feb 2018 18:27:32 +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=eOAaB0w0RXWN7YtrLn5cibtGqPN2SHaus1t4NIM65Ns=; b=Zz6Fbp26zmFP50uBxjtuO2ISAgo6ElNxJRufgOlwZQx8IpDb5jsLgOP87iD4SnNeDSHrg1CidXqqcHtRSfHJo7FnmbV3UNIAI6wok6sdn5kbeG/Dq7V95Yg7gSF6GxARBuprPzq/aRXsgxdZb5azqSYWDt6Q3E8jPjXMgHOi/WE= Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by DB4PR04MB0768.eurprd04.prod.outlook.com (2a01:111:e400:984d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Tue, 27 Feb 2018 17:27:29 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net, shreyansh.jain@nxp.com Date: Tue, 27 Feb 2018 22:55:45 +0530 Message-Id: <1519752352-15442-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0017.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::27) To DB4PR04MB0768.eurprd04.prod.outlook.com (2a01:111:e400:984d::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1f71d016-9b49-4d4e-b4f8-08d57e0760f4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:DB4PR04MB0768; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0768; 3:0w8Ho3kxgyrzmbAVUMf9jnF7W2WEpDeFKIdZ6BMgK+rqTfwDU0w5WIrVVhuIrNI9CB6kV4FLhT5MylpiJnmtfvnDcv6y+I4qXppnUPmrn3Wqdvyfqvmt97/hZZ3oGAo3LXGVvBMtWbWwAy6NeGbzg9IEG6nPR6ul1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SDcBtTiKvTKVNwvZSRsq7SZvvn1Tbf5B3OSs5uUEnPeo78OXMKkm7GZCmjfEFnF3iymFgLc0zXftcEW0TcAvCCxhRDLIi5tYAKjfrowuu+pc+tWCsnplytp6oyr6BlAxlYTXtNjH6GLAs0gNWMmXErixzshHpsxwB8u37MVH9esFUb90lPB4ldyVHMQhMD; 4:FoOzS22dUsTXtj4uZ+wc1y+3QXnAJfFeUMZIvTeuAYKahHJFDOXRuBndgkvduabyi2pNx8ompS9jDmZr5f5tGgNScOe9Mugg+ckkVUv6Ls4anuRlwqtgWJQ4ODni95/zJAaxUSO0l1htX3EVsLwIBvizmFnsjkRxzYHotwIcHEX0wIIVfhYXzWGzdsLBSxZqZXBOqb9ms54uiVOLzANxWPXRrY0Eh0E6McSdPxrONxltbZNrFG6z8VMGclL67/FztdpaIf/0tbnGsVvw0okg7yHresaZuofwMlMMoZFIDNxYLbpa+dLqJJjA8TsxJQUQ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501198)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:DB4PR04MB0768; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0768; X-Forefront-PRVS: 05961EBAFC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(39860400002)(39380400002)(346002)(199004)(189003)(26005)(316002)(68736007)(105586002)(16586007)(6512007)(36756003)(66066001)(2906002)(47776003)(386003)(6346003)(4326008)(53936002)(6486002)(8676002)(55236004)(8936002)(97736004)(81156014)(3846002)(5009440100003)(7736002)(5660300001)(6116002)(25786009)(50226002)(6506007)(305945005)(478600001)(81166006)(51416003)(52116002)(6666003)(106356001)(86362001)(16526019)(48376002)(50466002)(186003)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0768; 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) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB0768; 23:geJsxTPiAe4XFw0BRTfysirW2bU/iMbXgwQe5psqb?= 4QonAyYBNiIJ6eZjegRxI4SUE9jmjxzjyOb6MU3bfA4LIrC1D1VMVzFMK32Bp0Es8gw1CYo/APUu6c1PHpfLOwG/Sv4Zpmix/kjmKBaJODQV9nhYAsZv5o3El738INQFBR4Z77UOBsgLzqfg1xxqIRnZ9DxxR8OOGb+lS4hjH6FqExyOUlq3cXElLgqumHp8nMtn+XQGDPjSraMGB9+yB1EukkMvJNYb5tkvyfnEpznSnaWMaBNMXcVrGvO5GY4oDVsGwXj0G0M2f9lnnmpjf0DQCLkqYG3WYt9EiXa8MdBiG8o+tuFGe7Yf0vPeHwh37rB26SqYjwrVp6eYyUtEQm0dCHiD9PeQ/a4FBtRw6Na1+OqbK/+w2Apqncdq2I0zU4Z7zF6sLQirVoxC2lhbgpG2/h2kaG8AwVPDM/67slUJ4mlrHHRWKvxk5gtv3aBnf7rCTAzdxUaaBSa/bzuOUQ+D9NswTHgQAH1PyTatroGCMYBeruIr7r1P8ZQmZ2qtt7NV0DzXJa0DFT7NuCr2YiUH3pntgOBl7QRcdVU1J2sSGzxvq6XzArbOi4QyJGw0Yzc5K9X9GUAtxgzBW6VBrKW/4iNML04/V7IJdcc8UJKnYGigU0imz0bt1IcgJ4KQ6IIXcHggcqxS/2cNkgeQ2Ibtm6PBB+uSPtB43U0Cq2aG/FsjiKfhT6b3WvmSTsnXhCytcHGB77HzWll3kIzXYHdH++yTgkA011P+02lQnHG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5jE0joY88J8kg9zfqFdFbyBjGBNCUQNi1JSHBV//1FU82OGakxKBAbEJo/q4kVzpkyP7rBXqfQ5RaGKIvjiB6Mqxck52se5J6KguN+1T5HeS7rxlGa3fe+SBiKEkQDpKYYtzj1Zz5DLW8pn9yVrBaa7wk1Y2qSI2B/X+wbfpv5AcCI1ZXZqUmgvz2eoq/mbKUsMpCQcDMZDdR5/z7zT1n4zMVYWhX3c SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2018 17:27:29.0563 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1f71d016-9b49-4d4e-b4f8-08d57e0760f4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0768 Subject: [dpdk-dev] [PATCH 0/7] 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" This patch series enables the meson build support for dpaa and dpaa2 platforms. 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. Hemant Agrawal (7): event/dpaa: fix include header 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 build: add meson support for dpaaX platforms app/test-pmd/meson.build | 3 ++ config/arm/arm64_dpaa2_linuxapp_gcc | 13 +++++++ config/arm/arm64_dpaa_linuxapp_gcc | 14 +++++++ config/arm/meson.build | 13 +++++++ 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 | 2 +- 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 | 28 ++++++++++++++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 4 +- 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 | 4 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 60 ++++++++++++++--------------- drivers/crypto/dpaa2_sec/meson.build | 16 ++++++++ drivers/crypto/dpaa_sec/dpaa_sec.c | 30 +++++++-------- drivers/crypto/dpaa_sec/meson.build | 16 ++++++++ drivers/crypto/meson.build | 3 ++ drivers/event/dpaa/dpaa_eventdev.c | 2 +- drivers/event/dpaa/meson.build | 11 ++++++ drivers/event/dpaa2/dpaa2_eventdev.c | 6 +-- drivers/event/dpaa2/meson.build | 12 ++++++ 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 | 17 ++++---- drivers/net/dpaa/meson.build | 15 ++++++++ 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 | 38 ++++++++---------- drivers/net/dpaa2/meson.build | 16 ++++++++ drivers/net/meson.build | 2 +- 44 files changed, 418 insertions(+), 147 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