mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
Revert "cxl: Add preliminary workaround for CX4 interrupt limitation"
Remove abandonned capi support for the Mellanox CX4.
This reverts commit cbce0917e2
.
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>
This commit is contained in:
committed by
Michael Ellerman
parent
0cfd7335d1
commit
17d2903938
@@ -183,26 +183,6 @@ void cxl_psa_unmap(void __iomem *addr);
|
||||
/* Get the process element for this context */
|
||||
int cxl_process_element(struct cxl_context *ctx);
|
||||
|
||||
/*
|
||||
* Limit the number of interrupts that a single context can allocate via
|
||||
* cxl_start_work. If using the api with a real phb, this may be used to
|
||||
* request that additional default contexts be created when allocating
|
||||
* interrupts via pci_enable_msix_range. These will be set to the same running
|
||||
* state as the default context, and if that is running it will reuse the
|
||||
* parameters previously passed to cxl_start_context for the default context.
|
||||
*/
|
||||
int cxl_set_max_irqs_per_process(struct pci_dev *dev, int irqs);
|
||||
int cxl_get_max_irqs_per_process(struct pci_dev *dev);
|
||||
|
||||
/*
|
||||
* Use to simultaneously iterate over hardware interrupt numbers, contexts and
|
||||
* afu interrupt numbers allocated for the device via pci_enable_msix_range and
|
||||
* is a useful convenience function when working with hardware that has
|
||||
* limitations on the number of interrupts per process. *ctx and *afu_irq
|
||||
* should be NULL and 0 to start the iteration.
|
||||
*/
|
||||
int cxl_next_msi_hwirq(struct pci_dev *pdev, struct cxl_context **ctx, int *afu_irq);
|
||||
|
||||
/*
|
||||
* These calls allow drivers to create their own file descriptors and make them
|
||||
* identical to the cxl file descriptor user API. An example use case:
|
||||
|
Reference in New Issue
Block a user