Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933352AbcJUOIG (ORCPT ); Fri, 21 Oct 2016 10:08:06 -0400 Received: from mail-bl2nam02on0086.outbound.protection.outlook.com ([104.47.38.86]:19186 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933183AbcJUOIA (ORCPT ); Fri, 21 Oct 2016 10:08:00 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=fail action=none header.from=nxp.com; From: Stuart Yoder To: CC: , , , , , , Stuart Yoder , Thomas Gleixner , Jason Cooper , Marc Zyngier Subject: [PATCH 1/9] staging: fsl-mc: move bus driver out of staging Date: Fri, 21 Oct 2016 09:01:41 -0500 Message-ID: <1477058509-12547-2-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1477058509-12547-1-git-send-email-stuart.yoder@nxp.com> References: <1477058509-12547-1-git-send-email-stuart.yoder@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131215324754023001;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(3190300001)(199003)(189002)(76176999)(106466001)(105606002)(33646002)(2351001)(5003940100001)(50986999)(229853001)(19580395003)(19580405001)(11100500001)(68736007)(8936002)(104016004)(4326007)(2906002)(8676002)(5660300001)(50226002)(586003)(69596002)(305945005)(7416002)(7846002)(626004)(356003)(15975445007)(8666005)(77096005)(81156014)(575784001)(86362001)(81166006)(92566002)(50466002)(47776003)(2950100002)(6916009)(48376002)(110136003)(6666003)(97736004)(87936001)(85426001)(189998001)(36756003)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR0301MB1623;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD031;1:XfTi0amA/2q6XS+KD9YjZjOUN8RRcQ1xbubI+NIddYdRxhCGC3O6P8t5WMrz+deyZ/nNn1ABXUC4edMrwq/7Y+AKoT2S/T28Cqwxw/DszdvqpJb3ojm+YiG9x0Qju6XVr+V4ZvlD/OvgfQTONyB59yDUfP/nQE+HT5RvAiU9eX5pOCojoPlnUpG8IiyUR4uxcoNY6m5vMFNFblmOUILYCfxnjTYcGC+ZFenX1vDURwys9JbadjiPzymWpB2LVonkjl07wlVfuPslVktaENDwDsREyzaW5WKI0/qQ2XFOEyWwy7NkQK1ok91tegDSGvTl2H7g6o4l/1dwIoOQsI+bXNdkYzRBd5X5ZiOE9G6jtBjpUanlozFdUSoDWiaeNY9wrHsCOdJVk73i4eU2fCCSHNyfhH53JgH4y5qAe7fyK0zAzc0PXQuUVYyBOiFs/Fzo/ie841X97g58P0I0hriWzsk5og9O4UatYeMBn77fLlna4ZeUPI3J7ff592LFPYdHo6K8ATjrC0vbnWbvX/BOe8EmC130Gr+hbHmd3mteXmUO/O/ceKhl3t23XSJZHWEnMe8FY1HdeXqutHTsV1AyO9zXT8r+Sx3ID5nWTCk4seoTn+7M09/phmpcXjmayWSnxllhxMyQk8lL21fuoT0y9epl1nFFolpekDbj3FvRJ/b1HXKi/VArwICyWhkuKNbY MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: eb7fcd4c-2199-46e1-b0f8-08d3f9bba781 X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB1623;2:XPMzgUBnW+5Hz+sF6r7DmcLlsmT4Wof6TXzy7sNlG3AFG7i4L/Pnt1rJT6Qo2uU8jHI2eJazQRqzB4IWWevIEkRN7WUmW69QUjb7QpMpshJ7I3hLwoUkL5ptr37O+j9WFdm1kpNxIgDrcLorf67RbkIjx1nikTjG55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rjbHEK8lkP28OtjlNuNtlYWOPueTffnf5vndYrQzJviL9U85m/NzYihCOlfsd+t61/IkoDwzfW+Pe1Z+lUiva4DTW0tYhBnf32qzccmw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(9452136761055)(185117386973197)(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13023025)(13018025)(13017025)(13024025)(13015025)(3002001)(10201501046)(6055026);SRVR:BY2PR0301MB1623;BCL:0;PCL:0;RULEID:(400006);SRVR:BY2PR0301MB1623; X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB1623;4:ahx5RHn4Vxj6tdVk/WtGY5b555j4G2oaWG6Ds2REsRrJX7PKJ4IEqfKIXByVVGEx9A9sBhadHT+IYkT0/Q+p1MDk8UqJ0x9PdtrA3wkr07KwL6oW33z5X+Be2eP45oOrP5COX3UryhIhJCt3RRI82ciy9DzZdLI8ohy+nzZTXArkSeshQmJEI5tgucRSJF+Xh5crm7jm2NSxl8VWreQ8OLFEqrahPIpjvUlJkWXNnFOFziCv+snuWTMy3ptuUUT6mlFujl+wqoUL+4yQUQfyacxvelRL4uJwIwfs+tEImpFsP2ArXp7UJySWCzDSnum86sDBeN1+wwvkV+9j0l8R72Q6ekj4jx0/kq7LT4+BP99eoMCBJnx8GfCAyYwMaziBAvfP2kJk7yIjVI0xSVjZ0IZqN8GnM4hgsV7bjmOHndoaPs1UWvMXkfz8MP7a56fKKajpbTAvvr5tp1zBXfJyeKAOc8QZtRhjUZhP95jD6dheWhSQztUJ65oP1NpxRloFFznLpAWWLhk5DSNa6mETAhoKjLSqa40VYZ0un3bjOTJzdhVrQkMpqVxyEXzSjH1bDuXpFY4dbFt1FIcz6tY45rZ6CLXRQofNdR8D1alxCX0bisMDkXsUNYUX0OTCukWQ7iEXXTs6ca+Uo35P9EVk8HsMGWUigFABVQRlyfLmgi4= X-Forefront-PRVS: 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rzlw+jqBw/I6l4CJ7VeQ5c+TS2jDniXoLXCHfmL0kxKZ1xJJmuaq+CzXTrvxWpiFSU+PeC2G/QSZzxO4XblxhvlDgs2FzuYpYyTHCWDGEWLtWTZ+fnGwXkTzKNlFVfXds;24:WnzoPazir8w/dSThicRIv8fns0KCVj2+ijTUNhCKIe0hyOQTN5EIckbFs8OEPraMqZoBHMNoYRD7k4ztjJAU2hba6ad+SzKNhU7q/lh0wck= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB1623;7:ulfl0u42fi1dYv4swCSFUI7S4y7smGuVLe6+Z+fV/1C2DNf7HW/N7Zj14MnTNvtzomtouobI5zKJiSd5a8PYRnnrTAOJpjLEV5niFUGqhaz2PRbMGeOlI0jz5HdK82mwy4e97akbWg3MH5fi35tnEPWgM/x0HDfqnXp8vrKEikEILcsHDibhQFfJxqST9gbrnwLh4smTYj1QRfVBTnfn8PzVViVQ4NtD9jvu0n81je/mYc19CgrsywOvPnTEEhRqflRcJnWaiXiLjOU1K8kTmhes8QCEy9isQVX6nUK+rXAPZFxuF8pI3aV60N+7zbqFU12wKjdKUUolVRr095ILDZ8oGnl8y+dhyIuESShSZXg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2016 14:07:55.2774 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB1623 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 19905 Lines: 505 Move the source files out of staging into their final locations: -include files in drivers/staging/fsl-mc/include go to include/linux/fsl -irq-gic-v3-its-fsl-mc-msi.c goes to drivers/irqchip -source in drivers/staging/fsl-mc/bus goes to drivers/bus/fsl-mc -README.txt, providing and overview of DPAA goes to Documentation/dpaa2/overview.txt Delete other remaining staging files-- Makefile, Kconfig, TODO cc: Thomas Gleixner cc: Jason Cooper cc: Marc Zyngier Signed-off-by: Stuart Yoder --- .../README.txt => Documentation/dpaa2/overview.txt | 0 drivers/bus/Kconfig | 3 +++ drivers/bus/Makefile | 3 +++ drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Kconfig | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Makefile | 1 - drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp.c | 6 +++--- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpcon-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.c | 5 +++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng.c | 6 +++--- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc-cmd.h | 0 .../{staging/fsl-mc/bus => bus/fsl-mc}/dprc-driver.c | 4 ++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc.c | 6 +++--- .../fsl-mc/bus => bus/fsl-mc}/fsl-mc-allocator.c | 4 ++-- .../{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-bus.c | 6 +++--- .../{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-msi.c | 2 +- .../fsl-mc/bus => bus/fsl-mc}/fsl-mc-private.h | 4 ++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-io.c | 4 ++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-sys.c | 6 +++--- drivers/irqchip/Makefile | 1 + .../fsl-mc/bus => irqchip}/irq-gic-v3-its-fsl-mc-msi.c | 2 +- drivers/staging/Kconfig | 2 -- drivers/staging/Makefile | 1 - drivers/staging/fsl-mc/Kconfig | 1 - drivers/staging/fsl-mc/Makefile | 2 -- drivers/staging/fsl-mc/TODO | 18 ------------------ .../fsl-mc/include => include/linux/fsl}/dpbp.h | 0 .../fsl-mc/include => include/linux/fsl}/dpmng.h | 0 .../fsl-mc/include => include/linux/fsl}/dprc.h | 0 .../fsl-mc/include => include/linux/fsl}/mc-bus.h | 2 +- .../fsl-mc/include => include/linux/fsl}/mc-cmd.h | 0 .../fsl-mc/include => include/linux/fsl}/mc-sys.h | 0 .../staging/fsl-mc/include => include/linux/fsl}/mc.h | 2 +- 36 files changed, 37 insertions(+), 54 deletions(-) rename drivers/staging/fsl-mc/README.txt => Documentation/dpaa2/overview.txt (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Kconfig (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Makefile (91%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpcon-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng.c (96%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc-driver.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-allocator.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-bus.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-msi.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-private.h (96%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-io.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-sys.c (99%) rename drivers/{staging/fsl-mc/bus => irqchip}/irq-gic-v3-its-fsl-mc-msi.c (99%) delete mode 100644 drivers/staging/fsl-mc/Kconfig delete mode 100644 drivers/staging/fsl-mc/Makefile delete mode 100644 drivers/staging/fsl-mc/TODO rename {drivers/staging/fsl-mc/include => include/linux/fsl}/dpbp.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/dpmng.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/dprc.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc-bus.h (99%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc-cmd.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc-sys.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc.h (99%) diff --git a/drivers/staging/fsl-mc/README.txt b/Documentation/dpaa2/overview.txt similarity index 100% rename from drivers/staging/fsl-mc/README.txt rename to Documentation/dpaa2/overview.txt diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index 7010dca..7d0e096 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -166,4 +166,7 @@ config VEXPRESS_CONFIG help Platform configuration infrastructure for the ARM Ltd. Versatile Express. + +source "drivers/bus/fsl-mc/Kconfig" + endmenu diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile index c6cfa6b..4521ab1 100644 --- a/drivers/bus/Makefile +++ b/drivers/bus/Makefile @@ -14,6 +14,9 @@ obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o # Interconnect bus driver for OMAP SoCs. obj-$(CONFIG_OMAP_INTERCONNECT) += omap_l3_smx.o omap_l3_noc.o +# DPAA2 fsl-mc bus +obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/ + obj-$(CONFIG_OMAP_OCP2SCP) += omap-ocp2scp.o obj-$(CONFIG_QCOM_EBI2) += qcom-ebi2.o obj-$(CONFIG_SUNXI_RSB) += sunxi-rsb.o diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/bus/fsl-mc/Kconfig similarity index 100% rename from drivers/staging/fsl-mc/bus/Kconfig rename to drivers/bus/fsl-mc/Kconfig diff --git a/drivers/staging/fsl-mc/bus/Makefile b/drivers/bus/fsl-mc/Makefile similarity index 91% rename from drivers/staging/fsl-mc/bus/Makefile rename to drivers/bus/fsl-mc/Makefile index 38716fd..d56afee 100644 --- a/drivers/staging/fsl-mc/bus/Makefile +++ b/drivers/bus/fsl-mc/Makefile @@ -15,6 +15,5 @@ mc-bus-driver-objs := fsl-mc-bus.o \ dprc-driver.o \ fsl-mc-allocator.o \ fsl-mc-msi.o \ - irq-gic-v3-its-fsl-mc-msi.o \ dpmcp.o \ dpbp.o diff --git a/drivers/staging/fsl-mc/bus/dpbp-cmd.h b/drivers/bus/fsl-mc/dpbp-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpbp-cmd.h rename to drivers/bus/fsl-mc/dpbp-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpbp.c b/drivers/bus/fsl-mc/dpbp.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpbp.c rename to drivers/bus/fsl-mc/dpbp.c index cf4782f..f70e509 100644 --- a/drivers/staging/fsl-mc/bus/dpbp.c +++ b/drivers/bus/fsl-mc/dpbp.c @@ -29,9 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/dpbp.h" +#include +#include +#include #include "dpbp-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/dpcon-cmd.h b/drivers/bus/fsl-mc/dpcon-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpcon-cmd.h rename to drivers/bus/fsl-mc/dpcon-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpmcp-cmd.h b/drivers/bus/fsl-mc/dpmcp-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpmcp-cmd.h rename to drivers/bus/fsl-mc/dpmcp-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpmcp.c b/drivers/bus/fsl-mc/dpmcp.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpmcp.c rename to drivers/bus/fsl-mc/dpmcp.c index e4d1651..00db8e9 100644 --- a/drivers/staging/fsl-mc/bus/dpmcp.c +++ b/drivers/bus/fsl-mc/dpmcp.c @@ -29,8 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" + +#include +#include #include "dpmcp.h" #include "dpmcp-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/bus/fsl-mc/dpmcp.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpmcp.h rename to drivers/bus/fsl-mc/dpmcp.h diff --git a/drivers/staging/fsl-mc/bus/dpmng-cmd.h b/drivers/bus/fsl-mc/dpmng-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpmng-cmd.h rename to drivers/bus/fsl-mc/dpmng-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpmng.c b/drivers/bus/fsl-mc/dpmng.c similarity index 96% rename from drivers/staging/fsl-mc/bus/dpmng.c rename to drivers/bus/fsl-mc/dpmng.c index ad5d5bb..312fa0ee 100644 --- a/drivers/staging/fsl-mc/bus/dpmng.c +++ b/drivers/bus/fsl-mc/dpmng.c @@ -29,9 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/dpmng.h" +#include +#include +#include #include "dpmng-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/dprc-cmd.h b/drivers/bus/fsl-mc/dprc-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dprc-cmd.h rename to drivers/bus/fsl-mc/dprc-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c b/drivers/bus/fsl-mc/dprc-driver.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dprc-driver.c rename to drivers/bus/fsl-mc/dprc-driver.c index 4e416d8..b20e060 100644 --- a/drivers/staging/fsl-mc/bus/dprc-driver.c +++ b/drivers/bus/fsl-mc/dprc-driver.c @@ -13,8 +13,8 @@ #include #include #include -#include "../include/mc-bus.h" -#include "../include/mc-sys.h" +#include +#include #include "dprc-cmd.h" #include "fsl-mc-private.h" diff --git a/drivers/staging/fsl-mc/bus/dprc.c b/drivers/bus/fsl-mc/dprc.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dprc.c rename to drivers/bus/fsl-mc/dprc.c index 572edd4..e2ebfb7 100644 --- a/drivers/staging/fsl-mc/bus/dprc.c +++ b/drivers/bus/fsl-mc/dprc.c @@ -29,9 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/dprc.h" +#include +#include +#include #include "dprc-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/bus/fsl-mc/fsl-mc-allocator.c similarity index 99% rename from drivers/staging/fsl-mc/bus/fsl-mc-allocator.c rename to drivers/bus/fsl-mc/fsl-mc-allocator.c index ce07096..679574b 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +++ b/drivers/bus/fsl-mc/fsl-mc-allocator.c @@ -10,8 +10,8 @@ #include #include -#include "../include/mc-bus.h" -#include "../include/mc-sys.h" +#include +#include #include "dpbp-cmd.h" #include "dpcon-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c similarity index 99% rename from drivers/staging/fsl-mc/bus/fsl-mc-bus.c rename to drivers/bus/fsl-mc/fsl-mc-bus.c index 4e92437..e051b21 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c @@ -18,9 +18,9 @@ #include #include #include -#include "../include/mc-bus.h" -#include "../include/dpmng.h" -#include "../include/mc-sys.h" +#include +#include +#include #include "fsl-mc-private.h" #include "dprc-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-msi.c b/drivers/bus/fsl-mc/fsl-mc-msi.c similarity index 99% rename from drivers/staging/fsl-mc/bus/fsl-mc-msi.c rename to drivers/bus/fsl-mc/fsl-mc-msi.c index 7975c6e..f2d6a22 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-msi.c +++ b/drivers/bus/fsl-mc/fsl-mc-msi.c @@ -16,7 +16,7 @@ #include #include #include -#include "../include/mc-bus.h" +#include /* * Generate a unique ID identifying the interrupt (only used within the MSI diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-private.h b/drivers/bus/fsl-mc/fsl-mc-private.h similarity index 96% rename from drivers/staging/fsl-mc/bus/fsl-mc-private.h rename to drivers/bus/fsl-mc/fsl-mc-private.h index 5c49c9d..599425f 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-private.h +++ b/drivers/bus/fsl-mc/fsl-mc-private.h @@ -10,8 +10,8 @@ #ifndef _FSL_MC_PRIVATE_H_ #define _FSL_MC_PRIVATE_H_ -#include "../include/mc.h" -#include "../include/mc-bus.h" +#include +#include int __must_check fsl_mc_device_add(struct dprc_obj_desc *obj_desc, struct fsl_mc_io *mc_io, diff --git a/drivers/staging/fsl-mc/bus/mc-io.c b/drivers/bus/fsl-mc/mc-io.c similarity index 99% rename from drivers/staging/fsl-mc/bus/mc-io.c rename to drivers/bus/fsl-mc/mc-io.c index d66b87f..501fba3 100644 --- a/drivers/staging/fsl-mc/bus/mc-io.c +++ b/drivers/bus/fsl-mc/mc-io.c @@ -31,8 +31,8 @@ */ #include -#include "../include/mc-bus.h" -#include "../include/mc-sys.h" +#include +#include #include "fsl-mc-private.h" #include "dpmcp.h" diff --git a/drivers/staging/fsl-mc/bus/mc-sys.c b/drivers/bus/fsl-mc/mc-sys.c similarity index 99% rename from drivers/staging/fsl-mc/bus/mc-sys.c rename to drivers/bus/fsl-mc/mc-sys.c index 4d82802..ac86226 100644 --- a/drivers/staging/fsl-mc/bus/mc-sys.c +++ b/drivers/bus/fsl-mc/mc-sys.c @@ -37,9 +37,9 @@ #include #include #include -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/mc.h" +#include +#include +#include #include "dpmcp.h" diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile index e4dbfc8..075709d 100644 --- a/drivers/irqchip/Makefile +++ b/drivers/irqchip/Makefile @@ -74,3 +74,4 @@ obj-$(CONFIG_LS_SCFG_MSI) += irq-ls-scfg-msi.o obj-$(CONFIG_EZNPS_GIC) += irq-eznps.o obj-$(CONFIG_ARCH_ASPEED) += irq-aspeed-vic.o obj-$(CONFIG_STM32_EXTI) += irq-stm32-exti.o +obj-$(CONFIG_FSL_MC_BUS) += irq-gic-v3-its-fsl-mc-msi.o diff --git a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c b/drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c similarity index 99% rename from drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c rename to drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c index 6b1cd57..347a3ea 100644 --- a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c @@ -16,7 +16,7 @@ #include #include #include -#include "../include/mc-bus.h" +#include static struct irq_chip its_msi_irq_chip = { .name = "ITS-fMSI", diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 58a7b35..8d7a13f 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -92,8 +92,6 @@ source "drivers/staging/clocking-wizard/Kconfig" source "drivers/staging/fbtft/Kconfig" -source "drivers/staging/fsl-mc/Kconfig" - source "drivers/staging/wilc1000/Kconfig" source "drivers/staging/most/Kconfig" diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index 2fa9745..8a88b1d 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -35,7 +35,6 @@ obj-$(CONFIG_CRYPTO_SKEIN) += skein/ obj-$(CONFIG_UNISYSSPAR) += unisys/ obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clocking-wizard/ obj-$(CONFIG_FB_TFT) += fbtft/ -obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/ obj-$(CONFIG_WILC1000) += wilc1000/ obj-$(CONFIG_MOST) += most/ obj-$(CONFIG_ISDN_I4L) += i4l/ diff --git a/drivers/staging/fsl-mc/Kconfig b/drivers/staging/fsl-mc/Kconfig deleted file mode 100644 index 32df07b..0000000 --- a/drivers/staging/fsl-mc/Kconfig +++ /dev/null @@ -1 +0,0 @@ -source "drivers/staging/fsl-mc/bus/Kconfig" diff --git a/drivers/staging/fsl-mc/Makefile b/drivers/staging/fsl-mc/Makefile deleted file mode 100644 index 9c6a001..0000000 --- a/drivers/staging/fsl-mc/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -# Freescale Management Complex (MC) bus drivers -obj-$(CONFIG_FSL_MC_BUS) += bus/ diff --git a/drivers/staging/fsl-mc/TODO b/drivers/staging/fsl-mc/TODO deleted file mode 100644 index 54a8bc6..0000000 --- a/drivers/staging/fsl-mc/TODO +++ /dev/null @@ -1,18 +0,0 @@ -* Add at least one device driver for a DPAA2 object (child device of the - fsl-mc bus). Most likely candidate for this is adding DPAA2 Ethernet - driver support, which depends on drivers for several objects: DPNI, - DPIO, DPMAC. Other pre-requisites include: - - * MC firmware uprev. The MC firmware upon which the fsl-mc - bus driver and DPAA2 object drivers are based is continuing - to evolve, so minor updates are needed to keep in sync with binary - interface changes to the MC. - -* Cleanup - -Please send any patches to Greg Kroah-Hartman , -german.rivera@freescale.com, devel@driverdev.osuosl.org, -linux-kernel@vger.kernel.org - -[1] https://lkml.org/lkml/2015/7/9/93 -[2] https://lkml.org/lkml/2015/7/7/712 diff --git a/drivers/staging/fsl-mc/include/dpbp.h b/include/linux/fsl/dpbp.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpbp.h rename to include/linux/fsl/dpbp.h diff --git a/drivers/staging/fsl-mc/include/dpmng.h b/include/linux/fsl/dpmng.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpmng.h rename to include/linux/fsl/dpmng.h diff --git a/drivers/staging/fsl-mc/include/dprc.h b/include/linux/fsl/dprc.h similarity index 100% rename from drivers/staging/fsl-mc/include/dprc.h rename to include/linux/fsl/dprc.h diff --git a/drivers/staging/fsl-mc/include/mc-bus.h b/include/linux/fsl/mc-bus.h similarity index 99% rename from drivers/staging/fsl-mc/include/mc-bus.h rename to include/linux/fsl/mc-bus.h index e915574..7acf3f0 100644 --- a/drivers/staging/fsl-mc/include/mc-bus.h +++ b/include/linux/fsl/mc-bus.h @@ -11,7 +11,7 @@ #ifndef _FSL_MC_MCBUS_H_ #define _FSL_MC_MCBUS_H_ -#include "../include/mc.h" +#include #include struct irq_domain; diff --git a/drivers/staging/fsl-mc/include/mc-cmd.h b/include/linux/fsl/mc-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/include/mc-cmd.h rename to include/linux/fsl/mc-cmd.h diff --git a/drivers/staging/fsl-mc/include/mc-sys.h b/include/linux/fsl/mc-sys.h similarity index 100% rename from drivers/staging/fsl-mc/include/mc-sys.h rename to include/linux/fsl/mc-sys.h diff --git a/drivers/staging/fsl-mc/include/mc.h b/include/linux/fsl/mc.h similarity index 99% rename from drivers/staging/fsl-mc/include/mc.h rename to include/linux/fsl/mc.h index a781a36..cdba52a 100644 --- a/drivers/staging/fsl-mc/include/mc.h +++ b/include/linux/fsl/mc.h @@ -14,7 +14,7 @@ #include #include #include -#include "../include/dprc.h" +#include #define FSL_MC_VENDOR_FREESCALE 0x1957 -- 1.9.0