public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <mike@compulab.co.il>
To: dbrownell@users.sourceforge.net
Cc: spi-devel-general@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, dcbw@redhat.com,
	andrey@cozybit.com, Mike Rapoport <mike@compulab.co.il>
Subject: [PATCH RESEND 0/3] Add dma_alignment field to spi_master
Date: Sun, 22 Feb 2009 14:19:15 +0200	[thread overview]
Message-ID: <cover.1234167048.git.mike@compulab.co.il> (raw)

Some SPI controllers have restrictions on DMAable buffers alignemt.
Currently if the buffer supplied by protocol driver is not properly
aligned, the controller silently performs transfer in PIO mode.
Addition of dma_alignment field to spi_master allows protocol drivers to
perform proper alignment.

Mike Rapoport (3):
  SPI: add dma_alignment field to spi_master
  pxa2xx_spi: set spi_master.dma_alignment = 8
  spi_imx: set spi_master.dma_alignment = 4

 drivers/spi/pxa2xx_spi.c |    2 ++
 drivers/spi/spi_imx.c    |    2 ++
 include/linux/spi/spi.h  |    6 ++++++
 3 files changed, 10 insertions(+), 0 deletions(-)


             reply	other threads:[~2009-02-22 12:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-22 12:19 Mike Rapoport [this message]
2009-02-22 12:19 ` [PATCH RESEND 1/3] SPI: add dma_alignment field to spi_master Mike Rapoport
2009-02-22 12:19 ` [PATCH RESEND 2/3] pxa2xx_spi: set spi_master.dma_alignment = 8 Mike Rapoport
2009-02-22 12:19 ` [PATCH RESEND 3/3] spi_imx: set spi_master.dma_alignment = 4 Mike Rapoport

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1234167048.git.mike@compulab.co.il \
    --to=mike@compulab.co.il \
    --cc=andrey@cozybit.com \
    --cc=dbrownell@users.sourceforge.net \
    --cc=dcbw@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=spi-devel-general@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox