aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl/pci.c
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2018-06-28 06:05:05 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-02 09:54:32 -0400
commitc8d43cf08ab8c0b8829e67f7711bc72a3be6503f (patch)
tree6f26f8e2fe65aedabeb2b5fb540abbe480d4efd5 /drivers/misc/cxl/pci.c
parent29fea8aa21a69418386e3e08fa546a0ba9bee96d (diff)
Revert "cxl: Add support for using the kernel API with a real PHB"
Remove abandonned capi support for the Mellanox CX4. This reverts commit 317f5ef1b363417b6f1e93b90dfd2ffd6be6e867. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl/pci.c')
-rw-r--r--drivers/misc/cxl/pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
index 9c5a21fee835..193ff22f610b 100644
--- a/drivers/misc/cxl/pci.c
+++ b/drivers/misc/cxl/pci.c
@@ -1886,9 +1886,6 @@ static int cxl_probe(struct pci_dev *dev, const struct pci_device_id *id)
1886 dev_err(&dev->dev, "AFU %i failed to start: %i\n", slice, rc); 1886 dev_err(&dev->dev, "AFU %i failed to start: %i\n", slice, rc);
1887 } 1887 }
1888 1888
1889 if (pnv_pci_on_cxl_phb(dev) && adapter->slices >= 1)
1890 pnv_cxl_phb_set_peer_afu(dev, adapter->afu[0]);
1891
1892 return 0; 1889 return 0;
1893} 1890}
1894 1891