Skip to contentSkip to conversation

+ drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jul 1, 2013 dmaengine

lore
Share & tools
lore
#0 lore raw

Subject: + drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
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 <[email protected]>
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]
Cc Jason Cooper <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Dan Williams <[email protected]>
Cc Tomasz Figa <[email protected]>
Cc Herbert Xu <[email protected]>
Cc Olof Johansson <[email protected]>
Cc Kevin Hilman <[email protected]>

---

 drivers/dma/mv_xor.c |   23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)
drivers/dma/mv_xor.c renamed from drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix +0 -20
diff -puN drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix 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));
-}