summaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
authorAlastair D'Silva <alastair@d-silva.org>2018-06-28 06:05:02 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-02 09:54:31 -0400
commit17d29039388807305ab02a4d6eae7cbe09f81f90 (patch)
tree0840162bb6a80262156b1f49d635e052f9111202 /include/misc
parent0cfd7335d1ebea42cf113fd22452f6a10d3960fe (diff)
Revert "cxl: Add preliminary workaround for CX4 interrupt limitation"
Remove abandonned capi support for the Mellanox CX4. This reverts commit cbce0917e2e47d4bf5aa3b5fd6b1247f33e1a126. 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 'include/misc')
-rw-r--r--include/misc/cxl.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/misc/cxl.h b/include/misc/cxl.h
index 82cc6ffafe2d..6a3711a2e217 100644
--- a/include/misc/cxl.h
+++ b/include/misc/cxl.h
@@ -184,26 +184,6 @@ void cxl_psa_unmap(void __iomem *addr);
184int cxl_process_element(struct cxl_context *ctx); 184int cxl_process_element(struct cxl_context *ctx);
185 185
186/* 186/*
187 * Limit the number of interrupts that a single context can allocate via
188 * cxl_start_work. If using the api with a real phb, this may be used to
189 * request that additional default contexts be created when allocating
190 * interrupts via pci_enable_msix_range. These will be set to the same running
191 * state as the default context, and if that is running it will reuse the
192 * parameters previously passed to cxl_start_context for the default context.
193 */
194int cxl_set_max_irqs_per_process(struct pci_dev *dev, int irqs);
195int cxl_get_max_irqs_per_process(struct pci_dev *dev);
196
197/*
198 * Use to simultaneously iterate over hardware interrupt numbers, contexts and
199 * afu interrupt numbers allocated for the device via pci_enable_msix_range and
200 * is a useful convenience function when working with hardware that has
201 * limitations on the number of interrupts per process. *ctx and *afu_irq
202 * should be NULL and 0 to start the iteration.
203 */
204int cxl_next_msi_hwirq(struct pci_dev *pdev, struct cxl_context **ctx, int *afu_irq);
205
206/*
207 * These calls allow drivers to create their own file descriptors and make them 187 * These calls allow drivers to create their own file descriptors and make them
208 * identical to the cxl file descriptor user API. An example use case: 188 * identical to the cxl file descriptor user API. An example use case:
209 * 189 *