Re: [PATCH v3 03/10] VFIO: platform: single handler using function pointer

2015-08-17 Thread Eric Auger
Alex, On 08/12/2015 08:56 PM, Alex Williamson wrote: > On Mon, 2015-08-10 at 15:20 +0200, Eric Auger wrote: >> A single handler now is registered whatever the use case: automasked >> or not. A function pointer is set according to the wished behavior >> and the handler calls this function. >> >> The

Re: [PATCH v3 03/10] VFIO: platform: single handler using function pointer

2015-08-12 Thread Alex Williamson
On Mon, 2015-08-10 at 15:20 +0200, Eric Auger wrote: > A single handler now is registered whatever the use case: automasked > or not. A function pointer is set according to the wished behavior > and the handler calls this function. > > The irq lock is taken/released in the root handler. eventfd_si

[PATCH v3 03/10] VFIO: platform: single handler using function pointer

2015-08-10 Thread Eric Auger
A single handler now is registered whatever the use case: automasked or not. A function pointer is set according to the wished behavior and the handler calls this function. The irq lock is taken/released in the root handler. eventfd_signal can be called in regions not allowed to sleep. Signed-off