Received: by 10.223.176.5 with SMTP id f5csp2556442wra; Mon, 5 Feb 2018 06:08:57 -0800 (PST) X-Google-Smtp-Source: AH8x225xiwpsHNJuBR/VCimydMCrDEr6vKAwBUZsATTSgrod0geUOH4aZIgNftMRlFaXzGOFWXud X-Received: by 2002:a17:902:824:: with SMTP id 33-v6mr42177090plk.258.1517839737543; Mon, 05 Feb 2018 06:08:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517839737; cv=none; d=google.com; s=arc-20160816; b=A8IXW2/EG4/t/aQdefzPaZ49OLkd74VIr4tECryKe8jYh95SwZiFnjsDKXv5JEkaJo 3yJqfW4u7dhMjEMl2s8Q5+pLWD/k4eWxEeU1LCxgArVa0TiAb5e4yjEdHC3MGmQM9Oof BDNdAFVJmmbAmjrkm/l3z2D11qPjg2FsmtnU1WeA2+mlQm3kqa6aN2tyJgu5fqzPbDo+ T4ShLHGjyHkgslQnaGcV6eN2OW4oWHmUmahXxSi1gDMBpWMX+lysQLdqi/ntwax9DCap /Yv/idNdvTjeBoKUVZiFLHB9Z+76suO4zehcF9PziHAB0dnGMu1GkRf72s3YUJnfftWc nApQ== 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:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=RdccQwOAzHWqX+2i6/kKCMKDya45og45SjkpRe5Pc4Q=; b=rSDBTJG3PvpvYSoD5sLWOrErHXUC5lLwFVgLf6pMS7cHZJTeshzAJMFrmeTOeILaOU wBKRl98ikoX/fREeXEbskHDpgEqa2d/WqnEKyWonRoWmq7umKXxHByrAQ8Nrx2q/lNvD RadjfMd9jyJneznGIfrYBjY2XEVGFNhhQm/yqemiEw/OJHMwt5OE2bLrtcjoKQjZASS8 377gtkCi/FnQIkwIvnZd5NhvHB04I/UPnvgNjENbz4z2kCW9EA1ewwSIb/tZ4HmAMVf4 OTD54Kn/la3/aL6zoRWdqYgtkN2EPMyFOgfpWxqjwSk19YtIbYjh/Ow0I8ndOoBUmA7E HtIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=neVmXt9H; 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 p128si3436240pga.15.2018.02.05.06.08.42; Mon, 05 Feb 2018 06:08:57 -0800 (PST) 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=neVmXt9H; 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 S1752935AbeBEOIR (ORCPT + 99 others); Mon, 5 Feb 2018 09:08:17 -0500 Received: from mail-ve1eur01on0056.outbound.protection.outlook.com ([104.47.1.56]:19753 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752607AbeBEOIM (ORCPT ); Mon, 5 Feb 2018 09:08:12 -0500 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=RdccQwOAzHWqX+2i6/kKCMKDya45og45SjkpRe5Pc4Q=; b=neVmXt9H0qZljoeKU2MD3d1UOooJ7vpUdWcCM1iLfjl2e2Gdl3s06GF7uZ/celYGGl5wqsLlyhCTXNgANAGgfqGAlYToGBaDqwAy63KxrwB3+VDisyVKufXCwkEFns6fqGUH7acw6sqBsBDIDXm9p547JoLNpdGtSjFBMhfpS/Q= Received: from rhuath.am.freescale.net (192.88.168.1) by VI1PR0402MB3664.eurprd04.prod.outlook.com (2603:10a6:803:1e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.464.11; Mon, 5 Feb 2018 14:08:05 +0000 From: Bogdan Purcareata To: gregkh@linuxfoundation.org, laurentiu.tudor@nxp.com, ruxandra.radulescu@nxp.com Cc: stuyoder@gmail.com, arnd@arndb.de, robh@kernel.org, razvan.stefanescu@nxp.com, ioana.ciornei@nxp.com, nipun.gupta@nxp.com, roy.pledge@nxp.com, horia.geanta@nxp.com, marc.zyngier@arm.com, tglx@linutronix.de, jason@lakedaemon.net, bogdan.purcareata@nxp.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 0/2] staging: fsl-mc: Move bus driver out of staging Date: Mon, 5 Feb 2018 08:07:41 -0600 Message-Id: <20180205140743.29974-1-bogdan.purcareata@nxp.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.168.1] X-ClientProxiedBy: MWHPR21CA0059.namprd21.prod.outlook.com (2603:10b6:300:db::21) To VI1PR0402MB3664.eurprd04.prod.outlook.com (2603:10a6:803:1e::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d3e3f63a-3e51-4f8d-b7f2-08d56ca1e310 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:VI1PR0402MB3664; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0402MB3664;3:6SzBHfl7juz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8Y9DrqvHYLU4xYTMyiE+YenMkejRh/cn+ONtbbQsFrIn/kAAN5KzwNWZtpiDfxPEJuZO8Q2lQOwEREQVrzghpsw86WYnuzvO8rNPxrCdB3UMcqnPb3uAoQpEcTnpDXRD4OQTxL/QobxT1dBiILwyislbm/lsZIzMfwZBTveroG0qpEHONqLY+/O3SgwrPChdz54BLhtBsDWD02CZFkblssmQe2DdBZslfgQ37ZCImBXN5jOr1XRnnDsef3+yYXjlsUq4itl7H9Cmivp8LUd+5FjVFO+oeaiLEQtaTmUrW5jJp/7EBcsabgHnQ8LxDW0xSi5RTRNhZa81jxUP;4:uQqxL2fi3yp3DvrAvJMgT3oyKMXHrYa7jfGsW+B+DkhRqpPQWaVJ+Rki8cIUNWD0jP8Bu+F5+WXQsQLHJ+dwLABG2/UYbwX5MJGyxeJmGJO24VSKsiGZxuDcyMwdlCsixBBeXifZqHOpDPbleugs+pUJO8LA2jGaZ+svIiDfjJ5+nH/EJSf7d0Bp5E09jPf91jLAlNWSOQx7Zevgj+8cFRLZnN+U7WFPclARXL9nz84lhZRSfvkbKNuVQj8sP7MG5ItZZpgl6lSo6JA6QzBeAA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231101)(2400082)(944501161)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011);SRVR:VI1PR0402MB3664;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0402MB3664; X-Forefront-PRVS: 0574D4712B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39380400002)(39860400002)(376002)(366004)(396003)(346002)(199004)(189003)(316002)(39060400002)(16586007)(16526019)(7736002)(305945005)(36756003)(6506007)(6346003)(105586002)(59450400001)(52116002)(51416003)(6486002)(66066001)(47776003)(7416002)(68736007)(186003)(386003)(4326008)(6116002)(3846002)(1076002)(26005)(478600001)(2906002)(966005)(50226002)(6666003)(6636002)(6306002)(106356001)(25786009)(53936002)(86362001)(81156014)(6512007)(5660300001)(8936002)(50466002)(81166006)(8676002)(97736004)(48376002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3664;H:rhuath.am.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=bogdan.purcareata@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;VI1PR0402MB3664;23:y33R/TWoQMZwYd+2X41sko5+3xeOI2Pxt4oymgn?= =?us-ascii?Q?9Rh7nYNfFbY0iJQrbmN1HlCoELUASiH3nV/+pujHrZ2xlQzQElRHGCS1vfa9?= =?us-ascii?Q?uOUf+Dq09g10A8Molj/pbNmRl+ZLKNo5ImVfhqJeaBMICaap8mlHzYwgIhQA?= =?us-ascii?Q?NFYJhxGTHRPgz7SB6QusiVvJIVGshq6ZbKxC5+VZotQr7fTwWrMwD3Q/qEh3?= =?us-ascii?Q?ipshDDTTvHgLPfbyAw1t94FwOhEjYTMjggGD0X++P6ydPEX2nmIw32AAaHLE?= =?us-ascii?Q?zbU75L9Z55E4eFNTCz6SMb9M3y/j/26g0dergWZrdS9yG7cWGrfhbujx+vRY?= =?us-ascii?Q?tSvh+rpBtsmNzeOVV1iIKZWieWv3jsDH52kMv2YKyzEZ10+PhOdUMXrIi+Bt?= =?us-ascii?Q?kNo+smTVj/sPjY5byf1ti/cQpH0//45FkLQLG1WJDeQxMN99/Ne4ANJ3lWUx?= =?us-ascii?Q?yXMHVzqQKuNwIplYJcF89T9z3SNkRnQqCjvnIrz+rThNcLfyBNp6PBevZrco?= =?us-ascii?Q?xiMer+/fkWwgymBuD5SHMQ2ng7sJMydn0/cPOGH9V+bxIpGOa55TBu1CElwa?= =?us-ascii?Q?MAKj8I2jKm4XI+kq5qN1yGuH5c1FaPz1ffL7Q0MuNbaIic6gXLc2ySFaBKa8?= =?us-ascii?Q?ap0YV8pCvEw/ZHjMvV7DPWz6IWlaLGFVHAnrHjGmRUIsgALRl0APv18dM4wx?= =?us-ascii?Q?FEKKPdISsvgVhwtM7VbQRjBWiuhi3qnb2JCT7pIauLAZ3MR4qNDxQdMWwOTh?= =?us-ascii?Q?Sc44LiZtsmgkDliK4sxk9LyjML36bBj91ccsb6KRW1/dEo1DBNE+ahz7MAVn?= =?us-ascii?Q?1nAziZ6FeTRG7LUDAdDlR6+Sc29R474SeXrftYYYgghw8JkObayjiFUszN9U?= =?us-ascii?Q?DQQ9meOUFBFqhsgV/460Ug5VgkrHkbfNi1LcOr3k4tFIvo1D4k9Snm/VxafQ?= =?us-ascii?Q?ZKvaxu8eyozuil1ZRuSUAI5Ve/sfhBl6oxYoPt75u0DHWQClDYGK3Jy1hwme?= =?us-ascii?Q?bnXzv4ZE1806DqGKasnzp3ahMHZsZ8QsemxnYqVdNipLatzXVODUtTmNnG/V?= =?us-ascii?Q?3uBE83s/6smmwuV6N930kOLUXnC7etNFy4FfCiaG0jBZofHY/CvffsNxGVqf?= =?us-ascii?Q?LlJqYNhPIILfS7dcF4ZM4gPlmwd5H2f0mJEdaH48IoWFruf2pZhvnpg8CpQJ?= =?us-ascii?Q?r/IqZ1/5+oSL99jgfEFADgj3GNAHbKWJkW48w?= X-Microsoft-Exchange-Diagnostics: 1;VI1PR0402MB3664;6:II3ER/uv4uz7WMnOMk2jX42WknIj2FbnrNn9tITYIWya8qRvae7psyCE0NYgjyLr+XiJs13momWeypxLbdf4qnBUxBppPqm9+u0dobkussSbohf+Z5sb7MhDqbrWCdUvilO9xwqp6AuR4I3tCPogQ+kchq4RUczXbeiMtf5fc3R3Pudw20zZoeAezoLUVd3VlnigJVrUxKT8ur/g6JMnMkoAVKJEqk0LVUOJOt8zq5ybVB5EASLbqqt1hpWzYYCmy5IvtoUZShWJuRQ6Yy8MzDk7TtYPb9k5tQsEXivVn7xIPg/TEGSDLLS+KV9ScGJhxFOgobRfi95iJOmJm7DiHnNHxH+eZ8eMx1jH1Mega9E=;5:JoLF+Ji6lKc8E7e0oyRWjh22LXnrbqJZbS+s5aN+b0Rh7OUAeRp+jtLqGx+f0WBP7xiMEybMZtO4S91VMWct5SRMGuy3D15xhKF4Em20szN0rLoeYZpVRKP6O0zS6bR3Yy6FUX3kZUG38QBfYSAaC5BDmE+dFTWGsEtTcMioYtI=;24:LbMfZt2hEaR06pXwLly8wZ4DCzTcZQ92KIUJLuGYRW1M7c1S2ZyrABIx0fOmsEZBl+IosrTcJUzRMdeLqSCyuwHB1Bq+qu++X2fuzvW863Y=;7:RUrFi0o24/uAcCfxL5eYUrH/NqPJdx3GJIuNDbiVZgZ0icVX3UAvqHPT+/3gkdA9grX0R0Jbyk0fqdZAbvQyZuCgFFM1y6HzTxR+p5XrO1hUPU9FzXvoJ2hTB3EWzJqTbLrYWp4QM1WJZ8bIQ0IgL9TRbuyK92KcUPr/2GQX13AcHrMNe+tqJh3ng59WCTBuHRrcUGTk4nPzMjbVP6nd+xdwZckjItpFOVkdXD36oIKlTMT+xWfjuUclVEIY7uWS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Feb 2018 14:08:05.0507 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3e3f63a-3e51-4f8d-b7f2-08d56ca1e310 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3664 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Previous submission: https://lkml.org/lkml/2018/1/26/215 Split the code into moving out the core bus infrastructure separate from the irqchip glue code. Add a Kconfig dependency on ARM_GIC_V3_ITS. Integrate the documentation with the kernel build system. This patchset only handles moving the fsl-mc bus core out of staging. The remaining objects (DPBP, DPCON) and drivers (dpio, dpaa2-eth) will be moved out in subsequent patches. Notes: -v6: - generate patchset with rename detection enabled (GregKH) - add Kconfig dependecy on ARM_GIC_V3_ITS (Mark Zyngier) -v5: - split irqchip glue code to separate patch (GregKH) - integrate doc with the kernel build system -v4: - regenerated patch with renames detection disabled (Andrew Lunn) -v3: - rebased -v2: - group irqchip gic its glue code together with the rest (Marc Zyngier) Bogdan Purcareata (2): staging: fsl-mc: Move core bus out of staging staging: fsl-mc: Move irqchip code out of staging Documentation/networking/dpaa2/index.rst | 8 ++++++++ .../networking/dpaa2}/overview.rst | 0 Documentation/networking/index.rst | 1 + MAINTAINERS | 3 ++- drivers/bus/Kconfig | 2 ++ drivers/bus/Makefile | 4 ++++ drivers/bus/fsl-mc/Kconfig | 16 ++++++++++++++++ drivers/bus/fsl-mc/Makefile | 16 ++++++++++++++++ drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.c | 2 +- .../{staging/fsl-mc/bus => bus/fsl-mc}/dprc-driver.c | 2 +- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc.c | 3 ++- .../fsl-mc/bus => bus/fsl-mc}/fsl-mc-allocator.c | 2 +- .../{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-bus.c | 0 .../{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-msi.c | 1 + .../fsl-mc/bus => bus/fsl-mc}/fsl-mc-private.h | 2 +- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-io.c | 2 +- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-sys.c | 2 +- drivers/irqchip/Kconfig | 6 ++++++ drivers/irqchip/Makefile | 1 + .../fsl-mc/bus => irqchip}/irq-gic-v3-its-fsl-mc-msi.c | 4 +--- drivers/staging/fsl-dpaa2/ethernet/README | 2 +- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 2 +- drivers/staging/fsl-dpaa2/ethernet/dpni.c | 2 +- drivers/staging/fsl-mc/TODO | 18 ------------------ drivers/staging/fsl-mc/bus/Kconfig | 10 ---------- drivers/staging/fsl-mc/bus/Makefile | 15 ++------------- drivers/staging/fsl-mc/bus/dpbp.c | 2 +- drivers/staging/fsl-mc/bus/dpcon.c | 2 +- drivers/staging/fsl-mc/bus/dpio/dpio-driver.c | 2 +- drivers/staging/fsl-mc/bus/dpio/dpio-service.c | 2 +- drivers/staging/fsl-mc/bus/dpio/dpio.c | 2 +- .../staging/fsl-mc/include => include/linux/fsl}/mc.h | 0 32 files changed, 76 insertions(+), 60 deletions(-) create mode 100644 Documentation/networking/dpaa2/index.rst rename {drivers/staging/fsl-mc => Documentation/networking/dpaa2}/overview.rst (100%) create mode 100644 drivers/bus/fsl-mc/Kconfig create mode 100644 drivers/bus/fsl-mc/Makefile rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.c (98%) 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 (100%) 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 (99%) 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 (97%) delete mode 100644 drivers/staging/fsl-mc/TODO rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc.h (100%) -- 2.7.4