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
Subject: Re: [PATCH 0/3] Add dma_alignment field to spi_master
Date: Mon, 16 Feb 2009 11:05:12 +0200	[thread overview]
Message-ID: <49992C48.4000802@compulab.co.il> (raw)
In-Reply-To: <cover.1234167048.git.mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>

David,
Any comments?

Mike Rapoport wrote:
> 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(-)
> 

-- 
Sincerely yours,
Mike.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

      parent reply	other threads:[~2009-02-16  9:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09  8:12 [PATCH 0/3] Add dma_alignment field to spi_master Mike Rapoport
2009-02-22 12:19 ` [PATCH RESEND " 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   ` Mike Rapoport [this message]

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=49992C48.4000802@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.