From: Olof Johansson <olof@lixom.net>
To: Dan Williams <djbw@fb.com>, Andrew Morton <akpm@linux-foundation.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
Vinod Koul <vinod.koul@intel.com>,
Tomasz Figa <t.figa@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [resend2 PATCH] DMA: remove unused support for MEMSET operations
Date: Fri, 28 Jun 2013 09:37:36 -0700 [thread overview]
Message-ID: <CAOesGMgO6ywqk8XzYMdnBfDmB80bu0uPUL2s5kkux-zi5Sa4cw@mail.gmail.com> (raw)
In-Reply-To: <CAA9_cmf0WE=hFm8B_hk1GY87fk-R-Zv+iGXuBnqpiMA+bJ2oMg@mail.gmail.com>
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@fb.com> wrote:
> On Wed, Jun 26, 2013 at 6:31 AM, Bartlomiej Zolnierkiewicz
> <b.zolnierkie@samsung.com> 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@intel.com>
>> Cc: Dan Williams <djbw@fb.com>
>> Cc: Tomasz Figa <t.figa@samsung.com>
>> Cc: Andrew Morton <akpm@linux-foundation.org>
>> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>> ---
>
> I see Andrew has already picked this up.
>
> Acked-by: Dan Williams <djbw@fb.com>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2013-06-28 16:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-26 13:31 [resend2 PATCH] DMA: remove unused support for MEMSET operations Bartlomiej Zolnierkiewicz
2013-06-27 20:20 ` Dan Williams
2013-06-28 16:37 ` Olof Johansson [this message]
2013-06-28 17:15 ` Bartlomiej Zolnierkiewicz
2013-06-28 22:06 ` Kevin Hilman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOesGMgO6ywqk8XzYMdnBfDmB80bu0uPUL2s5kkux-zi5Sa4cw@mail.gmail.com \
--to=olof@lixom.net \
--cc=akpm@linux-foundation.org \
--cc=b.zolnierkie@samsung.com \
--cc=djbw@fb.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=t.figa@samsung.com \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.