Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756735AbdLGRLs (ORCPT ); Thu, 7 Dec 2017 12:11:48 -0500 Received: from mail-cys01nam02on0069.outbound.protection.outlook.com ([104.47.37.69]:62821 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756712AbdLGRLf (ORCPT ); Thu, 7 Dec 2017 12:11:35 -0500 Authentication-Results: spf=pass (sender IP is 192.61.61.105) smtp.mailfrom=unisys.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=pass action=none header.from=unisys.com; From: David Kershner To: , , , , , , , Subject: [PATCH v2] drivers: visorbus: move driver out of staging Date: Thu, 7 Dec 2017 12:11:07 -0500 Message-ID: <1512666667-14981-1-git-send-email-david.kershner@unisys.com> X-Mailer: git-send-email 1.9.1 X-OriginalArrivalTime: 07 Dec 2017 17:11:16.0106 (UTC) FILETIME=[642C3EA0:01D36F7E] MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.61.61.105;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(346002)(376002)(2980300002)(438002)(189003)(199004)(6306002)(8936002)(2201001)(46656002)(68736007)(305945005)(106002)(110136005)(53936002)(51416003)(36756003)(50226002)(316002)(2906002)(6666003)(86362001)(575784001)(478600001)(8676002)(97736004)(33646002)(72206003)(81156014)(106466001)(966005)(81166006)(50466002)(16586007)(69596002)(83796002)(57986006)(9786002)(356003)(48376002)(47776003)(5660300001)(9746002)(9306002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR07MB2737;H:USEA-NAEDGE2.unisys.com;FPR:;SPF:Pass;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2NAM05FT018;1:m07jizfl2tt3GY3ztkhwtwa7T43svusH58GndCp9hLcbrwa9qR21Iq8pKYJX3AHoNJqZoe650xswNXOp4f4OFpppN7PgOtFh4LFvU0BC/rYpU87hKe7D32Auo/n9qNK8 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 910e5b01-5df7-44f2-6316-08d53d95906b X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4608076)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603286);SRVR:BN6PR07MB2737; X-Microsoft-Exchange-Diagnostics: 1;BN6PR07MB2737;3:UguChK73PqwR3wMqmiafOwQTA8XimVsU8gTJUwElvtysbQclwslL8RTdS3n6uLhQj2FPhz9OvlXluevg7G78BAcyfCCLJjA7hZu/fiLIJ4wloquMSD6G3Ha6eTNQ8EqAP+vDA8TATA4kInKTa57IIboyzY5F2zeqpNtzAK9FS/YxSlUQ/K0L3TFV/KjNAr6kqSZEmG0RxmP3iaLAgu4t+TSPNUGsqv/1hYoKNC8/HZk7GDc4fYH0ebTsZ33XjwskSmHkP8Ube26BPI3V3osTCdI2su71CLqHiwV+ECXDqmslrwVIomjZfC9BdbYrgmlYH4kyK2IpCJCqiNhi/oVOsqqaDLJn7QtMRCNXRAnul/E=;25:R3nPcE4EG8DjCExVjCjXecG9pNVs+sJG0MX4L+LNha4K3WVIpJa989FMmuLk7KVQUyHzswwIp+dYdC/8X/t/E7XOTZ+I1iN+FwiXz4JrXVuDape5sckNHjRkjNlBIwNYMeU65vGcRlXXftkEMggc08TlhLjy8CDNKbXvX1+pYHHdP2J/rhlZntGFn+wBgDnmZ6/kJZlv/3teJk3cIaZGRFpMmbG/f3rDjIlYvHFcdswuybdhmdQ20874NdXboL3gVu5i9Mel6AKmwJuARICIk1BAMTkQYUOvWVyx7ERO7ZfaGmDoP/VQX8Fdbm4gXZQIzzRCDI23kaJxjKzrdSQBXw== X-MS-TrafficTypeDiagnostic: BN6PR07MB2737: X-Microsoft-Exchange-Diagnostics: 1;BN6PR07MB2737;31:7+5RXV1fNSwo0io0sZg+CPpvla+VYLml9oLTYvrHHr7hLHdGHXVyCe8rfbdHPEKgAsBQwxwq/gjkoOUbAnC66/sUDLIXXb5J+yrkSbL3hEYsBjLlCWOdNM1uPBcyQQQMbpCGG4mZE2m8YgZuEUnylpKTYn0b50ejk1PVUCSKXTdvcAeT0IBzdAXhbF8bzCoC2YvGlT6E6iMbSy3Ew0LZc1/toT9e4IzsR878/bUcH14=;20:Fxx6ZwKmV3moLcvBiyM25KsnZVfacL6v5E6ytqk2XKFTXwEA9+UvXh0oocoUbnFKommJ994T60aB41vAxyDu5bEWetIIe9hG/X2B+VMdAVE/lkdhx7aT1E+1CBJuuvkcvqbxfHPUMppk0/SAhKzbTgaxpzlUlKvyx+vYUHkMlYJdAsb50crBlWW/A9NR63Tq8Ddbi9bLbR/TsnY7tGTtC0D8XKJlF+09WFl5gD2PiQeSEjONRQJS/UVoX2mO4BI6X8KiD9N3yQH3Gny+2p/75838nJd8R1O6SXfppmSG7gciuH3Sahe6uZ6OPAv+Dj79NRw4bvkTdAg4ApkhzDvt0eCA8X+oxwiXTGh/TK87X9jlquMTmesq6VIi4+HYSRPgDQ08Rry+rUXi+hbdLDPk0PvtTClpwRFgI0Nfpd0a/Kzo5DO+nKwsoGlilDbYg4SWDFXhQOVv97g4Jvo6sRnnduxnQT90yk6XgU+PlbJqmVk4x+43+3un8HZt9sZ9MBFb X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(174360191007938)(84791874153150); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(3231022)(3002001)(10201501046)(93006095)(93004095)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123558100)(20161123560025)(6072148)(201708071742011);SRVR:BN6PR07MB2737;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:BN6PR07MB2737; X-Microsoft-Exchange-Diagnostics: 1;BN6PR07MB2737;4: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041/JU8kT+W1GAvzys739D4XBq9Y65Lh2r5NvP0ulBREL/1Z+crvLDrsFXbH/QTWdJ4DF8Ed3YXDoL42EYDsj768t5n2hrJXI1O1j0kRwUH510+Ew0WglDKfms1A+KZVDJLUY4YAuaOfkIEZsm9eGhYs+GRtj/yd+6GE/e+bQ=;24:zRV09ofzlRHmHeNs22iCCb8K0ETnRo2uTyuQzLtEFGHx6+ldHSdHsyGl6feo8h7V67/4kKTiurmQm5d9BQ/YcDFPcOeVBJNLTjuJ2u3q/G0=;7:+IoDNGAKuQLmo3po9Z6ATW1l9lmuB+NTCCLC9KFPh6h5b/eZrpWwMb3ZzDvigjoAQdxK8H2vughvreIvQXXONIXBzyNePruO+08aLfN1ijajx4QvNCzD4jVskmrmnMgCFDAEckUCUJuL2fKV3/FWv0Et03LXq2kkzcgZ1yxPz0+hNrNH75WGTRdnZRQa2TAOiYXPO/9v8N6nC47XhIas7beIkTd40IdepRVUuMmu8I2+cic/qlqjY5V0W1LhmHDs SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: unisys.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2017 17:11:32.3765 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 910e5b01-5df7-44f2-6316-08d53d95906b X-MS-Exchange-CrossTenant-Id: 8d894c2b-238f-490b-8dd1-d93898c5bf83 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=8d894c2b-238f-490b-8dd1-d93898c5bf83;Ip=[192.61.61.105];Helo=[USEA-NAEDGE2.unisys.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB2737 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 11121 Lines: 304 Move the visorbus driver out of staging (drivers/staging/unisys/visorbus) and to drivers/visorbus. Modify the configuration and makefiles so they now reference the new location. The s-Par header file visorbus.h that is referenced by all s-Par drivers, is being moved into include/linux. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- The files are based off the latest revision in the staging-next tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git Changes from v1: -- Simplified to one single patch -- Combined include files into a single file -- Fixed the dependency flags that were in the wrong location. MAINTAINERS | 2 ++ drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/staging/unisys/Kconfig | 1 - drivers/staging/unisys/Makefile | 1 - drivers/staging/unisys/include/iochannel.h | 3 +-- drivers/staging/unisys/visorhba/visorhba_main.c | 2 +- drivers/staging/unisys/visorinput/visorinput.c | 2 +- drivers/staging/unisys/visornic/visornic_main.c | 2 +- drivers/{staging/unisys => }/visorbus/Kconfig | 1 - drivers/{staging/unisys => }/visorbus/Makefile | 2 -- drivers/{staging/unisys => }/visorbus/controlvmchannel.h | 3 +-- drivers/{staging/unisys => }/visorbus/vbuschannel.h | 2 +- drivers/{staging/unisys => }/visorbus/visorbus_main.c | 2 +- drivers/{staging/unisys => }/visorbus/visorbus_private.h | 2 +- drivers/{staging/unisys => }/visorbus/visorchannel.c | 2 +- drivers/{staging/unisys => }/visorbus/visorchipset.c | 2 +- {drivers/staging/unisys/include => include/linux}/visorbus.h | 0 18 files changed, 15 insertions(+), 17 deletions(-) rename drivers/{staging/unisys => }/visorbus/Kconfig (95%) rename drivers/{staging/unisys => }/visorbus/Makefile (81%) rename drivers/{staging/unisys => }/visorbus/controlvmchannel.h (99%) rename drivers/{staging/unisys => }/visorbus/vbuschannel.h (99%) rename drivers/{staging/unisys => }/visorbus/visorbus_main.c (99%) rename drivers/{staging/unisys => }/visorbus/visorbus_private.h (98%) rename drivers/{staging/unisys => }/visorbus/visorchannel.c (99%) rename drivers/{staging/unisys => }/visorbus/visorchipset.c (99%) rename {drivers/staging/unisys/include => include/linux}/visorbus.h (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 6308fa7..36f76be 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14006,6 +14006,8 @@ UNISYS S-PAR DRIVERS M: David Kershner L: sparmaintainer@unisys.com (Unisys internal) S: Supported +F: include/linux/visorbus.h +F: drivers/visorbus/ F: drivers/staging/unisys/ UNIVERSAL FLASH STORAGE HOST CONTROLLER DRIVER diff --git a/drivers/Kconfig b/drivers/Kconfig index 152744c..ef5fb83 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -211,4 +211,6 @@ source "drivers/mux/Kconfig" source "drivers/opp/Kconfig" +source "drivers/visorbus/Kconfig" + endmenu diff --git a/drivers/Makefile b/drivers/Makefile index e06f7f6..7a23300 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -184,3 +184,4 @@ obj-$(CONFIG_FPGA) += fpga/ obj-$(CONFIG_FSI) += fsi/ obj-$(CONFIG_TEE) += tee/ obj-$(CONFIG_MULTIPLEXER) += mux/ +obj-$(CONFIG_UNISYS_VISORBUS) += visorbus/ diff --git a/drivers/staging/unisys/Kconfig b/drivers/staging/unisys/Kconfig index 4d19038..c27dab3 100644 --- a/drivers/staging/unisys/Kconfig +++ b/drivers/staging/unisys/Kconfig @@ -8,7 +8,6 @@ menuconfig UNISYSSPAR if UNISYSSPAR -source "drivers/staging/unisys/visorbus/Kconfig" source "drivers/staging/unisys/visornic/Kconfig" source "drivers/staging/unisys/visorinput/Kconfig" source "drivers/staging/unisys/visorhba/Kconfig" diff --git a/drivers/staging/unisys/Makefile b/drivers/staging/unisys/Makefile index 20eb098..e45f44b 100644 --- a/drivers/staging/unisys/Makefile +++ b/drivers/staging/unisys/Makefile @@ -1,7 +1,6 @@ # # Makefile for Unisys SPAR drivers # -obj-$(CONFIG_UNISYS_VISORBUS) += visorbus/ obj-$(CONFIG_UNISYS_VISORNIC) += visornic/ obj-$(CONFIG_UNISYS_VISORINPUT) += visorinput/ obj-$(CONFIG_UNISYS_VISORHBA) += visorhba/ diff --git a/drivers/staging/unisys/include/iochannel.h b/drivers/staging/unisys/include/iochannel.h index 9023cf5..45c785d 100644 --- a/drivers/staging/unisys/include/iochannel.h +++ b/drivers/staging/unisys/include/iochannel.h @@ -33,8 +33,7 @@ #include #include - -#include "visorbus.h" +#include /* * Must increment these whenever you insert or delete fields within this channel diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c index da650d6..167e98f 100644 --- a/drivers/staging/unisys/visorhba/visorhba_main.c +++ b/drivers/staging/unisys/visorhba/visorhba_main.c @@ -9,12 +9,12 @@ #include #include #include +#include #include #include #include #include -#include "visorbus.h" #include "iochannel.h" /* The Send and Receive Buffers of the IO Queue may both be full */ diff --git a/drivers/staging/unisys/visorinput/visorinput.c b/drivers/staging/unisys/visorinput/visorinput.c index dabc5b4..d8048e4 100644 --- a/drivers/staging/unisys/visorinput/visorinput.c +++ b/drivers/staging/unisys/visorinput/visorinput.c @@ -16,8 +16,8 @@ #include #include #include +#include -#include "visorbus.h" #include "ultrainputreport.h" /* Keyboard channel {c73416d0-b0b8-44af-b304-9d2ae99f1b3d} */ diff --git a/drivers/staging/unisys/visornic/visornic_main.c b/drivers/staging/unisys/visornic/visornic_main.c index 112a76e..92dceb5 100644 --- a/drivers/staging/unisys/visornic/visornic_main.c +++ b/drivers/staging/unisys/visornic/visornic_main.c @@ -16,8 +16,8 @@ #include #include #include +#include -#include "visorbus.h" #include "iochannel.h" #define VISORNIC_INFINITE_RSP_WAIT 0 diff --git a/drivers/staging/unisys/visorbus/Kconfig b/drivers/visorbus/Kconfig similarity index 95% rename from drivers/staging/unisys/visorbus/Kconfig rename to drivers/visorbus/Kconfig index 3866804..1f5812b 100644 --- a/drivers/staging/unisys/visorbus/Kconfig +++ b/drivers/visorbus/Kconfig @@ -4,7 +4,6 @@ config UNISYS_VISORBUS tristate "Unisys visorbus driver" - depends on UNISYSSPAR depends on X86_64 && ACPI ---help--- The visorbus driver is a virtualized bus for the Unisys s-Par firmware. diff --git a/drivers/staging/unisys/visorbus/Makefile b/drivers/visorbus/Makefile similarity index 81% rename from drivers/staging/unisys/visorbus/Makefile rename to drivers/visorbus/Makefile index 784cdc1..e8df59d 100644 --- a/drivers/staging/unisys/visorbus/Makefile +++ b/drivers/visorbus/Makefile @@ -8,5 +8,3 @@ obj-$(CONFIG_UNISYS_VISORBUS) += visorbus.o visorbus-y := visorbus_main.o visorbus-y += visorchannel.o visorbus-y += visorchipset.o - -ccflags-y += -Idrivers/staging/unisys/include diff --git a/drivers/staging/unisys/visorbus/controlvmchannel.h b/drivers/visorbus/controlvmchannel.h similarity index 99% rename from drivers/staging/unisys/visorbus/controlvmchannel.h rename to drivers/visorbus/controlvmchannel.h index b0ae29e..8c57562 100644 --- a/drivers/staging/unisys/visorbus/controlvmchannel.h +++ b/drivers/visorbus/controlvmchannel.h @@ -8,8 +8,7 @@ #define __CONTROLVMCHANNEL_H__ #include - -#include "visorbus.h" +#include /* {2B3C2D10-7EF5-4ad8-B966-3448B7386B3D} */ #define VISOR_CONTROLVM_CHANNEL_GUID \ diff --git a/drivers/staging/unisys/visorbus/vbuschannel.h b/drivers/visorbus/vbuschannel.h similarity index 99% rename from drivers/staging/unisys/visorbus/vbuschannel.h rename to drivers/visorbus/vbuschannel.h index 622c9d7..b1dce26 100644 --- a/drivers/staging/unisys/visorbus/vbuschannel.h +++ b/drivers/visorbus/vbuschannel.h @@ -17,7 +17,7 @@ */ #include -#include "visorbus.h" +#include /* {193b331b-c58f-11da-95a9-00e08161165f} */ #define VISOR_VBUS_CHANNEL_GUID \ diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/visorbus/visorbus_main.c similarity index 99% rename from drivers/staging/unisys/visorbus/visorbus_main.c rename to drivers/visorbus/visorbus_main.c index a167155..0b2434c 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/visorbus/visorbus_main.c @@ -8,9 +8,9 @@ #include #include #include +#include #include -#include "visorbus.h" #include "visorbus_private.h" static const guid_t visor_vbus_channel_guid = VISOR_VBUS_CHANNEL_GUID; diff --git a/drivers/staging/unisys/visorbus/visorbus_private.h b/drivers/visorbus/visorbus_private.h similarity index 98% rename from drivers/staging/unisys/visorbus/visorbus_private.h rename to drivers/visorbus/visorbus_private.h index e48498f..366380b 100644 --- a/drivers/staging/unisys/visorbus/visorbus_private.h +++ b/drivers/visorbus/visorbus_private.h @@ -9,10 +9,10 @@ #include #include +#include #include "controlvmchannel.h" #include "vbuschannel.h" -#include "visorbus.h" struct visor_device *visorbus_get_device_by_id(u32 bus_no, u32 dev_no, struct visor_device *from); diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/visorbus/visorchannel.c similarity index 99% rename from drivers/staging/unisys/visorbus/visorchannel.c rename to drivers/visorbus/visorchannel.c index f3996a7..bd890e0 100644 --- a/drivers/staging/unisys/visorbus/visorchannel.c +++ b/drivers/visorbus/visorchannel.c @@ -12,8 +12,8 @@ #include #include #include +#include -#include "visorbus.h" #include "visorbus_private.h" #include "controlvmchannel.h" diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/visorbus/visorchipset.c similarity index 99% rename from drivers/staging/unisys/visorbus/visorchipset.c rename to drivers/visorbus/visorchipset.c index daff44d..ca752b8 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/visorbus/visorchipset.c @@ -6,8 +6,8 @@ #include #include +#include -#include "visorbus.h" #include "visorbus_private.h" /* {72120008-4AAB-11DC-8530-444553544200} */ diff --git a/drivers/staging/unisys/include/visorbus.h b/include/linux/visorbus.h similarity index 100% rename from drivers/staging/unisys/include/visorbus.h rename to include/linux/visorbus.h -- 1.9.1