Received: by 10.213.65.68 with SMTP id h4csp1670459imn; Mon, 26 Mar 2018 12:09:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELtOdaw8tGSH9+lR3vrBwryyPdlXsQ/MqsGO1ImngaltHgIu7tYmwOaUvNRGi65k126+3BNc X-Received: by 10.99.135.67 with SMTP id i64mr29215693pge.346.1522091361725; Mon, 26 Mar 2018 12:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522091361; cv=none; d=google.com; s=arc-20160816; b=fchSSEUC9sagLGB8wphNSuSopEknyE1BXhj6coqAmK4u/Ta53Gm0ZJJG+IvguVPCql KElw5Wtba4+r8D8Lz0UZutnxUguBBzui0Fvh4eVPqFe/n8y3gl+2ZYNUqtDVuZEFkhdW g7LXAJY/o2r366aQYoTapW8ySdrUlKHE3qx9sTwluyTGGq9Ra8306NK3asjCi7so90dY wafttkKK7cSM1FCZYHR1QDhoMbonAWZKPUsw+9O+VzuWkdwx/pQD+VFXJFKQE/WsnYdk B882U8tkYds3DThcxZD/w0W/+U8/x1qQZdmZj7IBjoVXhc2XurbnLrnDQxJrE5uCvFRT iP3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:reply-to:message-id:date:subject :cc:to:from:dkim-signature:arc-authentication-results; bh=QbYrVIT899xmI2h+rgFxYykgKONg1Fsvd5XGK30/g8w=; b=pIhKhCt9Bmml/E7Ed9uEZZ/iwzZdau+JhNgFZWDAl8B7V7wM+1NrNVEYAvHP0+Swtl 4ZqY+04n8aM/Q/M/ZXFfjV15wUnxHvnHFQMRMJTZAKB21vZ40jorkvz4Mg3W5l0NeqS+ o28Fza+xjEbNpRsd5bLWoJiMnLzR2hL9w214+bvJz8sMuFHI+cHPL6oTDBOlobMDYfL+ hXNU6hqq4YJCSbhq/vd5PtcLoUpa253BTZ+iIcCx/0tPtpJCA5Asv/tiNKoxRnHsxdGi 6TMSVxeVhCyw4Z2GA1dglUyELrLJnoh/sby+7epoSDKNLPbEHr7qYzB3Il+dDrWEyL3A ccQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=b5YUkMiv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f19-v6si2446419plr.411.2018.03.26.12.09.06; Mon, 26 Mar 2018 12:09:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=b5YUkMiv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752006AbeCZTF7 (ORCPT + 99 others); Mon, 26 Mar 2018 15:05:59 -0400 Received: from mail-db5eur01on0045.outbound.protection.outlook.com ([104.47.2.45]:23126 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750983AbeCZTF5 (ORCPT ); Mon, 26 Mar 2018 15:05:57 -0400 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=QbYrVIT899xmI2h+rgFxYykgKONg1Fsvd5XGK30/g8w=; b=b5YUkMiv+mdLvQWPKP73hRgQm6ftbI1yzo2kzmnY7Y3BtMFTVqhwdne2QI3i9qwc0gRPt+WcTuOiwfO609mp0/PUfvpL7QyYB67OiUYDljtnz9kFfclNoY+tUi0pm5ByKPWCda0PbIFLryZhlVb0x0hDS4ORYMpSpXUIc/k3dYU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; Received: from otc-sw1.am.freescale.net (192.88.168.1) by AM5PR04MB2993.eurprd04.prod.outlook.com (2603:10a6:206:a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.609.10; Mon, 26 Mar 2018 19:05:52 +0000 From: Roy Pledge To: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, ruxandra.radulescu@nxp.com, arnd@arndb.de, gregkh@linuxfoundation.org, leoyang.li@nxp.com, laurentiu.tudor@nxp.com, stuyoder@gmail.com, catalin.marinas@arm.com, horia.geanta@nxp.com, Roy Pledge Subject: [PATCH v3 0/4] drives/soc/fsl: Move DPIO driver out of staging Date: Mon, 26 Mar 2018 15:05:30 -0400 Message-Id: <1522091134-24646-1-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 2.7.4 Reply-to: roy.pledge@nxp.com MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.168.1] X-ClientProxiedBy: DM5PR1501CA0025.namprd15.prod.outlook.com (2603:10b6:4:9d::38) To AM5PR04MB2993.eurprd04.prod.outlook.com (2603:10a6:206:a::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ff4458a2-eb0c-4693-2a58-08d5934c9998 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:AM5PR04MB2993; X-Microsoft-Exchange-Diagnostics: 1;AM5PR04MB2993;3:sSIxCRm0LMDNlLAc4dBCEb4Qk83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2syYoP6HQqEHW18qKojKWit3QEi/RmANivYZhJUHQo8SS0BZ0Q57B7QJtqY04u8IbAvr3pbQTAKpHfytyWaQk9E23erXkcKFIqxANXXY+NB52AAkt3agOh1+xLylm4r7O1gMB6ZFAngs51NxN8tcmPcvIVt2SetOP8GqpXsnWNUH2SrMXtlEXkutq5YFocU5lOoQ9gHON/xZK7l/NN6lfQic1VlhtQyeQC1yVWU+RdPKvdvTezGOlbfbeL4btTvNkUZwXivtAHqgPVvNRUM91xojFQDoKsUHAFfSdw0OFQLXR+R2Fuw9xMu2WhfQd++r1f;4:KCbDFxuM8zwJGRxFhB3KVFfJ1wAKwFaQNSJxwS0QQ0Dd378b+XIG1zyYG9q9Z1GxZoST1EUd7PWt0Bf8WR6G8JsROF1jp13X9bwUn34DWbxfFsbMJm+cOt6C5X36W0Qc0FFawnYHyzyqC23BC0CFPVNOV0JiLoUOpItLyEky1rg+8fecM7+HhPuy1ovjbuAyVzXmg8j3S5y11swV3Tem95T/iwvovEaEBXNhYCEYRgxOfnxgdK9FsRCZsS+/Fuao5t33+rGZuVK5i9hSNroufA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231221)(944501327)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011);SRVR:AM5PR04MB2993;BCL:0;PCL:0;RULEID:;SRVR:AM5PR04MB2993; X-Forefront-PRVS: 06237E4555 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(39380400002)(376002)(396003)(346002)(189003)(199004)(106356001)(66066001)(478600001)(47776003)(6116002)(3846002)(2906002)(186003)(16526019)(26005)(68736007)(51416003)(59450400001)(86362001)(6666003)(36756003)(43066004)(25786009)(6506007)(305945005)(386003)(7736002)(316002)(50466002)(16586007)(105586002)(39060400002)(5660300001)(97736004)(6512007)(3450700001)(956004)(8936002)(8676002)(53936002)(2616005)(4326008)(48376002)(6486002)(81156014)(81166006)(52116002)(50226002)(476003)(486005)(486005);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR04MB2993;H:otc-sw1.am.freescale.net;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A: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;AM5PR04MB2993;23:wEpNB63Z1hHFGZvSLVqwo0GZ8RX8Bf6oyHsObsD4F?= =?us-ascii?Q?i7u/DwTOoHaQ+0bjCbruBtodc60svIlF//fnGWk52Gb+RVp4O25eQm8BH2OJ?= =?us-ascii?Q?VqtOgIEVBSxFfr+UUU/fDUZJ9ZX6nDaC8cw0ZwamFlemT9w01s9IN9ickol3?= =?us-ascii?Q?FnAEku9FRN84BtndKnvkALm3i1iDk3EyKCNTSsv5Otyy5XorZBpBUwnL26XZ?= =?us-ascii?Q?xV90UCm4FVJMHAX15kiubnML/jn520PhR/GjARi2EuaI6ReAYnWLmcdkrAd/?= =?us-ascii?Q?4f3L9uNkxYvkrLucN/P15dElPjKbML14MPTFC15ieLO6owWLauoq7UGpBBzo?= =?us-ascii?Q?3hfz+v/PYTQRtWl8KCVvUCzqAV7Sv8Lv0Gu8OhIlM3HIRDdi4tiXRAMaZCpo?= =?us-ascii?Q?Ty4SsSZc/RRLmGKiQi+yvksIXMZvHZOYqFNl3q7XCC0pGriLh9GD2r0TJJew?= =?us-ascii?Q?vlioGPGOiR4vEzYlT9tthZoViObmNvwNvJRwy4bUOa6EEkx509PgpQ7tGVtF?= =?us-ascii?Q?VCshHG0tMoKY3eIRaAUKpoffnHKJeE9uQzSHKNGwpn89/QgjJuVvToJkmb0g?= =?us-ascii?Q?wS6cHAazIDcnbqnbiZC34kRyUA0Lxba3vZmBvj708FQZY0UlrHXHNOAnY1mM?= =?us-ascii?Q?GCUVM/80t4QI3ZTA1I4nch74XOHW56IpHML3paUGFb0CGHZVaJVskAlrEvPx?= =?us-ascii?Q?c0lu/uxAJ6DPAR9bMF6q6Aiz9JRF0/AWJ5AGqrmGnFQwHJjEJzRszrOxuKWT?= =?us-ascii?Q?GwJIIdsWr7uwsVa7Cx1fT14nMcgg0jLXC7pHaBcGHisRHzcApy1TzPY4u7Nq?= =?us-ascii?Q?/5xRtiyaRUKRYDqDhKBSmEjCCBG642C9QXb45e7f5768N3pKSayZqhoSrEBc?= =?us-ascii?Q?XEOpgwds4d2BXEvS5aE+6Etl+wiTVNTiXQais1f8tdYTtWxw3HKVmOlM9X2F?= =?us-ascii?Q?fKO0VwcZ+9J4eNHPcsRysBI0RK8MdwztFMl8T/KM5XXrWeXhiYtG180KVLFY?= =?us-ascii?Q?d6VWLJB+/Ze4EDg46ovBKJYoKGaQpvDI4HTtCYY8iz80Vs9vOPN072T2KlGQ?= =?us-ascii?Q?aC9kItrOyQmdIwVshrtMkGd8OYxBirFrmJYE68wNQlSJna9povTtxD5HiqEk?= =?us-ascii?Q?W8iQZuWIjNwvL2UjEePDcamqEydoTPNkPzjxmIv0d3B8D2z13s/ZSlOfWd5k?= =?us-ascii?Q?V5ku5HosgMGY2ytHlG0n1QzYfVti08UOdYoVkq3ykgwRU76G7R/3ZVcyg=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Antispam-Message-Info: PErcs0rK1x5AqjLOCbe8oTdB56YkjTAKJwq/k56i0evf5/QPVwhfJijxLCJSwJ2euK+t0Det4GNQ+Li6BSxnRm6QyyKJQFRh5USNxl9dJxzY7gwAfZ1Pn3pILcu4gxM3A8ks4mEDyo37jlY/RyLifXS1hhoxWSWoxizVzBb0ncC/foDmpjd/NdQtDcF3bmeF X-Microsoft-Exchange-Diagnostics: 1;AM5PR04MB2993;6:4V9AwZhhGnUzBJt3J20FwEwGp7H9U6bbpmpvc6/2of6xuihvlTe7KTumHMztEU/Y86c+RQl74We1p/8JkCFlak4yuvaPIedz5FVwxQfinROfk+YeC3iTnNAHQIOMMOhSM1uW0AQwXJ3OO6v8chEMOkA1rL6xvuITj1evD8C7+egxjb27g6b410Rbdjzt41h8IP0gV8J0gAS1vTmD48OsFCabHTZb0y5xeMafQjffuPB9cnCN69zZkh5yTYCi3h0Ma9/5a9QRbWfcSIFo/me2wgpEp3EWR8R2+HAQimDBROQU/b0aI3n2Y0jOq/AdaWjCRzRLl/8v1kANTOH/1DJJOPXLOKkyGQ8XteXD1GnUeE2RH/jxrp0xvxE4yECcw5xCRYC+6wMT+yVIOZ+v9IVbjqcla+WQsREtKq8I2gC5TyZ2Gcz2r8ClrJI4olqz9w/pBW42OP/UzQbatDP9x+osMg==;5:oWew1SZFWbLajTU7QXGfvf1YAroGpOJPPWLsLb7cDYRxWmdfbeUU0qIQHPWy09uEeWvNQbOX3uHsAL3xo+P7zboySCuOcILbeqgFISmu6GBje2r/k5JeQ7CURHpIgu9KmCHrTyU28H3HdWifhi+ze8P//neESflt8n6vkt/3sFI=;24:r0Niv2/a1PWnwn4ti57BculthQEs3HKAe99C+Fr+y9HDfLy0gcmLsazouZouSEANer2q3lzMpoO1YRh7X6FrSWINxBkzOgCY3q0rZlUvGcs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM5PR04MB2993;7:mtHvUAfmAwN2VSMGgsMGop4i7pnD5fPgUyeCBCAA+0VRetnQA/c07OiGVBw25cZu8N/hl5Fb7Bz5trTLGxQr8U7OKhAJs2t75DyjrsnsECss7pHUdsMVZ3KKnF4GI94pWegD7CtuUyHk+TMmhUfFDFYqGC31uMPoZDHhUJtoqbAWKRjTGTVqO7Ses+D2te0Bqrwp2+J3iqnjuvs5BAPbp719mne7C8qeqA97c8Z9EAjaQ/ejImmB3QIR7xLCI6xJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2018 19:05:52.0398 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff4458a2-eb0c-4693-2a58-08d5934c9998 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB2993 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset moves the NXP DPIO (Datapath I/O Driver) out of the drivers/staging directory and into the drivers/soc/fsl directory. The DPIO driver enables access to Queue and Buffer Manager (QBMAN) hardware on NXP DPAA2 devices. This is a prerequiset to moving the DPAA2 Etherney driver out of staging. Changes in v3: - Update caam files that use dpaa2 frame header files - Fix spare errors and memory leak - Remove empty staging/drivers/fsl-mc directory Changes in v2: - Fix minor conflict in latest linux-next branch - Generate patch using -M Roy Pledge (4): drivers/staging/fsl-mc: Use memremap for DPIO cache enabled area drivers/staging/fsl-mc: Fix DPIO error path issues staging:fsl-mc: Move DPIO from staging to drivers/soc/fsl drivers/staging: Remove fsl-mc driver from staging 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 | 51 +++++++++++++++------- .../fsl-mc/bus => soc/fsl}/dpio/dpio-driver.txt | 0 .../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 | 6 +-- drivers/staging/Kconfig | 2 - drivers/staging/Makefile | 1 - drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 4 +- 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 | 0 .../include => include/soc/fsl}/dpaa2-global.h | 0 .../fsl-mc/include => include/soc/fsl}/dpaa2-io.h | 2 +- 24 files changed, 58 insertions(+), 59 deletions(-) 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 (83%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.txt (100%) 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 (100%) 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 (99%) -- 2.7.4