Re: [resend2 PATCH] DMA: remove unused support for MEMSET operations
From: Olof Johansson
Date: Fri Jun 28 2013 - 12:37:41 EST
Bartlomiej,
Did you build test on the platforms you changed? You broke dove_defconfig:
In file included from /home/olof/work/next/include/linux/skbuff.h:31:0,
from /home/olof/work/next/include/linux/if_ether.h:23,
from /home/olof/work/next/include/net/dsa.h:14,
from /home/olof/work/next/arch/arm/plat-orion/common.c:21:
/home/olof/work/next/arch/arm/plat-orion/common.c: In function
'orion_xor1_init':
/home/olof/work/next/arch/arm/plat-orion/common.c:737:14: error:
'DMA_MEMSET' undeclared (first use in this function)
dma_cap_set(DMA_MEMSET, orion_xor1_channels_data[1].cap_mask);
^
/home/olof/work/next/include/linux/dmaengine.h:862:46: note: in
definition of macro 'dma_cap_set'
#define dma_cap_set(tx, mask) __dma_cap_set((tx), &(mask))
^
/home/olof/work/next/arch/arm/plat-orion/common.c:737:14: note: each
undeclared identifier is reported only once for each function it
appears in
dma_cap_set(DMA_MEMSET, orion_xor1_channels_data[1].cap_mask);
^
/home/olof/work/next/include/linux/dmaengine.h:862:46: note: in
definition of macro 'dma_cap_set'
#define dma_cap_set(tx, mask) __dma_cap_set((tx), &(mask))
This would also have been found by a "git grep DMA_MEMSET" across the tree.
Andrew, this is coming really late before the merge window, I think it
makes sense to hold off to 3.12 if it can't be done without trivial
regressions. :(
-Olof
On Thu, Jun 27, 2013 at 1:20 PM, Dan Williams <djbw@xxxxxx> wrote:
> On Wed, Jun 26, 2013 at 6:31 AM, Bartlomiej Zolnierkiewicz
> <b.zolnierkie@xxxxxxxxxxx> wrote:
>> There have never been any real users of MEMSET operations
>> since they have been introduced in January 2007 (commit
>> 7405f74badf46b5d023c5d2b670b4471525f6c91 "dmaengine: refactor
>> dmaengine around dma_async_tx_descriptor"). Therefore remove
>> support for them for now, it can be always brought back when
>> needed.
>>
>> Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
>> Cc: Dan Williams <djbw@xxxxxx>
>> Cc: Tomasz Figa <t.figa@xxxxxxxxxxx>
>> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
>> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
>> ---
>
> I see Andrew has already picked this up.
>
> Acked-by: Dan Williams <djbw@xxxxxx>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/