All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>, Lee Jones <lee.jones@linaro.org>,
	Vinod Koul <vinod.koul@intel.com>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH] dmaengine: use phys_addr_t for slave configuration
Date: Fri, 26 Apr 2013 11:06:54 +0200	[thread overview]
Message-ID: <1366967214-20776-1-git-send-email-linus.walleij@linaro.org> (raw)

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 <lee.jones@linaro.org>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 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;
-- 
1.8.1.4


             reply	other threads:[~2013-04-26  9:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26  9:06 Linus Walleij [this message]
2013-04-26  9:14 ` [PATCH] dmaengine: use phys_addr_t for slave configuration Lee Jones
2013-04-26  9:40 ` Arnd Bergmann
2015-07-08 10:12 ` Geert Uytterhoeven
2015-07-08 10:12   ` Geert Uytterhoeven
2015-07-10  8:14   ` Vinod Koul
2015-07-10  8:26     ` Vinod Koul
2015-12-15 10:48     ` Geert Uytterhoeven
2015-12-15 10:48       ` Geert Uytterhoeven
2015-12-15 17:26       ` Vinod Koul
2015-12-15 17:38         ` Vinod Koul
2016-02-03 11:17         ` Geert Uytterhoeven
2016-02-03 11:17           ` Geert Uytterhoeven
2016-02-09 22:57           ` Wolfram Sang
2016-02-09 22:57             ` Wolfram Sang
2016-02-15 17:30             ` Vinod Koul
2016-02-15 17:30               ` Vinod Koul
2016-02-15 17:34               ` Wolfram Sang
2016-02-15 17:34                 ` Wolfram Sang
2016-02-16 20:42               ` Niklas Söderlund
2016-02-16 20:42                 ` Niklas Söderlund
2015-07-16  9:22   ` Linus Walleij
2015-07-16  9:22     ` Linus Walleij

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=1366967214-20776-1-git-send-email-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=arnd@arndb.de \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vinod.koul@intel.com \
    /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.