lkml.org 
[lkml]   [2016]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/2] mailbox: mailbox-test: add support for fasync/poll
On Fri, Dec 9, 2016 at 12:26 AM, Sudeep Holla <sudeep.holla@arm.com> wrote:
>
>
> On 29/11/16 14:37, Sudeep Holla wrote:
>> Currently the read operation on the message debug file returns error if
>> there's no data ready to be read. It expects the userspace to retry if
>> it fails. Since the mailbox response could be asynchronous, it would be
>> good to add support to block the read until the data is available.
>>
>> We can also implement poll file operations so that the userspace can
>> wait to become ready to perform any I/O.
>>
>> This patch implements the poll and fasync file operation callback for
>> the test mailbox device.
>>
>> Cc: Lee Jones <lee.jones@linaro.org>
>> Cc: Jassi Brar <jaswinder.singh@linaro.org>
>> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
>
> Gentle Ping!
>
Would be good to have Lee's ack.

\
 
 \ /
  Last update: 2016-12-10 16:22    [W:0.044 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site