Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1377106 > unrolled thread

[PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC

Started byGregory CLEMENT <gregory.clement@free-electrons.com>
First post2016-04-12 20:30 +0200
Last post2016-04-13 14:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-04-12 20:30 +0200
    Re: [PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for  mvebu only compatible SoC Jason Cooper <jason@lakedaemon.net> - 2016-04-12 20:40 +0200
      Re: [PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-04-13 14:30 +0200

#1377106 — [PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC

FromGregory CLEMENT <gregory.clement@free-electrons.com>
Date2016-04-12 20:30 +0200
Subject[PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC
Message-ID<rnbey-3s3-5@gated-at.bofh.it>
Armada 3700 SoC uses the mv_xor driver but don't select anymore the
PLAT_ORION symbol. This commit extends the dependency of the mv_xor
driver to the more modern SoCs only compatible with ARCH_MVEBU, which
allows using it with the Armada 3700 SoC.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
 drivers/dma/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index d96d87c56f2e..cdc50c2c172f 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -332,7 +332,7 @@ config MPC512X_DMA
 
 config MV_XOR
 	bool "Marvell XOR engine support"
-	depends on PLAT_ORION
+	depends on PLAT_ORION || ARCH_MVEBU
 	select DMA_ENGINE
 	select DMA_ENGINE_RAID
 	select ASYNC_TX_ENABLE_CHANNEL_SWITCH
-- 
2.5.0

[toc] | [next] | [standalone]


#1377116 — Re: [PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC

FromJason Cooper <jason@lakedaemon.net>
Date2016-04-12 20:40 +0200
SubjectRe: [PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC
Message-ID<rnboe-3xO-13@gated-at.bofh.it>
In reply to#1377106
On Tue, Apr 12, 2016 at 08:19:17PM +0200, Gregory CLEMENT wrote:
> Armada 3700 SoC uses the mv_xor driver but don't select anymore the
> PLAT_ORION symbol. This commit extends the dependency of the mv_xor
> driver to the more modern SoCs only compatible with ARCH_MVEBU, which
> allows using it with the Armada 3700 SoC.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
>  drivers/dma/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index d96d87c56f2e..cdc50c2c172f 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -332,7 +332,7 @@ config MPC512X_DMA
>  
>  config MV_XOR
>  	bool "Marvell XOR engine support"
> -	depends on PLAT_ORION
> +	depends on PLAT_ORION || ARCH_MVEBU

|| COMPILE_TEST ?

thx,

Jason.

[toc] | [prev] | [next] | [standalone]


#1377885

FromGregory CLEMENT <gregory.clement@free-electrons.com>
Date2016-04-13 14:30 +0200
Message-ID<rns5I-1aN-21@gated-at.bofh.it>
In reply to#1377116
Hi Jason,
 
 On mar., avril 12 2016, Jason Cooper <jason@lakedaemon.net> wrote:

> On Tue, Apr 12, 2016 at 08:19:17PM +0200, Gregory CLEMENT wrote:
>> Armada 3700 SoC uses the mv_xor driver but don't select anymore the
>> PLAT_ORION symbol. This commit extends the dependency of the mv_xor
>> driver to the more modern SoCs only compatible with ARCH_MVEBU, which
>> allows using it with the Armada 3700 SoC.
>> 
>> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
>> ---
>>  drivers/dma/Kconfig | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
>> index d96d87c56f2e..cdc50c2c172f 100644
>> --- a/drivers/dma/Kconfig
>> +++ b/drivers/dma/Kconfig
>> @@ -332,7 +332,7 @@ config MPC512X_DMA
>>  
>>  config MV_XOR
>>  	bool "Marvell XOR engine support"
>> -	depends on PLAT_ORION
>> +	depends on PLAT_ORION || ARCH_MVEBU
>
> || COMPILE_TEST ?

OK and I've just test that it can be compiled on x86 without error or
warning. I am going to send a v3 with this modification.

Thanks,

Gregory

>
> thx,
>
> Jason.

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web