* Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id
@ 2012-08-16 9:00 ` Russell King - ARM Linux
0 siblings, 0 replies; 14+ messages in thread
From: Russell King - ARM Linux @ 2012-08-16 9:00 UTC (permalink / raw)
To: Roland Stigge
Cc: artem.bityutskiy, linux-arm-kernel, arnd, linux-kernel,
kevin.wells, srinivas.bakki, aletes.xgr, dwmw2, linux-mtd
On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
> This patch fixes the following when compiling a driver module that uses
> amba-pl08x:
>
> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
>
> (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
It is currently intended that this be passed from platform code into
drivers via platform data, so that drivers can decide which DMA engine
they wish to make use of.
See how all the AMBA drivers work in this regard (because they need to
support more than just a single DMA engine implementation.)
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH] dma: amba-pl08x: Export pl08x_filter_id
@ 2012-08-16 9:00 ` Russell King - ARM Linux
0 siblings, 0 replies; 14+ messages in thread
From: Russell King - ARM Linux @ 2012-08-16 9:00 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
> This patch fixes the following when compiling a driver module that uses
> amba-pl08x:
>
> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
>
> (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
It is currently intended that this be passed from platform code into
drivers via platform data, so that drivers can decide which DMA engine
they wish to make use of.
See how all the AMBA drivers work in this regard (because they need to
support more than just a single DMA engine implementation.)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id
2012-08-16 9:00 ` Russell King - ARM Linux
(?)
@ 2012-08-16 9:06 ` Arnd Bergmann
-1 siblings, 0 replies; 14+ messages in thread
From: Arnd Bergmann @ 2012-08-16 9:06 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: Roland Stigge, srinivas.bakki, artem.bityutskiy, linux-kernel,
kevin.wells, linux-mtd, aletes.xgr, dwmw2, linux-arm-kernel
On Thursday 16 August 2012, Russell King - ARM Linux wrote:
> On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
> > This patch fixes the following when compiling a driver module that uses
> > amba-pl08x:
> >
> > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
> > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
> >
> > (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
>
> It is currently intended that this be passed from platform code into
> drivers via platform data, so that drivers can decide which DMA engine
> they wish to make use of.
>
> See how all the AMBA drivers work in this regard (because they need to
> support more than just a single DMA engine implementation.)
Ah, you're right, I forgot about that. I'll take back my Ack then.
Arnd
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id
@ 2012-08-16 9:06 ` Arnd Bergmann
0 siblings, 0 replies; 14+ messages in thread
From: Arnd Bergmann @ 2012-08-16 9:06 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: Roland Stigge, artem.bityutskiy, linux-arm-kernel, linux-kernel,
kevin.wells, srinivas.bakki, aletes.xgr, dwmw2, linux-mtd
On Thursday 16 August 2012, Russell King - ARM Linux wrote:
> On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
> > This patch fixes the following when compiling a driver module that uses
> > amba-pl08x:
> >
> > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
> > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
> >
> > (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
>
> It is currently intended that this be passed from platform code into
> drivers via platform data, so that drivers can decide which DMA engine
> they wish to make use of.
>
> See how all the AMBA drivers work in this regard (because they need to
> support more than just a single DMA engine implementation.)
Ah, you're right, I forgot about that. I'll take back my Ack then.
Arnd
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH] dma: amba-pl08x: Export pl08x_filter_id
@ 2012-08-16 9:06 ` Arnd Bergmann
0 siblings, 0 replies; 14+ messages in thread
From: Arnd Bergmann @ 2012-08-16 9:06 UTC (permalink / raw)
To: linux-arm-kernel
On Thursday 16 August 2012, Russell King - ARM Linux wrote:
> On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
> > This patch fixes the following when compiling a driver module that uses
> > amba-pl08x:
> >
> > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
> > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
> >
> > (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
>
> It is currently intended that this be passed from platform code into
> drivers via platform data, so that drivers can decide which DMA engine
> they wish to make use of.
>
> See how all the AMBA drivers work in this regard (because they need to
> support more than just a single DMA engine implementation.)
Ah, you're right, I forgot about that. I'll take back my Ack then.
Arnd
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id
2012-08-16 9:00 ` Russell King - ARM Linux
(?)
@ 2012-08-16 13:13 ` Roland Stigge
-1 siblings, 0 replies; 14+ messages in thread
From: Roland Stigge @ 2012-08-16 13:13 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: srinivas.bakki, arnd, artem.bityutskiy, linux-kernel, kevin.wells,
linux-mtd, aletes.xgr, dwmw2, linux-arm-kernel
On 08/16/2012 11:00 AM, Russell King - ARM Linux wrote:
> On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
>> This patch fixes the following when compiling a driver module that uses
>> amba-pl08x:
>>
>> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
>> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
>>
>> (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
>
> It is currently intended that this be passed from platform code into
> drivers via platform data, so that drivers can decide which DMA engine
> they wish to make use of.
>
> See how all the AMBA drivers work in this regard (because they need to
> support more than just a single DMA engine implementation.)
Thanks for the note!
I'll post respective changes to the MTD SLC and MLC drivers of LPC32xx
(for the MTD subsystem) and the adjustment I'll do in mach-lpc32xx (my
lpc32xx tree for arm-soc).
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id
@ 2012-08-16 13:13 ` Roland Stigge
0 siblings, 0 replies; 14+ messages in thread
From: Roland Stigge @ 2012-08-16 13:13 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: artem.bityutskiy, linux-arm-kernel, arnd, linux-kernel,
kevin.wells, srinivas.bakki, aletes.xgr, dwmw2, linux-mtd
On 08/16/2012 11:00 AM, Russell King - ARM Linux wrote:
> On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
>> This patch fixes the following when compiling a driver module that uses
>> amba-pl08x:
>>
>> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
>> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
>>
>> (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
>
> It is currently intended that this be passed from platform code into
> drivers via platform data, so that drivers can decide which DMA engine
> they wish to make use of.
>
> See how all the AMBA drivers work in this regard (because they need to
> support more than just a single DMA engine implementation.)
Thanks for the note!
I'll post respective changes to the MTD SLC and MLC drivers of LPC32xx
(for the MTD subsystem) and the adjustment I'll do in mach-lpc32xx (my
lpc32xx tree for arm-soc).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH] dma: amba-pl08x: Export pl08x_filter_id
@ 2012-08-16 13:13 ` Roland Stigge
0 siblings, 0 replies; 14+ messages in thread
From: Roland Stigge @ 2012-08-16 13:13 UTC (permalink / raw)
To: linux-arm-kernel
On 08/16/2012 11:00 AM, Russell King - ARM Linux wrote:
> On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
>> This patch fixes the following when compiling a driver module that uses
>> amba-pl08x:
>>
>> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
>> ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!
>>
>> (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)
>
> It is currently intended that this be passed from platform code into
> drivers via platform data, so that drivers can decide which DMA engine
> they wish to make use of.
>
> See how all the AMBA drivers work in this regard (because they need to
> support more than just a single DMA engine implementation.)
Thanks for the note!
I'll post respective changes to the MTD SLC and MLC drivers of LPC32xx
(for the MTD subsystem) and the adjustment I'll do in mach-lpc32xx (my
lpc32xx tree for arm-soc).
^ permalink raw reply [flat|nested] 14+ messages in thread