* [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
@ 2012-08-29 4:46 Tushar Behera
2012-08-29 4:46 ` [PATCH 1/2] " Tushar Behera
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Tushar Behera @ 2012-08-29 4:46 UTC (permalink / raw)
To: linux-samsung-soc, linux-arm-kernel, linux-kernel
Cc: vinod.koul, kgene.kim, jaswinder.singh, patches
DMA clients pdma0 and pdma1 are internal to the SoC and are used only
by dedicated peripherals. Since they cannot be used for generic
purpose, their capability should be set as DMA_PRIVATE.
The patches are rebased on top of v3.6-rc3.
Tushar Behera (2):
ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
arch/arm/mach-exynos/dma.c | 2 ++
drivers/dma/pl330.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
2012-08-29 4:46 [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE Tushar Behera
@ 2012-08-29 4:46 ` Tushar Behera
2012-08-29 4:46 ` [PATCH 2/2] DMA: PL330: " Tushar Behera
2012-08-31 0:52 ` [PATCH 0/2] ARM: EXYNOS: " Vinod Koul
2 siblings, 0 replies; 6+ messages in thread
From: Tushar Behera @ 2012-08-29 4:46 UTC (permalink / raw)
To: linux-samsung-soc, linux-arm-kernel, linux-kernel
Cc: vinod.koul, kgene.kim, jaswinder.singh, patches
DMA clients pdma0 and pdma1 are internal to the SoC and are used only
by dedicated peripherals. Since they cannot be used for generic
purpose, their capability should be set as DMA_PRIVATE.
CC: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
arch/arm/mach-exynos/dma.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/mach-exynos/dma.c
index f60b66d..21d568b 100644
--- a/arch/arm/mach-exynos/dma.c
+++ b/arch/arm/mach-exynos/dma.c
@@ -303,10 +303,12 @@ static int __init exynos_dma_init(void)
dma_cap_set(DMA_SLAVE, exynos_pdma0_pdata.cap_mask);
dma_cap_set(DMA_CYCLIC, exynos_pdma0_pdata.cap_mask);
+ dma_cap_set(DMA_PRIVATE, exynos_pdma0_pdata.cap_mask);
amba_device_register(&exynos_pdma0_device, &iomem_resource);
dma_cap_set(DMA_SLAVE, exynos_pdma1_pdata.cap_mask);
dma_cap_set(DMA_CYCLIC, exynos_pdma1_pdata.cap_mask);
+ dma_cap_set(DMA_PRIVATE, exynos_pdma1_pdata.cap_mask);
amba_device_register(&exynos_pdma1_device, &iomem_resource);
dma_cap_set(DMA_MEMCPY, exynos_mdma1_pdata.cap_mask);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
2012-08-29 4:46 [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE Tushar Behera
2012-08-29 4:46 ` [PATCH 1/2] " Tushar Behera
@ 2012-08-29 4:46 ` Tushar Behera
2012-08-31 0:52 ` [PATCH 0/2] ARM: EXYNOS: " Vinod Koul
2 siblings, 0 replies; 6+ messages in thread
From: Tushar Behera @ 2012-08-29 4:46 UTC (permalink / raw)
To: linux-samsung-soc, linux-arm-kernel, linux-kernel
Cc: vinod.koul, kgene.kim, jaswinder.singh, patches
DMA clients pdma0 and pdma1 are internal to the SoC and are used only
by dedicated peripherals. Since they cannot be used for generic
purpose, their capability should be set as DMA_PRIVATE.
CC: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
drivers/dma/pl330.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index e4feba6..600ea5e 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2954,6 +2954,7 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id)
if (pi->pcfg.num_peri) {
dma_cap_set(DMA_SLAVE, pd->cap_mask);
dma_cap_set(DMA_CYCLIC, pd->cap_mask);
+ dma_cap_set(DMA_PRIVATE, pd->cap_mask);
}
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
2012-08-29 4:46 [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE Tushar Behera
2012-08-29 4:46 ` [PATCH 1/2] " Tushar Behera
2012-08-29 4:46 ` [PATCH 2/2] DMA: PL330: " Tushar Behera
@ 2012-08-31 0:52 ` Vinod Koul
2012-09-07 5:30 ` Kukjin Kim
2 siblings, 1 reply; 6+ messages in thread
From: Vinod Koul @ 2012-08-31 0:52 UTC (permalink / raw)
To: Tushar Behera
Cc: vinod.koul, linux-samsung-soc, linux-arm-kernel, linux-kernel,
jaswinder.singh, kgene.kim, patches
On Wed, 2012-08-29 at 10:16 +0530, Tushar Behera wrote:
> DMA clients pdma0 and pdma1 are internal to the SoC and are used only
> by dedicated peripherals. Since they cannot be used for generic
> purpose, their capability should be set as DMA_PRIVATE.
>
> The patches are rebased on top of v3.6-rc3.
Kukjin, if you ack them I can take thru my tree, other way round is fine
with me too.
>
> Tushar Behera (2):
> ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
> DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
>
> arch/arm/mach-exynos/dma.c | 2 ++
> drivers/dma/pl330.c | 1 +
> 2 files changed, 3 insertions(+), 0 deletions(-)
>
--
~Vinod Koul
Intel Corp.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
2012-08-31 0:52 ` [PATCH 0/2] ARM: EXYNOS: " Vinod Koul
@ 2012-09-07 5:30 ` Kukjin Kim
2012-09-14 3:13 ` Vinod Koul
0 siblings, 1 reply; 6+ messages in thread
From: Kukjin Kim @ 2012-09-07 5:30 UTC (permalink / raw)
To: 'Vinod Koul', 'Tushar Behera'
Cc: vinod.koul, linux-samsung-soc, linux-arm-kernel, linux-kernel,
jaswinder.singh, patches
Vinod Koul wrote:
>
> On Wed, 2012-08-29 at 10:16 +0530, Tushar Behera wrote:
> > DMA clients pdma0 and pdma1 are internal to the SoC and are used only
> > by dedicated peripherals. Since they cannot be used for generic
> > purpose, their capability should be set as DMA_PRIVATE.
> >
> > The patches are rebased on top of v3.6-rc3.
> Kukjin, if you ack them I can take thru my tree, other way round is fine
> with me too.
Hi Vinod,
Looks good to me, please pick them into your tree with my ack.
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
If any problems, please kindly let me know.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
> >
> > Tushar Behera (2):
> > ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
> > DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
> >
> > arch/arm/mach-exynos/dma.c | 2 ++
> > drivers/dma/pl330.c | 1 +
> > 2 files changed, 3 insertions(+), 0 deletions(-)
> >
>
> --
> ~Vinod Koul
> Intel Corp.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
2012-09-07 5:30 ` Kukjin Kim
@ 2012-09-14 3:13 ` Vinod Koul
0 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2012-09-14 3:13 UTC (permalink / raw)
To: Kukjin Kim
Cc: 'Tushar Behera',
linux-samsung-soc, patches, linux-kernel, jaswinder.singh,
linux-arm-kernel
On Fri, 2012-09-07 at 14:30 +0900, Kukjin Kim wrote:
> Vinod Koul wrote:
> >
> > On Wed, 2012-08-29 at 10:16 +0530, Tushar Behera wrote:
> > > DMA clients pdma0 and pdma1 are internal to the SoC and are used only
> > > by dedicated peripherals. Since they cannot be used for generic
> > > purpose, their capability should be set as DMA_PRIVATE.
> > >
> > > The patches are rebased on top of v3.6-rc3.
> > Kukjin, if you ack them I can take thru my tree, other way round is fine
> > with me too.
>
> Hi Vinod,
>
> Looks good to me, please pick them into your tree with my ack.
>
> Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Okay applied both.
--
~Vinod
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-09-14 3:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-29 4:46 [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE Tushar Behera
2012-08-29 4:46 ` [PATCH 1/2] " Tushar Behera
2012-08-29 4:46 ` [PATCH 2/2] DMA: PL330: " Tushar Behera
2012-08-31 0:52 ` [PATCH 0/2] ARM: EXYNOS: " Vinod Koul
2012-09-07 5:30 ` Kukjin Kim
2012-09-14 3:13 ` Vinod Koul
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).