[v2,0/2] cxl: Add basic MSI/MSI-X support

Message ID 20221014194930.2630416-1-dave@stgolabs.net
Headers
Series cxl: Add basic MSI/MSI-X support |

Message

Davidlohr Bueso Oct. 14, 2022, 7:49 p.m. UTC
  Hi,

Changes from v1 (https://lore.kernel.org/all/20221012180432.473373-1-dave@stgolabs.net/):

- Do not populate the cxl_irq_cap_table. (Jonathan)
- Moved vector allocation further above. (Jonathan)
- Added an irq_type flag, makes sense to have for checking during setup.
- Left no irq support as an error, but mentioned that in the the call is
  in the context of allocation. Otherwise this makes the user handling
  unnecessarily difficult.
- Picked up Dave's review.
- Added a second patch which adds the basic mailbox support (Dave)


Patch 1 contains updates for the generic table handling.

Patch 2 populates the table and adds mailbox support.

Please consider for v6.3.

Thanks!

Davidlohr Bueso (2):
  cxl/pci: Add generic MSI/MSI-X interrupt support
  cxl/mbox: Wire up basic irq support

 drivers/cxl/cxl.h    |  6 +++
 drivers/cxl/cxlmem.h |  2 +
 drivers/cxl/pci.c    | 91 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 99 insertions(+)

--
2.37.3