Subject: + drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch added to -mm tree To: sebastian.hesselbarth@xxxxxxxxx,b.zolnierkie@xxxxxxxxxxx,djbw@xxxxxx,herbert@xxxxxxxxxxxxxxxxxxx,jason@xxxxxxxxxxxxxx,khilman@xxxxxxxxxx,kyungmin.park@xxxxxxxxxxx,olof@xxxxxxxxx,t.figa@xxxxxxxxxxx,vinod.koul@xxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Mon, 01 Jul 2013 15:08:33 -0700 The patch titled Subject: drivers-dma-remove-unused-support-for-memset-operations-v3-fix has been added to the -mm tree. Its filename is drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx> Subject: drivers-dma-remove-unused-support-for-memset-operations-v3-fix Commit 834cbfe ("drivers/dma: remove unused support for MEMSET operations") removes MEMSET from dmaengine but does not completely removes it from drivers/dma/mv_xor. This also fixes some compiler warnings about now obsolete functions by removing those. [bzolnier: splitted off changes from bigger patch] Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx> Cc: Jason Cooper <jason@xxxxxxxxxxxxxx> Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> Cc: Vinod Koul <vinod.koul@xxxxxxxxx> Cc: Dan Williams <djbw@xxxxxx> Cc: Tomasz Figa <t.figa@xxxxxxxxxxx> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Cc: Olof Johansson <olof@xxxxxxxxx> Cc: Kevin Hilman <khilman@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/dma/mv_xor.c | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff -puN drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix drivers/dma/mv_xor.c --- a/drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix +++ a/drivers/dma/mv_xor.c @@ -89,11 +89,6 @@ static void mv_desc_clear_next_desc(stru hw_desc->phy_next_desc = 0; } -static void mv_desc_set_block_fill_val(struct mv_xor_desc_slot *desc, u32 val) -{ - desc->value = val; -} - static void mv_desc_set_dest_addr(struct mv_xor_desc_slot *desc, dma_addr_t addr) { @@ -128,22 +123,6 @@ static void mv_chan_set_next_descriptor( __raw_writel(next_desc_addr, XOR_NEXT_DESC(chan)); } -static void mv_chan_set_dest_pointer(struct mv_xor_chan *chan, u32 desc_addr) -{ - __raw_writel(desc_addr, XOR_DEST_POINTER(chan)); -} - -static void mv_chan_set_block_size(struct mv_xor_chan *chan, u32 block_size) -{ - __raw_writel(block_size, XOR_BLOCK_SIZE(chan)); -} - -static void mv_chan_set_value(struct mv_xor_chan *chan, u32 value) -{ - __raw_writel(value, XOR_INIT_VALUE_LOW(chan)); - __raw_writel(value, XOR_INIT_VALUE_HIGH(chan)); -} - static void mv_chan_unmask_interrupts(struct mv_xor_chan *chan) { u32 val = __raw_readl(XOR_INTR_MASK(chan)); @@ -1134,7 +1113,7 @@ mv_xor_channel_add(struct mv_xor_device goto err_free_irq; } - dev_info(&pdev->dev, "Marvell XOR: ( %s%s%s%s)\n", + dev_info(&pdev->dev, "Marvell XOR: ( %s%s%s)\n", dma_has_cap(DMA_XOR, dma_dev->cap_mask) ? "xor " : "", dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask) ? "cpy " : "", dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask) ? "intr " : ""); _ Patches currently in -mm which might be from sebastian.hesselbarth@xxxxxxxxx are linux-next.patch drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html