Skip to contentSkip to conversation

Drop legacy megaraid implementation

PATCH In review Hannes Reinecke 3 participants 7 messages Jun 30, 2017 – Jul 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Drop legacy megaraid implementation

The legacy megaraid implementation is ancient, and support for most boards has been moved to megaraid_mm anyway. So drop the legacy implementation. And do not refer to 'megaraid_mm' as a 'new driver'; it's close to be obsoleted itself.

Hannes Reinecke (2):
Drop legacy megaraid controller
megaraid: drop the 'new driver' statements

 MAINTAINERS                            |    1 -
 drivers/scsi/Makefile                  |    1 -
 drivers/scsi/megaraid.c                | 4730 --------------------------------
 drivers/scsi/megaraid.h                | 1010 -------
 drivers/scsi/megaraid/Kconfig.megaraid |   17 +-
 5 files changed, 3 insertions(+), 5756 deletions(-)
 delete mode 100644 drivers/scsi/megaraid.c
 delete mode 100644 drivers/scsi/megaraid.h
Signature · 1 line
1.8.5.6
#6 lore raw

PATCH 2/2 megaraid: drop the 'new driver' statements

This driver is hardly new; it has been supersede by at least four other generations of megaraid RAID HBAs.

---
 drivers/scsi/megaraid/Kconfig.megaraid | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/megaraid/Kconfig.megaraid +3 -3
index ad1dc16..cb4952c 100644
@@ -1,11 +1,11 @@
 config MEGARAID_NEWGEN
-	bool "LSI Logic New Generation RAID Device Drivers"
+	bool "LSI Logic RAID Device Drivers"
 	depends on PCI && SCSI
 	help
 	LSI Logic RAID Device Drivers
 
 config MEGARAID_MM
-	tristate "LSI Logic Management Module (New Driver)"
+	tristate "LSI Logic Management Module"
 	depends on PCI && SCSI && MEGARAID_NEWGEN
 	help
 	Management Module provides ioctl, sysfs support for LSI Logic
@@ -15,7 +15,7 @@ config MEGARAID_MM
 
 
 config MEGARAID_MAILBOX
-	tristate "LSI Logic MegaRAID Driver (New Driver)"
+	tristate "LSI Logic MegaRAID Driver"
 	depends on PCI && SCSI && MEGARAID_MM
 	help
 	List of supported controllers
Signature · 1 line
1.8.5.6
#1 lore raw

PATCH 1/2 Drop legacy megaraid controller

In reply to Hannes Reinecke

The hardware is ancient, and support for most cards has been moved to megaraid_mbox. So drop it.

---
 MAINTAINERS                            |    1 -
 drivers/scsi/Makefile                  |    1 -
 drivers/scsi/megaraid.c                | 4730 --------------------------------
 drivers/scsi/megaraid.h                | 1010 -------
 drivers/scsi/megaraid/Kconfig.megaraid |   11 -
 5 files changed, 5753 deletions(-)
 delete mode 100644 drivers/scsi/megaraid.c
 delete mode 100644 drivers/scsi/megaraid.h
MAINTAINERS +0 -1
index 09b5ab6..0ab2205 100644
@@ -8284,7 +8284,6 @@ L:	[email protected]
 W:	http://www.avagotech.com/support/
 S:	Maintained
 F:	Documentation/scsi/megaraid.txt
-F:	drivers/scsi/megaraid.*
 F:	drivers/scsi/megaraid/
 
 MELFAS MIP4 TOUCHSCREEN DRIVER
drivers/scsi/Makefile +0 -1
index 93dbe58..3eb4552 100644
@@ -97,7 +97,6 @@ obj-$(CONFIG_SCSI_EATA)		+= eata.o
 obj-$(CONFIG_SCSI_DC395x)	+= dc395x.o
 obj-$(CONFIG_SCSI_AM53C974)	+= esp_scsi.o	am53c974.o
 obj-$(CONFIG_CXLFLASH)		+= cxlflash/
-obj-$(CONFIG_MEGARAID_LEGACY)	+= megaraid.o
 obj-$(CONFIG_MEGARAID_NEWGEN)	+= megaraid/
 obj-$(CONFIG_MEGARAID_SAS)	+= megaraid/
 obj-$(CONFIG_SCSI_MPT3SAS)	+= mpt3sas/
drivers/scsi/megaraid.c deleted +0 -4730

2,986 lines not on this page · raw message

drivers/scsi/megaraid.h deleted +0 -1010

1,010 lines not on this page · raw message

drivers/scsi/megaraid/Kconfig.megaraid +0 -11
index 17419e3..ad1dc16 100644

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

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

Signature · 1 line
1.8.5.6

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

#2 lore raw

Re: [PATCH 1/2] Drop legacy megaraid controller

Quoted 2 lines · Hannes Reinecke

The hardware is ancient, and support for most cards has been moved to megaraid_mbox. So drop it.

This seems to drop support for the PCI_DEVICE_ID_AMI_MEGARAID and PCI_DEVICE_ID_AMI_MEGARAID2 cards. Do we have any suggestions this code is so broken to not care anymore? Is there any reason why they can't just work with the megaraid_mbox driver?

#3 lore raw

Re: [PATCH 1/2] Drop legacy megaraid controller

Quoted 10 lines · Christoph Hellwig
Quoted 2 lines · Hannes Reinecke

The hardware is ancient, and support for most cards has been moved to megaraid_mbox. So drop it.

This seems to drop support for the PCI_DEVICE_ID_AMI_MEGARAID and PCI_DEVICE_ID_AMI_MEGARAID2 cards. Do we have any suggestions this code is so broken to not care anymore? Is there any reason why they can't just work with the megaraid_mbox driver?

Hmm. Probably no good reason at all.
I'll check which version I have here.

Cheers,

Hannes

Signature · 5 lines
Dr. Hannes Reinecke		   Teamlead Storage & Networking
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
maintainer
#4 lore raw

RE: [PATCH 1/2] Drop legacy megaraid controller

Quoted 15 lines

-----Original Message-----
From: Hannes Reinecke [mailto:[email protected]]
Sent: Friday, June 30, 2017 11:46 PM
To: Christoph Hellwig
Cc: Martin K. Petersen; James Bottomley; Kashyap Desai; Sumit Saxena; linux-
[email protected]; Hannes Reinecke
Subject: Re: [PATCH 1/2] Drop legacy megaraid controller

Quoted 5 lines · Christoph Hellwig
Quoted 2 lines · Hannes Reinecke

The hardware is ancient, and support for most cards has been moved to megaraid_mbox. So drop it.

Quoted 7 lines
Quoted 5 lines

This seems to drop support for the PCI_DEVICE_ID_AMI_MEGARAID and PCI_DEVICE_ID_AMI_MEGARAID2 cards. Do we have any suggestions this code is so broken to not care anymore? Is there any reason why they can't just work with the megaraid_mbox driver?

Hmm. Probably no good reason at all. I'll check which version I have here.

Hannes,
We are willing to keep only megaraid_sas driver and intent is rest of megaraid* drivers
(it includes megaraid, megaraid_mm, megaraid_mbox) should be removed. Broadcom(LSI) has stopped supporting hardware associated with these old drivers.

Thanks,
Sumit

Quoted 10 lines

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
[email protected] +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)

#5 lore raw

Re: [PATCH 1/2] Drop legacy megaraid controller

Quoted 23 lines · Sumit Saxena
Quoted 15 lines

-----Original Message-----
From: Hannes Reinecke [mailto:[email protected]]
Sent: Friday, June 30, 2017 11:46 PM
To: Christoph Hellwig
Cc: Martin K. Petersen; James Bottomley; Kashyap Desai; Sumit Saxena; linux-
[email protected]; Hannes Reinecke
Subject: Re: [PATCH 1/2] Drop legacy megaraid controller

Quoted 5 lines · Christoph Hellwig
Quoted 2 lines · Hannes Reinecke

The hardware is ancient, and support for most cards has been moved to megaraid_mbox. So drop it.

Quoted 7 lines
Quoted 5 lines

This seems to drop support for the PCI_DEVICE_ID_AMI_MEGARAID and PCI_DEVICE_ID_AMI_MEGARAID2 cards. Do we have any suggestions this code is so broken to not care anymore? Is there any reason why they can't just work with the megaraid_mbox driver?

Hmm. Probably no good reason at all.
I'll check which version I have here.

Quoted 7 lines

Hannes,
We are willing to keep only megaraid_sas driver and intent is rest of megaraid* drivers
(it includes megaraid, megaraid_mm, megaraid_mbox) should be removed. Broadcom(LSI) has stopped supporting hardware associated with these old drivers.

I'd be willing to take over maintainership of the old megaraid_mbox driver; I'm working on moving PIO support into the megaraid_mbox code, and with that we can drop the old megaraid.c driver.

Cheers,

Hannes

Signature · 5 lines
Dr. Hannes Reinecke		   Teamlead Storage & Networking
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)