From patchwork Mon Jul 23 17:00:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roy Pledge X-Patchwork-Id: 10540617 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 113CD17FD for ; Mon, 23 Jul 2018 17:01:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFDCB28CAA for ; Mon, 23 Jul 2018 17:01:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E386928CC5; Mon, 23 Jul 2018 17:01:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3B13928CC4 for ; Mon, 23 Jul 2018 17:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date: Subject:To:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/PRAp09E4q18/yx4g2rvXwTeHMaj3F0SEp6AYcHfMTk=; b=KTwoeKO72PBJ9j bNAaFzUFywUj3WvrjjbJd3CYGY3szpJqclqMIH1oMLDj4xNBoP3q2UzEm0PiymoAvTieLxW9Ha7XU ScGvuv5V1PHVNx4jVqSaOcZphqYU7tlI8dnjhTBsiunOq5qr6g5yFBSrNHqcXNOzgYct0qiVovkXT a5IRfC3zOYpqGOsxUSBYvU7Q86TAQT2pljWLgCShbEu0RlQHUdCxC39yxsViq8q+lvV8K0yimTEBb KXRFV7H2xNL59X9Kws/Bk4nBlVLwAIw4pu4HIpoZoIHlX4SkCWN95656VE4P5hW5gqPfO3uXBouha /1Fwd8EG84MlEhMw8YDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fheCu-00083K-F3; Mon, 23 Jul 2018 17:01:12 +0000 Received: from mail-eopbgr40084.outbound.protection.outlook.com ([40.107.4.84] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fheCj-000813-LX for linux-arm-kernel@lists.infradead.org; Mon, 23 Jul 2018 17:01:08 +0000 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:X-MS-Exchange-SenderADCheck; bh=cxzbPgs9x4stLnwRTIgJqxMpDHpIEc5EhnyZMoQr/0c=; b=TGvzBJzFFrt3hlLYkeIStOauMl23zPLTk5FrH0p63NQrCL9Cml96qbBIrhI/eB3XZHW9ojObgKlKtiG2IxdoRLxlh6HXFajJ4+WoFhUpsc5CncMGyye/XO19Q9QABtVrByk6VZJefqjNJSLhN6+wsoqEm3Hgt6sTYu5HvKTHPtU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; Received: from rhuath.am.freescale.net (64.157.242.222) by VI1PR04MB4494.eurprd04.prod.outlook.com (2603:10a6:803:69::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Mon, 23 Jul 2018 17:00:44 +0000 From: Roy Pledge To: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, leoyang.li@nxp.com Subject: [PATCH v2 0/4] staging/fsl-mc/bus: Move DPIO from staging to drivers/soc/fsl Date: Mon, 23 Jul 2018 12:00:21 -0500 Message-Id: <20180723170025.2259-1-roy.pledge@nxp.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN6PR1501CA0021.namprd15.prod.outlook.com (2603:10b6:805::34) To VI1PR04MB4494.eurprd04.prod.outlook.com (2603:10a6:803:69::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 78773fc6-8f8b-48d6-89f8-08d5f0bdd56d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4494; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4494; 3:08LCikoipbl++r6norOTIJiFeOjGdDTJfTdD1BdFkkbb5CIoQ1ncgS+IES437GGLOSgq7CXk87n6tqF6bbYmfRXReqetT0WNgUgsaJera/Gb/uuU9XdmuNtEx3VRoGlKj5GhQ1kP5Hm1DiwbtwaI/LLvZ8mRlpafuwb1rM69M8avap4oZ7pvlkoRmkujNHxehnQ1fDOjJa2sXMynDDYcsxP+ixwx37Plc5ZNkSgaCv+Bp4oWJjm50P9dVKaG6XkE; 25:+cY3mis7E/0AXDb4kIPa4CCQHm41Ah9buc6RFByS0IiauJUXvHupzFKf4UqFrPKp/54WJ6oKy9DXD9/nxJtvkF5df4mYjqtgwc+VuRa7430uS/d0G98jFA3JOvrYZd17QqxFW6gJx2M6ivjjHWZFeN43wSRRKSLG2jWVC1FyLZi908854Upep7Gt/SUFzKqcaOK3Ae+F/e3KpUHOm+N+ATG+dEjIYZ9XQXskII6DUD7f1ZM0/+VFaH/1Z5ByleSsGG7IWrW5UVmUjNMHmCB4G/UgajNdhFEUwJbmd/jveze4lsr5EWeDZb/LalW6PtdgD392286kaYIURlXA134FUA==; 31:ArRLHgFRvMfv2sqdYpG+3By5hUB3A9a223YMpvOB3xGLKgOcv9tiyKts6ePHEMePcgMxT1ERNPY7QlYXAKa/kwlNoyA5XHpwmr3MzH4MkDQEp65CjTXT+NXiRju2RK49KXBv272/Blnd1b77gh9wg/iXqfUjLcNrxsVQh7DDOKNR5XSINEZxjRZXx03DLiikKkIRonYbfNtFeeytrPfUIHysv2FricIw0fgZBiYWzSM= X-MS-TrafficTypeDiagnostic: VI1PR04MB4494: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4494; 20:DDlsncwbnkfWn0qMhVDZeFeQT4BagQTKmP1VvHO2iGQrtYUEb12G9mSmENE9/qimQIh4Bm7yoifcV69jOy87HIkH8cO9NJ65mb7+aRAb34NLHP8Z/dxt5YXdbpbMJso81paUOzfCjvwSSjpfbtsPv+86IlxFEcWsheBSSKTA+/81qhRbqWaFkqim4apTgUT12o/02ijeZnedwmCJglKxy7QX2NIO3o3VVrKp/vMzjeR3x8ktvbqObalgJNc3gmAp9AcxohGOgeHzwNKMd0jl+xJdvC1SaOB392PO5zBcn28Mx3jSOyuPyam/EU1OWzfTyXKQyX0daRg4iJ4jSQ3DmDAMK11iPiUaFujGSBWqtSssCweO59grSeSNK1IzinT7PWYZjpe7RCMOImNPMh4xYb2Egv33myR91OXWx8pD/43TGX/VpGZ83GeOCy7fEKtkJKajkKhq8PTaKikWvKHA/eTHnhOLvSrgnxaikUCs7nQbmOxCWAriD37+Ck+Odym2; 4:mB5o/pI9UbxvuQEtpM55jy9Hv8qEngiTioJxNhF6cO8M1m6qtdTczvSXGdYv0Rhh9LM1SBX3cWdD6wNGRcMjpfvuSogejAwjohBhWcAW587N1BRsgZLnG1tMkVhPBIbFkGkpyzE3+Eac+OBFDQ0VxqgAKBN6aEEH6rczyeEdDAGXYfRHxGMS4eGBX3ym50Q7UNQ3MbLQlwxgfSkrn9Q5ufS/IAGMemKQKFOpmC454shARIFLd/myd7SKfw7q8vZctNbP8cZcdb267e21Sfvg+Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:VI1PR04MB4494; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4494; X-Forefront-PRVS: 0742443479 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(136003)(39860400002)(366004)(396003)(189003)(199004)(7736002)(386003)(6506007)(105586002)(5660300001)(6666003)(186003)(2906002)(16526019)(6636002)(26005)(47776003)(8936002)(316002)(81156014)(3846002)(6116002)(50226002)(53936002)(476003)(4326008)(68736007)(106356001)(956004)(2616005)(25786009)(14444005)(43066004)(6486002)(50466002)(66066001)(52116002)(478600001)(8676002)(23676004)(86362001)(2870700001)(3450700001)(1076002)(44832011)(81166006)(36756003)(486006)(305945005)(6512007)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4494; H:rhuath.am.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BVI1PR04MB4494=3B23=3AYFjVAJ1?= =?utf-8?q?gYfsO04zxEHpFNySt9KIgo0mzUhcC2xhYIhxT39Wjx804LgDf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nngAZhi829YXWNkHcJ5tCYEdEkJ7fRlSi44vl7EEEzgCw9CqwtlCXiNPPPkTB69GC/a5oMuPbd+PBbO81g6JJUPveSeQ9nfkNKFclrf3+CQ+DA==; 5:xvLFAkVub3OycZR7NNGNmoKPw3nRNcHAauwRF4tvAabRZmaU+MHr9g8Ll5t7smafrlZsdtGuohyxjhz0Kd5aBfuX+pB9urnl+WInCJN3V5M68lpVytMowbtihX/Bi5xSkptd14i1/da79nj/JaF3uJAxlwsovQJ6ENy50ZDyNN4=; 7:Ht594IFl29G084oWIPX2/yKQZONqoJrZUFkRkiX+l8MI2uLcb9Lf8v3/1BQzzDDldlVSp0LYFG0s8SmWUu1s3AdzF7qWYJua8yKfFNzRwIYF0YmyqHXWP+MBQc1X/onvG6LRES7WARDtmat7SY97dKvg0dmuMtIEJXe6iwe+IO1IicljxaPlEfaYrjlHZRPUZZ0KURJH9kb9v7ghL74opgrpxyUBqG0IO1TwUC6r64Wmkzwb1I6PyeZBJrmxu7OV SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2018 17:00:44.2691 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 78773fc6-8f8b-48d6-89f8-08d5f0bdd56d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4494 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180723_100101_879687_2AD302FF X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: roy.pledge@nxp.com Cc: horia.geanta@nxp.com, arnd@arndb.de, catalin.marinas@arm.com, Roy Pledge , ruxandra.radulescu@nxp.com, linux-kernel@vger.kernel.org, robin.murphy@arm.com, laurentiu.tudor@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Move the NXP DPIO (Datapath I/O driver) from the staging/fsl-mc/bus/dpio directory to the drivers/soc/fsl directory. The DPIO driver enables access to the Queue and Buffer Managemer (QBMAN) hardware of NXP DPAA2 devices. This is a prerequiste for moving the DPAA2 Ethernet device driver from the staging directory. Horia Geantă (1): staging: fsl-dpaa2/eth: move generic FD defines to DPIO Roy Pledge (3): staging:fsl-mc: Move DPIO from staging to drivers/soc/fsl drivers/staging: Remove fsl-mc driver from staging drivers/soc/fsl/dpio: Convert DPIO documentation to .rst .../networking/dpaa2/dpio-driver.rst | 30 +++++++++++++++++++--- Documentation/networking/dpaa2/index.rst | 1 + MAINTAINERS | 2 +- drivers/crypto/caam/sg_sw_qm2.h | 2 +- drivers/crypto/caam/sg_sw_sec4.h | 2 +- drivers/soc/fsl/Kconfig | 10 ++++++++ drivers/soc/fsl/Makefile | 1 + .../{staging/fsl-mc/bus => soc/fsl}/dpio/Makefile | 0 .../fsl-mc/bus => soc/fsl}/dpio/dpio-cmd.h | 0 .../fsl-mc/bus => soc/fsl}/dpio/dpio-driver.c | 2 +- .../fsl-mc/bus => soc/fsl}/dpio/dpio-service.c | 2 +- .../{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.c | 0 .../{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.h | 0 .../fsl-mc/bus => soc/fsl}/dpio/qbman-portal.c | 2 +- .../fsl-mc/bus => soc/fsl}/dpio/qbman-portal.h | 2 +- drivers/staging/Kconfig | 2 -- drivers/staging/Makefile | 1 - drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 4 +-- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 22 +++++----------- drivers/staging/fsl-mc/Kconfig | 2 -- drivers/staging/fsl-mc/Makefile | 3 --- drivers/staging/fsl-mc/bus/Kconfig | 16 ------------ drivers/staging/fsl-mc/bus/Makefile | 9 ------- .../fsl-mc/include => include/soc/fsl}/dpaa2-fd.h | 12 +++++++++ .../include => include/soc/fsl}/dpaa2-global.h | 0 .../fsl-mc/include => include/soc/fsl}/dpaa2-io.h | 0 26 files changed, 67 insertions(+), 60 deletions(-) rename drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt => Documentation/networking/dpaa2/dpio-driver.rst (94%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/Makefile (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-service.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.c (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.h (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.h (99%) delete mode 100644 drivers/staging/fsl-mc/Kconfig delete mode 100644 drivers/staging/fsl-mc/Makefile delete mode 100644 drivers/staging/fsl-mc/bus/Kconfig delete mode 100644 drivers/staging/fsl-mc/bus/Makefile rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-fd.h (97%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-global.h (100%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-io.h (100%) --- 2.7.4