Re: [PATCH] dmaengine: use phys_addr_t for slave configuration

5 messages, 4 authors, 2016-02-16 · open the first message on its own page

Re: [PATCH] dmaengine: use phys_addr_t for slave configuration

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2016-02-03 11:17:29

Hi Vinod,

On Tue, Dec 15, 2015 at 6:26 PM, Vinod Koul [off-list ref] wrote:
On Tue, Dec 15, 2015 at 11:48:24AM +0100, Geert Uytterhoeven wrote:
quoted
On Fri, Jul 10, 2015 at 10:14 AM, Vinod Koul [off-list ref] wrote:
quoted
On Wed, Jul 08, 2015 at 12:12:52PM +0200, Geert Uytterhoeven wrote:
quoted
On Fri, Apr 26, 2013 at 11:06 AM, Linus Walleij
(yes, 2013)
quoted
quoted
quoted
[off-list ref] wrote:
quoted
The documentation already says these are physical addresses, and
we have concluded that any translation into the DMA address space
needs to reside in the dmaengine driver, so change the type of
the passed arguments.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Lee Jones <redacted>
Cc: Vinod Koul <redacted>
Signed-off-by: Linus Walleij <redacted>
What's the status of this one, which has been acked by Lee and Arnd?
Looks to have slipped thru. I will redo it
Ping?
I should be able to do this in next few days...
Ping?

This is a dependency for adding iommu support to the rcar-dmac driver, cfr.
"[PATCH v2 0/5] dmaengine: rcar-dmac: add iommu support for slave transfers".
http://www.spinics.net/lists/linux-renesas-soc/msg00066.html
https://www.mail-archive.com/linux-renesas-soc at vger.kernel.org/msg00108.html

Thank you for applying!
quoted
quoted
quoted
quoted
---
 include/linux/dmaengine.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 91ac8da..681df5f9 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -361,8 +361,8 @@ enum dma_slave_buswidth {
  */
 struct dma_slave_config {
        enum dma_transfer_direction direction;
-       dma_addr_t src_addr;
-       dma_addr_t dst_addr;
+       phys_addr_t src_addr;
+       phys_addr_t dst_addr;
        enum dma_slave_buswidth src_addr_width;
        enum dma_slave_buswidth dst_addr_width;
        u32 src_maxburst;
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Re: [PATCH] dmaengine: use phys_addr_t for slave configuration

From: Wolfram Sang <hidden>
Date: 2016-02-09 22:57:38

This is a dependency for adding iommu support to the rcar-dmac driver, cfr.
"[PATCH v2 0/5] dmaengine: rcar-dmac: add iommu support for slave transfers".
http://www.spinics.net/lists/linux-renesas-soc/msg00066.html
https://www.mail-archive.com/linux-renesas-soc at vger.kernel.org/msg00108.html

Thank you for applying!
Yup, we really need it. Anything we can do to help?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160209/1375b676/attachment.sig>

Re: [PATCH] dmaengine: use phys_addr_t for slave configuration

From: Vinod Koul <hidden>
Date: 2016-02-15 17:27:09

On Tue, Feb 09, 2016 at 11:57:24PM +0100, Wolfram Sang wrote:
quoted
This is a dependency for adding iommu support to the rcar-dmac driver, cfr.
"[PATCH v2 0/5] dmaengine: rcar-dmac: add iommu support for slave transfers".
http://www.spinics.net/lists/linux-renesas-soc/msg00066.html
https://www.mail-archive.com/linux-renesas-soc at vger.kernel.org/msg00108.html

Thank you for applying!
Yup, we really need it. Anything we can do to help?
I have done this change and discussing wider changes
I will send CFT hopefully before EOW, pls test :)

-- 
~Vinod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160215/f4513e05/attachment.sig>

Re: [PATCH] dmaengine: use phys_addr_t for slave configuration

From: Wolfram Sang <hidden>
Date: 2016-02-15 17:35:32

quoted
quoted
This is a dependency for adding iommu support to the rcar-dmac driver, cfr.
"[PATCH v2 0/5] dmaengine: rcar-dmac: add iommu support for slave transfers".
http://www.spinics.net/lists/linux-renesas-soc/msg00066.html
https://www.mail-archive.com/linux-renesas-soc at vger.kernel.org/msg00108.html

Thank you for applying!
Yup, we really need it. Anything we can do to help?
I have done this change and discussing wider changes
I will send CFT hopefully before EOW, pls test :)
\o/ Thank you, Vinod!

If you cc linux-renesas-soc at vger.kernel.org, you'll surely have some
testers :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160215/8db026bf/attachment.sig>

Re: [PATCH] dmaengine: use phys_addr_t for slave configuration

From: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Date: 2016-02-16 20:42:52

On 2016-02-15 23:00:53 +0530, Vinod Koul wrote:
On Tue, Feb 09, 2016 at 11:57:24PM +0100, Wolfram Sang wrote:
quoted
quoted
This is a dependency for adding iommu support to the rcar-dmac driver, cfr.
"[PATCH v2 0/5] dmaengine: rcar-dmac: add iommu support for slave transfers".
http://www.spinics.net/lists/linux-renesas-soc/msg00066.html
https://www.mail-archive.com/linux-renesas-soc at vger.kernel.org/msg00108.html

Thank you for applying!
Yup, we really need it. Anything we can do to help?
I have done this change and discussing wider changes
I will send CFT hopefully before EOW, pls test :)
Thanks Vinod for looking at this!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help