Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi/cxlflash: Deprecate driver

We intend to remove the cxlflash driver in an upcoming release. It is
already marked as Obsolete in MAINTAINERS.

The cxlflash driver has received minimal maintenance for some time, and
the CAPI Flash hardware that uses it is no longer commercially available.

Add a warning message on probe and change Kconfig to label the driver as
deprecated and not build the driver by default.

Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20241210054055.144813-3-ajd@linux.ibm.com

authored by

Andrew Donnellan and committed by
Madhavan Srinivasan
f1170515 5731d41a

+6 -2
+4 -2
drivers/scsi/cxlflash/Kconfig
··· 4 4 # 5 5 6 6 config CXLFLASH 7 - tristate "Support for IBM CAPI Flash" 7 + tristate "Support for IBM CAPI Flash (DEPRECATED)" 8 8 depends on PCI && SCSI && (CXL || OCXL) && EEH 9 9 select IRQ_POLL 10 - default m 11 10 help 11 + The cxlflash driver is deprecated and will be removed in a future 12 + kernel release. 13 + 12 14 Allows CAPI Accelerated IO to Flash 13 15 If unsure, say N.
+2
drivers/scsi/cxlflash/main.c
··· 3651 3651 int rc = 0; 3652 3652 int k; 3653 3653 3654 + dev_err_once(&pdev->dev, "DEPRECATION: cxlflash is deprecated and will be removed in a future kernel release\n"); 3655 + 3654 3656 dev_dbg(&pdev->dev, "%s: Found CXLFLASH with IRQ: %d\n", 3655 3657 __func__, pdev->irq); 3656 3658