[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7c683b2d-6f68-3b08-f23c-f135ecde13da@arm.com>
Date: Thu, 8 Dec 2016 18:56:50 +0000
From: Sudeep Holla <sudeep.holla@....com>
To: Jassi Brar <jassisinghbrar@...il.com>,
Lee Jones <lee.jones@...aro.org>,
Jassi Brar <jaswinder.singh@...aro.org>
Cc: linux-kernel@...r.kernel.org, Sudeep Holla <sudeep.holla@....com>
Subject: Re: [PATCH 1/2] mailbox: mailbox-test: add support for fasync/poll
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@...aro.org>
> Cc: Jassi Brar <jaswinder.singh@...aro.org>
> Signed-off-by: Sudeep Holla <sudeep.holla@....com>
Gentle Ping!
--
Regards,
Sudeep
Powered by blists - more mailing lists