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

From: Ian Munsie
Date: Wed Mar 09 2016 - 20:27:40 EST


Excerpts from Frederic Barrat's message of 2016-03-09 20:27:20 +1100:
> It would also avoid entering
> WARN(1, "afu_read must be buggy\n");
> if the driver changes its mind between the 2 calls :-)

Honestly, it had better not - that would be a gross violation of the
poll & read semantics and the kind of thing that leads to application
hangs.

Cheers,
-Ian