diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2018-06-28 06:05:07 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-02 09:54:32 -0400 |
commit | 322dc4af6c95cddc4f9d806197fe6b376cfae350 (patch) | |
tree | 52b298be976cec9b3c3d6688b1a11a978d6a302a /include/misc | |
parent | 8bf6b91a5125ad9972281666430691d6a282d794 (diff) |
Revert "cxl: Add cxl_slot_is_supported API"
Remove abandonned capi support for the Mellanox CX4.
This reverts commit 4e56f858bdde5cbfb70f61baddfaa56a8ed851bf.
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/misc')
-rw-r--r-- | include/misc/cxl.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/misc/cxl.h b/include/misc/cxl.h index 74da2e440763..ea9ff4a1a9ca 100644 --- a/include/misc/cxl.h +++ b/include/misc/cxl.h | |||
@@ -24,21 +24,6 @@ | |||
24 | * generic PCI API. This API is agnostic to the actual AFU. | 24 | * generic PCI API. This API is agnostic to the actual AFU. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #define CXL_SLOT_FLAG_DMA 0x1 | ||
28 | |||
29 | /* | ||
30 | * Checks if the given card is in a cxl capable slot. Pass CXL_SLOT_FLAG_DMA if | ||
31 | * the card requires CAPP DMA mode to also check if the system supports it. | ||
32 | * This is intended to be used by bi-modal devices to determine if they can use | ||
33 | * cxl mode or if they should continue running in PCI mode. | ||
34 | * | ||
35 | * Note that this only checks if the slot is cxl capable - it does not | ||
36 | * currently check if the CAPP is currently available for chips where it can be | ||
37 | * assigned to different PHBs on a first come first serve basis (i.e. P8) | ||
38 | */ | ||
39 | bool cxl_slot_is_supported(struct pci_dev *dev, int flags); | ||
40 | |||
41 | |||
42 | /* Get the AFU associated with a pci_dev */ | 27 | /* Get the AFU associated with a pci_dev */ |
43 | struct cxl_afu *cxl_pci_to_afu(struct pci_dev *dev); | 28 | struct cxl_afu *cxl_pci_to_afu(struct pci_dev *dev); |
44 | 29 | ||