Message ID | 6583540.4QCOENPlIG@amdc1032 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 07/01/13 19:24, Bartlomiej Zolnierkiewicz wrote: > On Monday, July 01, 2013 11:17:20 AM Jason Cooper wrote: >> On Mon, Jul 01, 2013 at 05:14:25PM +0200, Sebastian Hesselbarth wrote: >>> On 07/01/13 17:04, Jason Cooper wrote: >>>> On Mon, Jul 01, 2013 at 04:56:29PM +0200, Sebastian Hesselbarth wrote: >>> Also, I will sent a follow-up patch to remove memset references from >>> Marvell SoC dts/dtsi and the binding documentation soon. >>> >>> I guess, Bartolomiej should pick them up and resend his patch set, or >>> leave Marvell alone and you pick them up. >> >> If Bartolomiej doesn't take it, please split your changes into two >> patches, one for plat-orion, and one for drivers. > > Andrew has already applied incremental patch fixing build problems to his > tree (though it is not yet in linux-next): > > http://www.ozlabs.org/~akpm/mmots/broken-out/drivers-dma-remove-unused-support-for-memset-operations-v3.patch > > The rest of changes from Sebastian are contained in another incremental > patch which I've attached to this mail. They can be also folded into > the first patch (which is what Andrew will probably do before sending them > to Linus). Ok, great! Then I will sent the DT clean-up patches to be taken through Jason's tree with the other stuff I have for v3.11-rc1. Sebastian
Index: b/drivers/dma/mv_xor.c =================================================================== --- a/drivers/dma/mv_xor.c 2013-07-01 18:53:12.113317468 +0200 +++ b/drivers/dma/mv_xor.c 2013-07-01 18:56:07.273317119 +0200 @@ -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 " : "");