Revert "cxl: Allow a default context to be associated with an external pci_dev"
Remove abandonned capi support for the Mellanox CX4.
This reverts commit a19bd79e31.
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>
This commit is contained in:
parent
322dc4af6c
commit
f18a4e1d97
7 changed files with 28 additions and 97 deletions
|
|
@ -10,8 +10,6 @@
|
|||
#ifndef _MISC_CXL_BASE_H
|
||||
#define _MISC_CXL_BASE_H
|
||||
|
||||
#include <misc/cxl.h>
|
||||
|
||||
#ifdef CONFIG_CXL_BASE
|
||||
|
||||
#define CXL_IRQ_RANGES 4
|
||||
|
|
@ -41,8 +39,6 @@ static inline void cxl_ctx_put(void)
|
|||
struct cxl_afu *cxl_afu_get(struct cxl_afu *afu);
|
||||
void cxl_afu_put(struct cxl_afu *afu);
|
||||
void cxl_slbia(struct mm_struct *mm);
|
||||
bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu);
|
||||
void cxl_pci_disable_device(struct pci_dev *dev);
|
||||
|
||||
#else /* CONFIG_CXL_BASE */
|
||||
|
||||
|
|
@ -50,8 +46,6 @@ static inline bool cxl_ctx_in_use(void) { return false; }
|
|||
static inline struct cxl_afu *cxl_afu_get(struct cxl_afu *afu) { return NULL; }
|
||||
static inline void cxl_afu_put(struct cxl_afu *afu) {}
|
||||
static inline void cxl_slbia(struct mm_struct *mm) {}
|
||||
static inline bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu) { return false; }
|
||||
static inline void cxl_pci_disable_device(struct pci_dev *dev) {}
|
||||
|
||||
#endif /* CONFIG_CXL_BASE */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue