All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: Add support for non-blocking synchronous transfers
@ 2009-02-28  8:10 Balaji Rao
  2009-02-28  8:10 ` [PATCH 1/2] " Balaji Rao
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Balaji Rao @ 2009-02-28  8:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: spi-devel-general, Andy Green, David Brownell

Hi,

During the course of development of an accelerometer driver, we saw the
necessity to execute spi transfers synchronously within an interrupt handler.
When using a workqueue instead, we observed a huge number of overruns with very
high cpu utlization, which is unacceptable.

This series adds a new interface for this and modifies no existing ones.

[PATCH 1/2] - Adds synchronous non-blocking transfer support to spi core
[PATCH 2/2] - Implements this support in spi_bitbang.c


Balaji Rao (2):
      spi_bitbang: Add support for non-blocking synchronous transfers
      spi: Add support for non-blocking synchronous transfers


 drivers/spi/spi_bitbang.c       |  227 +++++++++++++++++++++------------------
 include/linux/spi/spi.h         |   31 +++++
 include/linux/spi/spi_bitbang.h |    5 +
 3 files changed, 156 insertions(+), 107 deletions(-)


--
Balaji Rao

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2009-03-01 10:23 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-28  8:10 [PATCH 0/2] spi: Add support for non-blocking synchronous transfers Balaji Rao
2009-02-28  8:10 ` [PATCH 1/2] " Balaji Rao
2009-02-28  8:11 ` [PATCH 2/2] spi_bitbang: " Balaji Rao
     [not found]   ` <20090228081117.31964.51155.stgit-bnrf61MYqdMYW0ZX77RX+A@public.gmane.org>
2009-02-28  9:09     ` Simon Kagstrom
2009-02-28  9:09       ` Simon Kagstrom
2009-02-28  9:58       ` Balaji Rao
2009-02-28  9:58         ` Balaji Rao
     [not found]         ` <20090228095846.GA32044-bnrf61MYqdMYW0ZX77RX+A@public.gmane.org>
2009-02-28 10:15           ` Simon Kagstrom
2009-02-28 10:15             ` Simon Kagstrom
2009-02-28 10:59             ` Balaji Rao
2009-02-28 10:59               ` Balaji Rao
     [not found] ` <20090228081036.31964.80618.stgit-bnrf61MYqdMYW0ZX77RX+A@public.gmane.org>
2009-02-28 20:33   ` [PATCH 0/2] spi: " David Brownell
2009-02-28 20:33     ` David Brownell
     [not found]     ` <200902281233.50612.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2009-02-28 22:12       ` Balaji Rao
2009-02-28 22:12         ` Balaji Rao
     [not found]         ` <20090228221247.GA3107-bnrf61MYqdMYW0ZX77RX+A@public.gmane.org>
2009-02-28 23:19           ` David Brownell
2009-02-28 23:19             ` David Brownell
2009-03-01  5:11             ` Balaji Rao
2009-03-01  9:49               ` David Brownell
2009-03-01 10:23                 ` Balaji Rao
2009-03-01  7:48     ` Andy Green
     [not found]       ` <49AA3DD6.4040807-4Bgg8jF3iZdWk0Htik3J/w@public.gmane.org>
2009-03-01  9:43         ` David Brownell
2009-03-01  9:43           ` David Brownell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.