[v5, 1/2] cxl: Add mechanism for delivering AFU driver specific events

Philippe Bergheaud felix at linux.vnet.ibm.com
Thu Jun 16 23:59:15 AEST 2016


Michael Ellerman wrote:
> On Mon, 2016-23-05 at 12:49:01 UTC, Philippe Bergheaud wrote:
> 
>>This adds an afu_driver_ops structure with deliver_event() and
>>event_delivered() callbacks. An AFU driver such as cxlflash can fill
>>this out and associate it with a context to enable passing custom
>>AFU specific events to userspace.
>>
>>This also adds a new kernel API function cxl_context_pending_events(),
>>that the AFU driver can use to notify the cxl driver that new specific
>>events are ready to be delivered, and wake up anyone waiting on the
>>context wait queue.
> 
> ...
> 
>>Signed-off-by: Philippe Bergheaud <felix at linux.vnet.ibm.com>
> 
> 
> It looks like the discussion has settled down on this one, and everyone was OK
> with it, except maybe the naming?
> 
> So can we either get some ACKs, or a v6 with new naming?
> 
I am about to send a v6.

Philippe



More information about the Linuxppc-dev mailing list