All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Rapoport <mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
To: dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	andrey-W/OLz77bvjtBDgjK7y7TUQ@public.gmane.org,
	mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org
Subject: [PATCH 0/3] Add dma_alignment field to spi_master
Date: Mon,  9 Feb 2009 10:12:27 +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(-)


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

WARNING: multiple messages have this Message-ID (diff)
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-09  8:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09  8:12 Mike Rapoport [this message]
2009-02-22 12:19 ` [PATCH RESEND 0/3] Add dma_alignment field to spi_master Mike Rapoport
     [not found] ` <cover.1234167048.git.mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2009-02-09  8:12   ` [PATCH 1/3] SPI: add " Mike Rapoport
2009-02-22 12:19     ` [PATCH RESEND " Mike Rapoport
2009-02-09  8:12   ` [PATCH 2/3] pxa2xx_spi: set spi_master.dma_alignment = 8 Mike Rapoport
2009-02-22 12:19     ` [PATCH RESEND " Mike Rapoport
2009-02-09  8:12   ` [PATCH 3/3] spi_imx: set spi_master.dma_alignment = 4 Mike Rapoport
2009-02-22 12:19     ` [PATCH RESEND " Mike Rapoport
2009-02-16  9:05   ` [PATCH 0/3] Add dma_alignment field to spi_master 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-utxizqzc01rs1mouv/rt9w@public.gmane.org \
    --cc=andrey-W/OLz77bvjtBDgjK7y7TUQ@public.gmane.org \
    --cc=dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /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 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.