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

2015-08-19 Thread Ian Munsie
Excerpts from Michael Ellerman's message of 2015-08-19 15:30:46 +1000: > On Wed, 2015-08-19 at 14:19 +1000, Ian Munsie wrote: > > From: Ian Munsie > > > > This adds an afu_driver_ops structure with event_pending and > > deliver_event callbacks. An AFU driver can fill these out and associate > > i

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

2015-08-18 Thread Michael Ellerman
On Wed, 2015-08-19 at 14:19 +1000, Ian Munsie wrote: > From: Ian Munsie > > This adds an afu_driver_ops structure with event_pending and > deliver_event callbacks. An AFU driver can fill these out and associate > it with a context to enable passing custom AFU specific events to > userspace. What

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

2015-08-18 Thread Ian Munsie
From: Ian Munsie This adds an afu_driver_ops structure with event_pending and deliver_event callbacks. An AFU driver can fill these out and associate it with a context to enable passing custom AFU specific events to userspace. The cxl driver will call event_pending() during poll, select, read, e