Skip to contentSkip to conversation

staging: Remove the drivers for the Unisys s-Par

PATCH New Fabio M. De Francesco 1 participant 1 message Apr 14, 2022 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: Remove the drivers for the Unisys s-Par

The Unisys sub-tree of drivers/staging contains three drivers for the "Unisys Secure Partition" (s-Par(R)): visorhba, visorinput, visornic.

They have no maintainers, in fact the only one that is listed in MAINTAINERS has an unreacheable email address. During 2021 and 2022 several patches have been submitted to these drivers but nobody at Unisys cared of reviewing the changes. Probably, also the "sparmaintainer" internal list of unisys.com is not anymore read by interested Unisys' engineers.

Therefore, remove the drivers/staging/unisys directory and delete the relevant entries in the MAINTAINERS, Kconfig, Makefile files, then remove also the drivers/visorbus directory which is not anymore needed (it contained the driver for the virtualized bus for the Unisys s-Par firmware).

---

v1->v2: Add two "Cc:" lines, one to David Kershner and the second to the "sparmaintainer" list at unisys.com, as requested by Greg Kroah-Hartman.

v2->v3: Remove also the drivers/visorbus directory that was overlooked in v1 and v2. Extend the commit message to reflect this further removals. Add one more "Cc:" tag line (thanks to Alison Schofield who found another address in the TODO file of staging/unisys).

 MAINTAINERS                                   |    8 -
 drivers/Kconfig                               |    2 -
 drivers/Makefile                              |    1 -
 drivers/staging/Kconfig                       |    2 -
 drivers/staging/Makefile                      |    1 -
 .../ABI/sysfs-platform-visorchipset           |   89 -
 .../staging/unisys/Documentation/overview.txt |  337 ---
 drivers/staging/unisys/Kconfig                |   16 -
 drivers/staging/unisys/MAINTAINERS            |    5 -
 drivers/staging/unisys/Makefile               |    7 -
 drivers/staging/unisys/TODO                   |   16 -
 drivers/staging/unisys/include/iochannel.h    |  571 -----
 drivers/staging/unisys/visorhba/Kconfig       |   15 -
 drivers/staging/unisys/visorhba/Makefile      |   10 -
 .../staging/unisys/visorhba/visorhba_main.c   | 1142 ---------
 drivers/staging/unisys/visorinput/Kconfig     |   16 -
 drivers/staging/unisys/visorinput/Makefile    |    7 -
 .../staging/unisys/visorinput/visorinput.c    |  788 ------
 drivers/staging/unisys/visornic/Kconfig       |   16 -
 drivers/staging/unisys/visornic/Makefile      |   10 -
 .../staging/unisys/visornic/visornic_main.c   | 2131 -----------------
 drivers/visorbus/Kconfig                      |   15 -
 drivers/visorbus/Makefile                     |   10 -
 drivers/visorbus/controlvmchannel.h           |  650 -----
 drivers/visorbus/vbuschannel.h                |   95 -
 drivers/visorbus/visorbus_main.c              | 1234 ----------
 drivers/visorbus/visorbus_private.h           |   48 -
 drivers/visorbus/visorchannel.c               |  434 ----
 drivers/visorbus/visorchipset.c               | 1691 -------------
 29 files changed, 9367 deletions(-)
 delete mode 100644 drivers/staging/unisys/Documentation/ABI/sysfs-platform-visorchipset
 delete mode 100644 drivers/staging/unisys/Documentation/overview.txt
 delete mode 100644 drivers/staging/unisys/Kconfig
 delete mode 100644 drivers/staging/unisys/MAINTAINERS
 delete mode 100644 drivers/staging/unisys/Makefile
 delete mode 100644 drivers/staging/unisys/TODO
 delete mode 100644 drivers/staging/unisys/include/iochannel.h
 delete mode 100644 drivers/staging/unisys/visorhba/Kconfig
 delete mode 100644 drivers/staging/unisys/visorhba/Makefile
 delete mode 100644 drivers/staging/unisys/visorhba/visorhba_main.c
 delete mode 100644 drivers/staging/unisys/visorinput/Kconfig
 delete mode 100644 drivers/staging/unisys/visorinput/Makefile
 delete mode 100644 drivers/staging/unisys/visorinput/visorinput.c
 delete mode 100644 drivers/staging/unisys/visornic/Kconfig
 delete mode 100644 drivers/staging/unisys/visornic/Makefile
 delete mode 100644 drivers/staging/unisys/visornic/visornic_main.c
 delete mode 100644 drivers/visorbus/Kconfig
 delete mode 100644 drivers/visorbus/Makefile
 delete mode 100644 drivers/visorbus/controlvmchannel.h
 delete mode 100644 drivers/visorbus/vbuschannel.h
 delete mode 100644 drivers/visorbus/visorbus_main.c
 delete mode 100644 drivers/visorbus/visorbus_private.h
 delete mode 100644 drivers/visorbus/visorchannel.c
 delete mode 100644 drivers/visorbus/visorchipset.c
MAINTAINERS +0 -8
index 3ed62dcd144e..a62da6d0f943 100644
@@ -20183,14 +20183,6 @@ F:	drivers/cdrom/cdrom.c
 F:	include/linux/cdrom.h
 F:	include/uapi/linux/cdrom.h
 
-UNISYS S-PAR DRIVERS
-M:	David Kershner <[email protected]>
-L:	[email protected] (Unisys internal)
-S:	Supported
-F:	drivers/staging/unisys/
-F:	drivers/visorbus/
-F:	include/linux/visorbus.h
-
 UNIVERSAL FLASH STORAGE HOST CONTROLLER DRIVER
 R:	Alim Akhtar <[email protected]>
 R:	Avri Altman <[email protected]>
drivers/Kconfig +0 -2
index 8d6cd5d08722..0cbbe2c58648 100644
@@ -225,8 +225,6 @@ source "drivers/mux/Kconfig"
 
 source "drivers/opp/Kconfig"
 
-source "drivers/visorbus/Kconfig"
-
 source "drivers/siox/Kconfig"
 
 source "drivers/slimbus/Kconfig"
drivers/Makefile +0 -1
index 020780b6b4d2..e40942c0b445 100644
@@ -181,7 +181,6 @@ obj-$(CONFIG_FPGA)		+= fpga/
 obj-$(CONFIG_FSI)		+= fsi/
 obj-$(CONFIG_TEE)		+= tee/
 obj-$(CONFIG_MULTIPLEXER)	+= mux/
-obj-$(CONFIG_UNISYS_VISORBUS)	+= visorbus/
 obj-$(CONFIG_SIOX)		+= siox/
 obj-$(CONFIG_GNSS)		+= gnss/
 obj-$(CONFIG_INTERCONNECT)	+= interconnect/
drivers/staging/Kconfig +0 -2
index fc274737053d..a4d9f39dde90 100644
@@ -64,8 +64,6 @@ source "drivers/staging/gdm724x/Kconfig"
 
 source "drivers/staging/fwserial/Kconfig"
 
-source "drivers/staging/unisys/Kconfig"
-
 source "drivers/staging/clocking-wizard/Kconfig"
 
 source "drivers/staging/fbtft/Kconfig"
drivers/staging/Makefile +0 -1
index 65e317922e3f..a17a2aeaceba 100644
@@ -22,7 +22,6 @@ obj-$(CONFIG_MFD_NVEC)		+= nvec/
 obj-$(CONFIG_STAGING_BOARD)	+= board/
 obj-$(CONFIG_LTE_GDM724X)	+= gdm724x/
 obj-$(CONFIG_FIREWIRE_SERIAL)	+= fwserial/
-obj-$(CONFIG_UNISYSSPAR)	+= unisys/
 obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD)	+= clocking-wizard/
 obj-$(CONFIG_FB_TFT)		+= fbtft/
 obj-$(CONFIG_MOST)		+= most/
drivers/staging/unisys/Documentation/ABI/sysfs-platform-visorchipset deleted +0 -89

89 lines not on this page · raw message

drivers/staging/unisys/Documentation/overview.txt deleted +0 -337

337 lines not on this page · raw message

drivers/staging/unisys/Kconfig deleted +0 -16
deleted file mode 100644
index 43fe1ce538e1..000000000000
@@ -1,16 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Unisys SPAR driver configuration
-#
-menuconfig UNISYSSPAR
-	bool "Unisys SPAR driver support"
-	help
-	  Support for the Unisys SPAR drivers
-
-if UNISYSSPAR
-
-source "drivers/staging/unisys/visornic/Kconfig"
-source "drivers/staging/unisys/visorinput/Kconfig"
-source "drivers/staging/unisys/visorhba/Kconfig"
-
-endif # UNISYSSPAR
drivers/staging/unisys/MAINTAINERS deleted +0 -5
deleted file mode 100644
index aaddc619c329..000000000000
@@ -1,5 +0,0 @@
-Unisys s-Par drivers
-M:	David Kershner <[email protected]>
-S:	Maintained
-F:	drivers/staging/unisys/Documentation/overview.txt
-F:	drivers/staging/unisys/
drivers/staging/unisys/Makefile deleted +0 -7
deleted file mode 100644
index c0f76cc196a6..000000000000
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for Unisys SPAR drivers
-#
-obj-$(CONFIG_UNISYS_VISORNIC)		+= visornic/
-obj-$(CONFIG_UNISYS_VISORINPUT)		+= visorinput/
-obj-$(CONFIG_UNISYS_VISORHBA)		+= visorhba/
drivers/staging/unisys/TODO deleted +0 -16
deleted file mode 100644
index d863f266bf76..000000000000
@@ -1,16 +0,0 @@
-TODO:
-	- enhance visornic to use channel_interrupt() hook instead of a
-	  kernel thread
-	- enhance visorhba to use channel_interrupt() hook instead of a
-	  kernel thread
-	- teach visorbus to handle virtual interrupts triggered by s-Par
-	  back-end, and call function driver's channel_interrupt() function
-	  when they occur
-	- enhance debugfs interfaces (e.g., per device, etc.)
-	- upgrade/remove deprecated workqueue operations
-	- move individual drivers into proper driver subsystems
-
-Patches to:
-	Greg Kroah-Hartman <[email protected]>
-	Ken Cox <[email protected]>
-	Unisys s-Par maintainer mailing list <[email protected]>
drivers/staging/unisys/include/iochannel.h deleted +0 -571

571 lines not on this page · raw message

drivers/staging/unisys/visorhba/Kconfig deleted +0 -15
deleted file mode 100644
index ed59ac11c322..000000000000
@@ -1,15 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Unisys visorhba configuration
-#
-
-config UNISYS_VISORHBA
-	tristate "Unisys visorhba driver"
-	depends on UNISYSSPAR && UNISYS_VISORBUS && SCSI
-	help
-		The Unisys visorhba driver provides support for s-Par HBA
-		devices exposed on the s-Par visorbus. When a message is sent
-		to visorbus to create a HBA device, the probe function of
-		visorhba is called to create the scsi device.
-		If you say Y here, you will enable the Unisys visorhba driver.
-
drivers/staging/unisys/visorhba/Makefile deleted +0 -10
deleted file mode 100644
index b613a7dcdae9..000000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for Unisys channel
-#
-
-obj-$(CONFIG_UNISYS_VISORHBA)	+= visorhba.o
-
-visorhba-y := visorhba_main.o
-
-ccflags-y += -I $(srctree)/$(src)/../include
drivers/staging/unisys/visorhba/visorhba_main.c deleted +0 -1142

1,142 lines not on this page · raw message

drivers/staging/unisys/visorinput/Kconfig deleted +0 -16
deleted file mode 100644
index 5f036393aee9..000000000000
@@ -1,16 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Unisys visorinput configuration
-#
-
-config UNISYS_VISORINPUT
-	tristate "Unisys visorinput driver"
-	depends on UNISYSSPAR && UNISYS_VISORBUS && INPUT
-	help
-		The Unisys s-Par visorinput driver provides a virtualized system
-		console (keyboard and mouse) that is accessible through the
-		s-Par firmware's user interface. s-Par provides video using the EFI
-		GOP protocol, so If this driver is not present, the Linux guest should
-		still boot with visible output in the partition desktop, but keyboard
-		and mouse interaction will not be available.
-
drivers/staging/unisys/visorinput/Makefile deleted +0 -7
deleted file mode 100644
index 68ced7c8a65f..000000000000
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for Unisys visorinput
-#
-
-obj-$(CONFIG_UNISYS_VISORINPUT)	+= visorinput.o
-
drivers/staging/unisys/visorinput/visorinput.c deleted +0 -788

725 lines not on this page · raw message

drivers/staging/unisys/visornic/Kconfig deleted +0 -16
deleted file mode 100644
index 3f8f5570821b..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/unisys/visornic/Makefile deleted +0 -10
deleted file mode 100644
index f2984880c340..000000000000

Lines of this file are not shown. View the raw message.

drivers/staging/unisys/visornic/visornic_main.c deleted +0 -2131

2,131 lines not on this page · raw message

drivers/visorbus/Kconfig deleted +0 -15
deleted file mode 100644
index fa947a79b5cd..000000000000

Lines of this file are not shown. View the raw message.

drivers/visorbus/Makefile deleted +0 -10
deleted file mode 100644
index e8df59d1301f..000000000000

Lines of this file are not shown. View the raw message.

drivers/visorbus/controlvmchannel.h deleted +0 -650

650 lines not on this page · raw message

drivers/visorbus/vbuschannel.h deleted +0 -95

95 lines not on this page · raw message

drivers/visorbus/visorbus_main.c deleted +0 -1234

1,234 lines not on this page · raw message

drivers/visorbus/visorbus_private.h deleted +0 -48

48 lines not on this page · raw message

drivers/visorbus/visorchannel.c deleted +0 -434

434 lines not on this page · raw message

drivers/visorbus/visorchipset.c deleted +0 -1691

1,691 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.34.1

Part of the diff is not shown here. View the raw message.