All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dma: xilinx-dma: move header file to common location
@ 2015-03-02 17:54 ` Kedareswara rao Appana
  0 siblings, 0 replies; 10+ messages in thread
From: Kedareswara rao Appana @ 2015-03-02 17:54 UTC (permalink / raw)
  To: dan.j.williams, vinod.koul, michal.simek, soren.brinkmann
  Cc: dmaengine, linux-arm-kernel, linux-kernel, appanad, anirudh, svemula

This patch moves the xilinx_dma.h header file
to the include/linux/dma.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
---
 drivers/dma/xilinx/xilinx_vdma.c         | 2 +-
 include/linux/{amba => dma}/xilinx_dma.h | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename include/linux/{amba => dma}/xilinx_dma.h (100%)

diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c
index bdd2a5d..d8434d4 100644
--- a/drivers/dma/xilinx/xilinx_vdma.c
+++ b/drivers/dma/xilinx/xilinx_vdma.c
@@ -22,9 +22,9 @@
  * (at your option) any later version.
  */
 
-#include <linux/amba/xilinx_dma.h>
 #include <linux/bitops.h>
 #include <linux/dmapool.h>
+#include <linux/dma/xilinx_dma.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
diff --git a/include/linux/amba/xilinx_dma.h b/include/linux/dma/xilinx_dma.h
similarity index 100%
rename from include/linux/amba/xilinx_dma.h
rename to include/linux/dma/xilinx_dma.h
-- 
2.1.2


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

* [PATCH] dma: xilinx-dma: move header file to common location
@ 2015-03-02 17:54 ` Kedareswara rao Appana
  0 siblings, 0 replies; 10+ messages in thread
From: Kedareswara rao Appana @ 2015-03-02 17:54 UTC (permalink / raw)
  To: linux-arm-kernel

This patch moves the xilinx_dma.h header file
to the include/linux/dma.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
---
 drivers/dma/xilinx/xilinx_vdma.c         | 2 +-
 include/linux/{amba => dma}/xilinx_dma.h | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename include/linux/{amba => dma}/xilinx_dma.h (100%)

diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c
index bdd2a5d..d8434d4 100644
--- a/drivers/dma/xilinx/xilinx_vdma.c
+++ b/drivers/dma/xilinx/xilinx_vdma.c
@@ -22,9 +22,9 @@
  * (at your option) any later version.
  */
 
-#include <linux/amba/xilinx_dma.h>
 #include <linux/bitops.h>
 #include <linux/dmapool.h>
+#include <linux/dma/xilinx_dma.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
diff --git a/include/linux/amba/xilinx_dma.h b/include/linux/dma/xilinx_dma.h
similarity index 100%
rename from include/linux/amba/xilinx_dma.h
rename to include/linux/dma/xilinx_dma.h
-- 
2.1.2

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

* Re: [PATCH] dma: xilinx-dma: move header file to common location
  2015-03-02 17:54 ` Kedareswara rao Appana
@ 2015-03-02 19:28   ` Arnd Bergmann
  -1 siblings, 0 replies; 10+ messages in thread
From: Arnd Bergmann @ 2015-03-02 19:28 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Kedareswara rao Appana, dan.j.williams, vinod.koul, michal.simek,
	soren.brinkmann, svemula, linux-kernel, anirudh, dmaengine,
	appanad

On Monday 02 March 2015 23:24:24 Kedareswara rao Appana wrote:
> This patch moves the xilinx_dma.h header file
> to the include/linux/dma.
> 
> Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>

Please move this header file to drivers/dma/xilinx/ directly to
make it inaccessible by other driver. No driver should pass extra
data structures to a dmaengine driver.

	Arnd

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

* [PATCH] dma: xilinx-dma: move header file to common location
@ 2015-03-02 19:28   ` Arnd Bergmann
  0 siblings, 0 replies; 10+ messages in thread
From: Arnd Bergmann @ 2015-03-02 19:28 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday 02 March 2015 23:24:24 Kedareswara rao Appana wrote:
> This patch moves the xilinx_dma.h header file
> to the include/linux/dma.
> 
> Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>

Please move this header file to drivers/dma/xilinx/ directly to
make it inaccessible by other driver. No driver should pass extra
data structures to a dmaengine driver.

	Arnd

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

* Re: [PATCH] dma: xilinx-dma: move header file to common location
  2015-03-02 19:28   ` Arnd Bergmann
@ 2015-03-04 12:02     ` Vinod Koul
  -1 siblings, 0 replies; 10+ messages in thread
From: Vinod Koul @ 2015-03-04 12:02 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linux-arm-kernel, Kedareswara rao Appana, dan.j.williams,
	michal.simek, soren.brinkmann, svemula, linux-kernel, anirudh,
	dmaengine, appanad

On Mon, Mar 02, 2015 at 08:28:01PM +0100, Arnd Bergmann wrote:
> On Monday 02 March 2015 23:24:24 Kedareswara rao Appana wrote:
> > This patch moves the xilinx_dma.h header file
> > to the include/linux/dma.
> > 
> > Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
> 
> Please move this header file to drivers/dma/xilinx/ directly to
> make it inaccessible by other driver. No driver should pass extra
> data structures to a dmaengine driver.
Actually that is not true. Few of the drivers need some additional
parameters to be set which are not covered by the common set, hence an
additional API is exposed by this driver to do so...

If ever we could get rid of these...

-- 
~Vinod


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

* [PATCH] dma: xilinx-dma: move header file to common location
@ 2015-03-04 12:02     ` Vinod Koul
  0 siblings, 0 replies; 10+ messages in thread
From: Vinod Koul @ 2015-03-04 12:02 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Mar 02, 2015 at 08:28:01PM +0100, Arnd Bergmann wrote:
> On Monday 02 March 2015 23:24:24 Kedareswara rao Appana wrote:
> > This patch moves the xilinx_dma.h header file
> > to the include/linux/dma.
> > 
> > Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
> 
> Please move this header file to drivers/dma/xilinx/ directly to
> make it inaccessible by other driver. No driver should pass extra
> data structures to a dmaengine driver.
Actually that is not true. Few of the drivers need some additional
parameters to be set which are not covered by the common set, hence an
additional API is exposed by this driver to do so...

If ever we could get rid of these...

-- 
~Vinod

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

* RE: [PATCH] dma: xilinx-dma: move header file to common location
  2015-03-04 12:02     ` Vinod Koul
@ 2015-03-05  9:34       ` Appana Durga Kedareswara Rao
  -1 siblings, 0 replies; 10+ messages in thread
From: Appana Durga Kedareswara Rao @ 2015-03-05  9:34 UTC (permalink / raw)
  To: Vinod Koul, Arnd Bergmann
  Cc: linux-arm-kernel, dan.j.williams, Michal Simek, Soren Brinkmann,
	Srikanth Vemula, linux-kernel, Anirudha Sarangi, dmaengine

Hi Arnd,

> -----Original Message-----
> From: Vinod Koul [mailto:vinod.koul@intel.com]
> Sent: Wednesday, March 04, 2015 5:33 PM
> To: Arnd Bergmann
> Cc: linux-arm-kernel@lists.infradead.org; Appana Durga Kedareswara Rao;
> dan.j.williams@intel.com; Michal Simek; Soren Brinkmann; Srikanth Vemula;
> linux-kernel@vger.kernel.org; Anirudha Sarangi;
> dmaengine@vger.kernel.org; Appana Durga Kedareswara Rao
> Subject: Re: [PATCH] dma: xilinx-dma: move header file to common location
>
> On Mon, Mar 02, 2015 at 08:28:01PM +0100, Arnd Bergmann wrote:
> > On Monday 02 March 2015 23:24:24 Kedareswara rao Appana wrote:
> > > This patch moves the xilinx_dma.h header file to the
> > > include/linux/dma.
> > >
> > > Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
> >
> > Please move this header file to drivers/dma/xilinx/ directly to make
> > it inaccessible by other driver. No driver should pass extra data
> > structures to a dmaengine driver.
> Actually that is not true. Few of the drivers need some additional parameters
> to be set which are not covered by the common set, hence an additional API
> is exposed by this driver to do so...
>
> If ever we could get rid of these...


As I said earlier in the below thread.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/317705.html

Some DMA IP's have a specific features which is not supported by the DMA engine framework.
For those DMA IP's as suggested by Lars (http://www.spinics.net/lists/dmaengine/msg00010.html )
We are exporting that functionality and that functionality may needed by some other IP's that's why the header file should be in common location.

Please let me know if my explanation is not clear to you.

@Vinod: Thanks for the comment. Any functional comments for this patch?

Regards
Kedar.

>
> --
> ~Vinod



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.


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

* [PATCH] dma: xilinx-dma: move header file to common location
@ 2015-03-05  9:34       ` Appana Durga Kedareswara Rao
  0 siblings, 0 replies; 10+ messages in thread
From: Appana Durga Kedareswara Rao @ 2015-03-05  9:34 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Arnd,

> -----Original Message-----
> From: Vinod Koul [mailto:vinod.koul at intel.com]
> Sent: Wednesday, March 04, 2015 5:33 PM
> To: Arnd Bergmann
> Cc: linux-arm-kernel at lists.infradead.org; Appana Durga Kedareswara Rao;
> dan.j.williams at intel.com; Michal Simek; Soren Brinkmann; Srikanth Vemula;
> linux-kernel at vger.kernel.org; Anirudha Sarangi;
> dmaengine at vger.kernel.org; Appana Durga Kedareswara Rao
> Subject: Re: [PATCH] dma: xilinx-dma: move header file to common location
>
> On Mon, Mar 02, 2015 at 08:28:01PM +0100, Arnd Bergmann wrote:
> > On Monday 02 March 2015 23:24:24 Kedareswara rao Appana wrote:
> > > This patch moves the xilinx_dma.h header file to the
> > > include/linux/dma.
> > >
> > > Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
> >
> > Please move this header file to drivers/dma/xilinx/ directly to make
> > it inaccessible by other driver. No driver should pass extra data
> > structures to a dmaengine driver.
> Actually that is not true. Few of the drivers need some additional parameters
> to be set which are not covered by the common set, hence an additional API
> is exposed by this driver to do so...
>
> If ever we could get rid of these...


As I said earlier in the below thread.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/317705.html

Some DMA IP's have a specific features which is not supported by the DMA engine framework.
For those DMA IP's as suggested by Lars (http://www.spinics.net/lists/dmaengine/msg00010.html )
We are exporting that functionality and that functionality may needed by some other IP's that's why the header file should be in common location.

Please let me know if my explanation is not clear to you.

@Vinod: Thanks for the comment. Any functional comments for this patch?

Regards
Kedar.

>
> --
> ~Vinod



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

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

* Re: [PATCH] dma: xilinx-dma: move header file to common location
  2015-03-02 17:54 ` Kedareswara rao Appana
@ 2015-03-17 10:53   ` Vinod Koul
  -1 siblings, 0 replies; 10+ messages in thread
From: Vinod Koul @ 2015-03-17 10:53 UTC (permalink / raw)
  To: Kedareswara rao Appana
  Cc: dan.j.williams, michal.simek, soren.brinkmann, dmaengine,
	linux-arm-kernel, linux-kernel, appanad, anirudh, svemula

On Mon, Mar 02, 2015 at 11:24:24PM +0530, Kedareswara rao Appana wrote:
> This patch moves the xilinx_dma.h header file
> to the include/linux/dma.
Applied, now

Thanks
-- 
~Vinod


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

* [PATCH] dma: xilinx-dma: move header file to common location
@ 2015-03-17 10:53   ` Vinod Koul
  0 siblings, 0 replies; 10+ messages in thread
From: Vinod Koul @ 2015-03-17 10:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Mar 02, 2015 at 11:24:24PM +0530, Kedareswara rao Appana wrote:
> This patch moves the xilinx_dma.h header file
> to the include/linux/dma.
Applied, now

Thanks
-- 
~Vinod

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

end of thread, other threads:[~2015-03-17 10:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 17:54 [PATCH] dma: xilinx-dma: move header file to common location Kedareswara rao Appana
2015-03-02 17:54 ` Kedareswara rao Appana
2015-03-02 19:28 ` Arnd Bergmann
2015-03-02 19:28   ` Arnd Bergmann
2015-03-04 12:02   ` Vinod Koul
2015-03-04 12:02     ` Vinod Koul
2015-03-05  9:34     ` Appana Durga Kedareswara Rao
2015-03-05  9:34       ` Appana Durga Kedareswara Rao
2015-03-17 10:53 ` Vinod Koul
2015-03-17 10:53   ` Vinod Koul

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.