<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/dma/at_hdmac.c, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-10-02T17:39:26Z</updated>
<entry>
<title>dmaengine: at_hdmac: check that each sg data length is non-null</title>
<updated>2012-10-02T17:39:26Z</updated>
<author>
<name>Nicolas Ferre</name>
</author>
<published>2012-09-11T15:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=feec4959301512e10e4291c2cfbe4a26c399828e'/>
<id>urn:sha1:feec4959301512e10e4291c2cfbe4a26c399828e</id>
<content type='text'>
commit c456797681db814f4f5b36909e8e94047bf53d9c upstream.

Avoid the construction of a malformed DMA request sent to
the DMA controller.
Log message is for debug only because this condition is unlikely to
append and may only trigger at driver development time.

Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()</title>
<updated>2012-10-02T17:39:26Z</updated>
<author>
<name>Nicolas Ferre</name>
</author>
<published>2012-09-11T15:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f102108bd4b5bb05dbfe39ea5af709d4aa537368'/>
<id>urn:sha1:f102108bd4b5bb05dbfe39ea5af709d4aa537368</id>
<content type='text'>
commit c618a9be0e8c0f36baee2560860a0118a428fb26 upstream.

s/dma_memcpy/slave_sg/ and it is sg length that we are
talking about.

Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>dmaengine: at_hdmac: take maxburst from slave configuration</title>
<updated>2012-05-15T03:17:18Z</updated>
<author>
<name>Nicolas Ferre</name>
</author>
<published>2012-05-10T10:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dd1ea8eb46a71201943148cc0ed3182cd04e288'/>
<id>urn:sha1:1dd1ea8eb46a71201943148cc0ed3182cd04e288</id>
<content type='text'>
The maxburst/chunk size was taken from the private slave DMA data structure.
Use the common API provided by DMA_SLAVE_CONFIG to setup src/dst maxburst
values.
The ctrla field is not needed anymore in the slave private structure nor the
header constants that were located in an architecture specific directory.
The at91sam9g45_devices.c file that was using this platform data is also
modified to remove this now useless data.

Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: at_hdmac: remove ATC_DEFAULT_CTRLA constant</title>
<updated>2012-05-15T03:17:18Z</updated>
<author>
<name>Nicolas Ferre</name>
</author>
<published>2012-05-10T10:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b409ebfb14a71b64e11b156dc82ede698480397e'/>
<id>urn:sha1:b409ebfb14a71b64e11b156dc82ede698480397e</id>
<content type='text'>
Not needed constant that was set to 0.

Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: fix cyclic dma usage</title>
<updated>2012-05-15T03:13:40Z</updated>
<author>
<name>Vinod Koul</name>
</author>
<published>2012-05-11T06:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d41160524d8d8ee721296e5c7e15f1ed727df7eb'/>
<id>urn:sha1:d41160524d8d8ee721296e5c7e15f1ed727df7eb</id>
<content type='text'>
for cyclic dma, dont makr the descriptor as complte. Fix the remaining users of
cyclic dma which do so

Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
Tested-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Tested-by: Mika Westerberg &lt;mika.westerberg@iki.fi&gt;
</content>
</entry>
<entry>
<title>dmaengine: at_hdmac: remove clear-on-read in atc_dostart()</title>
<updated>2012-04-20T10:08:05Z</updated>
<author>
<name>Nicolas Ferre</name>
</author>
<published>2012-04-16T12:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed8b0d67f33518a16c6b2450fe5ebebf180c2d04'/>
<id>urn:sha1:ed8b0d67f33518a16c6b2450fe5ebebf180c2d04</id>
<content type='text'>
This loop on EBCISR register was designed to clear IRQ sources before enabling
a DMA channel. This register is clear-on-read so a race condition can appear if
another channel is already active and has just finished its transfer.
Removing this read on EBCISR is fixing the issue as there is no case where an IRQ
could be pending: we already make sure that this register is drained at probe()
time and during resume.

Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: at_hdmac: add slave config operation</title>
<updated>2012-03-21T15:42:29Z</updated>
<author>
<name>Nicolas Ferre</name>
</author>
<published>2012-03-14T11:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=beeaa103eecc7a132682c40867f0ef70655383a5'/>
<id>urn:sha1:beeaa103eecc7a132682c40867f0ef70655383a5</id>
<content type='text'>
This patch introduces DMA_SLAVE_CONFIG to at_hdmac Atmel DMA driver.

It is needed to fix a regression in the use of atmel-mci.c driver on Atmel
AT91 platforms brouth by e2b35f3:
"dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes"

We remove some parts of the private structure "at_dma_slave" and use the
information provided by "struct dma_slave_config": source/destination
peripheral registers and access width.

AT_DMA_SLAVE_WIDTH_* values used previously are not needed anymore as we
now use the standard ones. Although some conversion functions are needed to
match register expected values.

Some AT91 sub-architecture specific files are slightly touched by this patch
but it cannot be split because it can break compilation.

Signed-off-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: add context parameter to prep_slave_sg and prep_dma_cyclic</title>
<updated>2012-03-21T13:50:23Z</updated>
<author>
<name>Alexandre Bounine</name>
</author>
<published>2012-03-08T20:35:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=185ecb5f4fd43911c35956d4cc7d94a1da30417f'/>
<id>urn:sha1:185ecb5f4fd43911c35956d4cc7d94a1da30417f</id>
<content type='text'>
Add context parameter to device_prep_slave_sg() and device_prep_dma_cyclic()
interfaces to allow passing client/target specific information associated
with the data transfer.
Modify all affected DMA engine drivers.

Signed-off-by: Alexandre Bounine &lt;alexandre.bounine@idt.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: consolidate initialization of cookies</title>
<updated>2012-03-13T06:07:22Z</updated>
<author>
<name>Russell King - ARM Linux</name>
</author>
<published>2012-03-06T22:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3ee98cdcd6198ea1cf75c603178acc8a805b69b'/>
<id>urn:sha1:d3ee98cdcd6198ea1cf75c603178acc8a805b69b</id>
<content type='text'>
Provide a common function to initialize a channels cookie values.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Jassi Brar &lt;jassisinghbrar@gmail.com&gt;
[imx-sdma.c &amp; mxs-dma.c]
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: consolidate tx_status functions</title>
<updated>2012-03-13T06:07:14Z</updated>
<author>
<name>Russell King - ARM Linux</name>
</author>
<published>2012-03-06T22:35:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96a2af41c78b1fbb1f567a3486bdc63f7b31c5fd'/>
<id>urn:sha1:96a2af41c78b1fbb1f567a3486bdc63f7b31c5fd</id>
<content type='text'>
Now that we have the completed cookie in the dma_chan structure, we
can consolidate the tx_status functions by providing a function to set
the txstate structure and returning the DMA status.  We also provide
a separate helper to set the residue for cookies which are still in
progress.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Jassi Brar &lt;jassisinghbrar@gmail.com&gt;
[imx-sdma.c &amp; mxs-dma.c]
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
</content>
</entry>
</feed>
