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

2016-06-30 Thread Michael Ellerman
On Thu, 2016-23-06 at 13:03:53 UTC, Philippe Bergheaud wrote: > This adds an afu_driver_ops structure with fetch_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

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

2016-06-28 Thread Matthew R. Ochs
> On Jun 23, 2016, at 8:03 AM, Philippe Bergheaud > wrote: > > This adds an afu_driver_ops structure with fetch_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 >

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

2016-06-23 Thread Philippe Bergheaud
This adds an afu_driver_ops structure with fetch_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