public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: mm: Use dma-ranges for dma address translation
@ 2014-02-24 20:53 Santosh Shilimkar
  2014-02-24 20:53 ` [PATCH 1/4] ARM: mm: Introduce archdata.dma_pfn_offset Santosh Shilimkar
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Santosh Shilimkar @ 2014-02-24 20:53 UTC (permalink / raw)
  To: linux-arm-kernel

Following the RFC [1] comments and suggestions from Olof, Arnd, here is the
patchset tries to make use of dma-ranges property for dma address translations.
We add dma_pfn_offset to ARM archdata which can be updated per platform device
using a callback like dma-coherent callbacks.

I would like to get the fix for the problem in kernel sooner so appriciate
early feedback. 

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Olof Johansson <olof@lixom.net>
CC: Grygorii Strashko <grygorii.strashko@ti.com>

Grygorii Strashko (4):
  ARM: mm: Introduce archdata.dma_pfn_offset
  ARM: mm: Remove unsed dma_to_virt()
  ARM: dts: keystone: Use dma-ranges property
  ARM: keystone: Use dma-ranges for dma_pfn_offset configuration

 arch/arm/boot/dts/keystone.dtsi             |    1 +
 arch/arm/include/asm/device.h               |    1 +
 arch/arm/include/asm/dma-mapping.h          |   25 ++++-----
 arch/arm/mach-iop13xx/include/mach/memory.h |   11 ----
 arch/arm/mach-keystone/keystone.c           |   76 +++++++++++++++++++++++++--
 arch/arm/mach-ks8695/include/mach/memory.h  |    2 -
 arch/arm/mach-omap1/include/mach/memory.h   |    4 --
 7 files changed, 86 insertions(+), 34 deletions(-)

Regards,
Santosh
[1] http://www.spinics.net/lists/arm-kernel/msg304555.html
-- 
1.7.9.5

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

end of thread, other threads:[~2014-02-25 16:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 20:53 [PATCH 0/4] ARM: mm: Use dma-ranges for dma address translation Santosh Shilimkar
2014-02-24 20:53 ` [PATCH 1/4] ARM: mm: Introduce archdata.dma_pfn_offset Santosh Shilimkar
2014-02-24 20:53 ` [PATCH 2/4] ARM: mm: Remove unsed dma_to_virt() Santosh Shilimkar
2014-02-24 20:53 ` [PATCH 3/4] ARM: dts: keystone: Use dma-ranges property Santosh Shilimkar
2014-02-24 20:53 ` [PATCH 4/4] ARM: keystone: Use dma-ranges for dma_pfn_offset configuration Santosh Shilimkar
2014-02-24 21:11   ` Arnd Bergmann
2014-02-24 21:38     ` Santosh Shilimkar
2014-02-25  8:35       ` Arnd Bergmann
2014-02-25 14:14       ` Grygorii Strashko
2014-02-25 13:37         ` Arnd Bergmann
2014-02-25 15:19           ` Grygorii Strashko
2014-02-25 14:37             ` Arnd Bergmann
2014-02-25 16:05               ` Grygorii Strashko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox