Re: [RFC V2 PATCH 11/11] cxl/mem: Wire up event interrupts

From: Davidlohr Bueso
Date: Wed Oct 12 2022 - 14:01:53 EST


On Mon, 10 Oct 2022, ira.weiny@xxxxxxxxx wrote:

From: Ira Weiny <ira.weiny@xxxxxxxxx>

CXL device events are signaled via interrupts. Each event log may have
a different interrupt message number. These message numbers are
reported in the Get Event Interrupt Policy mailbox command.

Create an infrastructure to query the max vectors required for the CXL
device. Add event interrupt information that infrastructure. Set up a
handler for each event log.

Davidlohr suggested the generic vector code.

So this should be a separate patch, and out of the event series altogether.
There are a number of interested parties for irq support, and imo the
generic vector stuff should be a first dependency to all of them.

I've sent out a patch with some updates you did. I also kept the whole
table populated with nil callbacks as I believe this documents the TODO
nicely.

Thanks,
Davidlohr