Skip to content

Commit 2483117

Browse files
author
Fox Snowpatch
committed
1 parent bc67cde commit 2483117

File tree

7 files changed

+19
-6
lines changed

7 files changed

+19
-6
lines changed

Documentation/ABI/testing/sysfs-class-cxl Documentation/ABI/obsolete/sysfs-class-cxl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
The cxl driver is no longer maintained, and will be removed from the kernel in
2+
the near future.
3+
14
Please note that attributes that are shared between devices are stored in
25
the directory pointed to by the symlink device/.
36
For example, the real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is

MAINTAINERS

+2-2
Original file line numberDiff line numberDiff line change
@@ -6228,8 +6228,8 @@ CXL (IBM Coherent Accelerator Processor Interface CAPI) DRIVER
62286228
M: Frederic Barrat <[email protected]>
62296229
M: Andrew Donnellan <[email protected]>
62306230
6231-
S: Supported
6232-
F: Documentation/ABI/testing/sysfs-class-cxl
6231+
S: Obsolete
6232+
F: Documentation/ABI/obsolete/sysfs-class-cxl
62336233
F: Documentation/arch/powerpc/cxl.rst
62346234
F: arch/powerpc/platforms/powernv/pci-cxl.c
62356235
F: drivers/misc/cxl/

drivers/misc/cxl/Kconfig

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ config CXL_BASE
99
select PPC_64S_HASH_MMU
1010

1111
config CXL
12-
tristate "Support for IBM Coherent Accelerators (CXL)"
12+
tristate "Support for IBM Coherent Accelerators (CXL) (DEPRECATED)"
1313
depends on PPC_POWERNV && PCI_MSI && EEH
1414
select CXL_BASE
15-
default m
1615
help
16+
The cxl driver is deprecated and will be removed in a future
17+
kernel release.
18+
1719
Select this option to enable driver support for IBM Coherent
1820
Accelerators (CXL). CXL is otherwise known as Coherent Accelerator
1921
Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be

drivers/misc/cxl/of.c

+2
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ int cxl_of_probe(struct platform_device *pdev)
295295
int ret;
296296
int slice = 0, slice_ok = 0;
297297

298+
dev_err_once(&pdev->dev, "DEPRECATION: cxl is deprecated and will be removed in a future kernel release\n");
299+
298300
pr_devel("in %s\n", __func__);
299301

300302
np = pdev->dev.of_node;

drivers/misc/cxl/pci.c

+2
Original file line numberDiff line numberDiff line change
@@ -1726,6 +1726,8 @@ static int cxl_probe(struct pci_dev *dev, const struct pci_device_id *id)
17261726
int slice;
17271727
int rc;
17281728

1729+
dev_err_once(&dev->dev, "DEPRECATED: cxl is deprecated and will be removed in a future kernel release\n");
1730+
17291731
if (cxl_pci_is_vphb_device(dev)) {
17301732
dev_dbg(&dev->dev, "cxl_init_adapter: Ignoring cxl vphb device\n");
17311733
return -ENODEV;

drivers/scsi/cxlflash/Kconfig

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
#
55

66
config CXLFLASH
7-
tristate "Support for IBM CAPI Flash"
7+
tristate "Support for IBM CAPI Flash (DEPRECATED)"
88
depends on PCI && SCSI && (CXL || OCXL) && EEH
99
select IRQ_POLL
10-
default m
1110
help
11+
The cxlflash driver is deprecated and will be removed in a future
12+
kernel release.
13+
1214
Allows CAPI Accelerated IO to Flash
1315
If unsure, say N.

drivers/scsi/cxlflash/main.c

+2
Original file line numberDiff line numberDiff line change
@@ -3651,6 +3651,8 @@ static int cxlflash_probe(struct pci_dev *pdev,
36513651
int rc = 0;
36523652
int k;
36533653

3654+
dev_err_once(&pdev->dev, "DEPRECATION: cxlflash is deprecated and will be removed in a future kernel release\n");
3655+
36543656
dev_dbg(&pdev->dev, "%s: Found CXLFLASH with IRQ: %d\n",
36553657
__func__, pdev->irq);
36563658

0 commit comments

Comments
 (0)