linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] dmaengine: use phys_addr_t for slave configuration
       [not found] <1366967214-20776-1-git-send-email-linus.walleij@linaro.org>
@ 2015-07-08 10:12 ` Geert Uytterhoeven
  2015-07-10  8:26   ` Vinod Koul
  2015-07-16  9:22   ` Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-07-08 10:12 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-kernel@vger.kernel.org, Arnd Bergmann, Lee Jones,
	Vinod Koul, dmaengine, Linux-sh list

On Fri, Apr 26, 2013 at 11:06 AM, Linus Walleij
<linus.walleij@linaro.org> wrote:
> 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>

What's the status of this one, which has been acked by Lee and Arnd?

Thanks!

> ---
>  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

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

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

* Re: [PATCH] dmaengine: use phys_addr_t for slave configuration
  2015-07-08 10:12 ` [PATCH] dmaengine: use phys_addr_t for slave configuration Geert Uytterhoeven
@ 2015-07-10  8:26   ` Vinod Koul
  2015-12-15 10:48     ` Geert Uytterhoeven
  2015-07-16  9:22   ` Linus Walleij
  1 sibling, 1 reply; 5+ messages in thread
From: Vinod Koul @ 2015-07-10  8:26 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Walleij, linux-kernel@vger.kernel.org, Arnd Bergmann,
	Lee Jones, dmaengine, Linux-sh list

On Wed, Jul 08, 2015 at 12:12:52PM +0200, Geert Uytterhoeven wrote:
> On Fri, Apr 26, 2013 at 11:06 AM, Linus Walleij
> <linus.walleij@linaro.org> wrote:
> > 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>
> 
> What's the status of this one, which has been acked by Lee and Arnd?
Looks to have slipped thru. I will redo it

-- 
~Vinod

> 
> Thanks!
> 
> > ---
> >  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
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

-- 

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

* Re: [PATCH] dmaengine: use phys_addr_t for slave configuration
  2015-07-08 10:12 ` [PATCH] dmaengine: use phys_addr_t for slave configuration Geert Uytterhoeven
  2015-07-10  8:26   ` Vinod Koul
@ 2015-07-16  9:22   ` Linus Walleij
  1 sibling, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2015-07-16  9:22 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-kernel@vger.kernel.org, Arnd Bergmann, Lee Jones,
	Vinod Koul, dmaengine, Linux-sh list

On Wed, Jul 8, 2015 at 12:12 PM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Fri, Apr 26, 2013 at 11:06 AM, Linus Walleij
> <linus.walleij@linaro.org> wrote:
>> 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>
>
> What's the status of this one, which has been acked by Lee and Arnd?

I don't even remember writing this patch anymore, haha :D

Yours,
Linus Walleij

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

* Re: [PATCH] dmaengine: use phys_addr_t for slave configuration
  2015-07-10  8:26   ` Vinod Koul
@ 2015-12-15 10:48     ` Geert Uytterhoeven
  2015-12-15 17:38       ` Vinod Koul
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-12-15 10:48 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Linus Walleij, linux-kernel@vger.kernel.org, Arnd Bergmann,
	Lee Jones, dmaengine, Linux-sh list

Hi Vinod,

On Fri, Jul 10, 2015 at 10:14 AM, Vinod Koul <vinod.koul@intel.com> wrote:
> On Wed, Jul 08, 2015 at 12:12:52PM +0200, Geert Uytterhoeven wrote:
>> On Fri, Apr 26, 2013 at 11:06 AM, Linus Walleij
>> <linus.walleij@linaro.org> wrote:
>> > 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>
>>
>> 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?

> --
> ~Vinod
>
>>
>> Thanks!
>>
>> > ---
>> >  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

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

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

* Re: [PATCH] dmaengine: use phys_addr_t for slave configuration
  2015-12-15 10:48     ` Geert Uytterhoeven
@ 2015-12-15 17:38       ` Vinod Koul
  0 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2015-12-15 17:38 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Walleij, linux-kernel@vger.kernel.org, Arnd Bergmann,
	Lee Jones, dmaengine, Linux-sh list

On Tue, Dec 15, 2015 at 11:48:24AM +0100, Geert Uytterhoeven wrote:
> Hi Vinod,
> 
> On Fri, Jul 10, 2015 at 10:14 AM, Vinod Koul <vinod.koul@intel.com> wrote:
> > On Wed, Jul 08, 2015 at 12:12:52PM +0200, Geert Uytterhoeven wrote:
> >> On Fri, Apr 26, 2013 at 11:06 AM, Linus Walleij
> >> <linus.walleij@linaro.org> wrote:
> >> > 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>
> >>
> >> 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...

> 
> > --
> > ~Vinod
> >
> >>
> >> Thanks!
> >>
> >> > ---
> >> >  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
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

-- 
~Vinod

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

end of thread, other threads:[~2015-12-15 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1366967214-20776-1-git-send-email-linus.walleij@linaro.org>
2015-07-08 10:12 ` [PATCH] dmaengine: use phys_addr_t for slave configuration Geert Uytterhoeven
2015-07-10  8:26   ` Vinod Koul
2015-12-15 10:48     ` Geert Uytterhoeven
2015-12-15 17:38       ` Vinod Koul
2015-07-16  9:22   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).