Skip to content

Commit

Permalink
Automatic merge of 'next-test' into merge-test (2024-12-13 09:20)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddy-kerneldev committed Dec 13, 2024
2 parents 2dd0957 + f117051 commit 41dc27e
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
The cxl driver is no longer maintained, and will be removed from the kernel in
the near future.

Please note that attributes that are shared between devices are stored in
the directory pointed to by the symlink device/.
For example, the real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is
Expand Down
4 changes: 2 additions & 2 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -6228,8 +6228,8 @@ CXL (IBM Coherent Accelerator Processor Interface CAPI) DRIVER
M: Frederic Barrat <[email protected]>
M: Andrew Donnellan <[email protected]>
L: [email protected]
S: Supported
F: Documentation/ABI/testing/sysfs-class-cxl
S: Obsolete
F: Documentation/ABI/obsolete/sysfs-class-cxl
F: Documentation/arch/powerpc/cxl.rst
F: arch/powerpc/platforms/powernv/pci-cxl.c
F: drivers/misc/cxl/
Expand Down
6 changes: 4 additions & 2 deletions drivers/misc/cxl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ config CXL_BASE
select PPC_64S_HASH_MMU

config CXL
tristate "Support for IBM Coherent Accelerators (CXL)"
tristate "Support for IBM Coherent Accelerators (CXL) (DEPRECATED)"
depends on PPC_POWERNV && PCI_MSI && EEH
select CXL_BASE
default m
help
The cxl driver is deprecated and will be removed in a future
kernel release.

Select this option to enable driver support for IBM Coherent
Accelerators (CXL). CXL is otherwise known as Coherent Accelerator
Processor Interface (CAPI). CAPI allows accelerators in FPGAs to be
Expand Down
2 changes: 2 additions & 0 deletions drivers/misc/cxl/of.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ int cxl_of_probe(struct platform_device *pdev)
int ret;
int slice = 0, slice_ok = 0;

dev_err_once(&pdev->dev, "DEPRECATION: cxl is deprecated and will be removed in a future kernel release\n");

pr_devel("in %s\n", __func__);

np = pdev->dev.of_node;
Expand Down
2 changes: 2 additions & 0 deletions drivers/misc/cxl/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1726,6 +1726,8 @@ static int cxl_probe(struct pci_dev *dev, const struct pci_device_id *id)
int slice;
int rc;

dev_err_once(&dev->dev, "DEPRECATED: cxl is deprecated and will be removed in a future kernel release\n");

if (cxl_pci_is_vphb_device(dev)) {
dev_dbg(&dev->dev, "cxl_init_adapter: Ignoring cxl vphb device\n");
return -ENODEV;
Expand Down
6 changes: 4 additions & 2 deletions drivers/scsi/cxlflash/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
#

config CXLFLASH
tristate "Support for IBM CAPI Flash"
tristate "Support for IBM CAPI Flash (DEPRECATED)"
depends on PCI && SCSI && (CXL || OCXL) && EEH
select IRQ_POLL
default m
help
The cxlflash driver is deprecated and will be removed in a future
kernel release.

Allows CAPI Accelerated IO to Flash
If unsure, say N.
2 changes: 2 additions & 0 deletions drivers/scsi/cxlflash/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3651,6 +3651,8 @@ static int cxlflash_probe(struct pci_dev *pdev,
int rc = 0;
int k;

dev_err_once(&pdev->dev, "DEPRECATION: cxlflash is deprecated and will be removed in a future kernel release\n");

dev_dbg(&pdev->dev, "%s: Found CXLFLASH with IRQ: %d\n",
__func__, pdev->irq);

Expand Down

0 comments on commit 41dc27e

Please sign in to comment.