Re: [PATCH] cxl: Add generic MSI/MSI-X interrupt support

From: Davidlohr Bueso
Date: Wed Oct 12 2022 - 19:36:58 EST


On Wed, 12 Oct 2022, Dave Jiang wrote:


On 10/12/2022 11:04 AM, Davidlohr Bueso wrote:
Introduce a generic irq table for CXL components/features that can have
standard irq support - DOE requires dynamic vector sizing and is not
considered here.

Create an infrastructure to query the max vectors required for the CXL
device.

Signed-off-by: Davidlohr Bueso <dave@xxxxxxxxxxxx>

LGTM. Although it would be nice to see the other half of the picture.
i.e. having the mailbox consuming the vector via request_irq() as an
example.

Well Ira has already implemented the irq support for the events[0], and my
plan is to send my mbox irq patches along with the async handling stuff
once this patch lands.


Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>

Thanks!

[0] https://lore.kernel.org/linux-cxl/20221012180136.tc3ryjumquvnaqk2@offworld/T/#me42f5ff69bb78ac47ce94b647e6628fa3e841696