Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1538808
| From | Sudeep Holla <sudeep.holla@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] mailbox: mailbox-test: add support for fasync/poll |
| Date | 2016-12-08 20:00 +0100 |
| Message-ID | <sMc5b-1bo-19@gated-at.bofh.it> (permalink) |
| References | <sIRJD-1es-5@gated-at.bofh.it> |
| Organization | ARM |
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! -- Regards, Sudeep
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] mailbox: mailbox-test: add support for fasync/poll Sudeep Holla <sudeep.holla@arm.com> - 2016-11-29 15:40 +0100
[PATCH 2/2] mailbox: mailbox-test: allow reserved areas in SRAM Sudeep Holla <sudeep.holla@arm.com> - 2016-11-29 15:40 +0100
Re: [PATCH 1/2] mailbox: mailbox-test: add support for fasync/poll Sudeep Holla <sudeep.holla@arm.com> - 2016-12-08 20:00 +0100
Re: [PATCH 1/2] mailbox: mailbox-test: add support for fasync/poll Jassi Brar <jassisinghbrar@gmail.com> - 2016-12-10 16:30 +0100
csiph-web