summaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2018-06-28 06:05:08 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-02 09:54:33 -0400
commitf18a4e1d973bc69a50419eb8918f458ea89c6c3f (patch)
tree156c85a02e40f27ba93f123e70d911e4d35bd102 /include/misc
parent322dc4af6c95cddc4f9d806197fe6b376cfae350 (diff)
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 a19bd79e31769626d288cc016e21a31b6f47bf6f. 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-base.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/misc/cxl-base.h b/include/misc/cxl-base.h
index bb7e629ae492..f53808fa638a 100644
--- a/include/misc/cxl-base.h
+++ b/include/misc/cxl-base.h
@@ -10,8 +10,6 @@
10#ifndef _MISC_CXL_BASE_H 10#ifndef _MISC_CXL_BASE_H
11#define _MISC_CXL_BASE_H 11#define _MISC_CXL_BASE_H
12 12
13#include <misc/cxl.h>
14
15#ifdef CONFIG_CXL_BASE 13#ifdef CONFIG_CXL_BASE
16 14
17#define CXL_IRQ_RANGES 4 15#define CXL_IRQ_RANGES 4
@@ -41,8 +39,6 @@ static inline void cxl_ctx_put(void)
41struct cxl_afu *cxl_afu_get(struct cxl_afu *afu); 39struct cxl_afu *cxl_afu_get(struct cxl_afu *afu);
42void cxl_afu_put(struct cxl_afu *afu); 40void cxl_afu_put(struct cxl_afu *afu);
43void cxl_slbia(struct mm_struct *mm); 41void cxl_slbia(struct mm_struct *mm);
44bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu);
45void cxl_pci_disable_device(struct pci_dev *dev);
46 42
47#else /* CONFIG_CXL_BASE */ 43#else /* CONFIG_CXL_BASE */
48 44
@@ -50,8 +46,6 @@ static inline bool cxl_ctx_in_use(void) { return false; }
50static inline struct cxl_afu *cxl_afu_get(struct cxl_afu *afu) { return NULL; } 46static inline struct cxl_afu *cxl_afu_get(struct cxl_afu *afu) { return NULL; }
51static inline void cxl_afu_put(struct cxl_afu *afu) {} 47static inline void cxl_afu_put(struct cxl_afu *afu) {}
52static inline void cxl_slbia(struct mm_struct *mm) {} 48static inline void cxl_slbia(struct mm_struct *mm) {}
53static inline bool cxl_pci_associate_default_context(struct pci_dev *dev, struct cxl_afu *afu) { return false; }
54static inline void cxl_pci_disable_device(struct pci_dev *dev) {}
55 49
56#endif /* CONFIG_CXL_BASE */ 50#endif /* CONFIG_CXL_BASE */
57 51