<feed xmlns='http://www.w3.org/2005/Atom'>
<title>blackbird-op-linux/drivers/dma/xilinx, branch master</title>
<subtitle>Blackbird™ Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/'/>
<updated>2020-01-21T09:19:30+00:00</updated>
<entry>
<title>dmaengine: zynqmp_dma: fix burst length configuration</title>
<updated>2020-01-21T09:19:30+00:00</updated>
<author>
<name>Matthias Fend</name>
<email>matthias.fend@wolfvision.net</email>
</author>
<published>2020-01-15T10:22:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=cc88525ebffc757e00cc5a5d61da6271646c7f5f'/>
<id>urn:sha1:cc88525ebffc757e00cc5a5d61da6271646c7f5f</id>
<content type='text'>
Since the dma engine expects the burst length register content as
power of 2 value, the burst length needs to be converted first.
Additionally add a burst length range check to avoid corrupting unrelated
register bits.

Signed-off-by: Matthias Fend &lt;matthias.fend@wolfvision.net&gt;
Link: https://lore.kernel.org/r/20200115102249.24398-1-matthias.fend@wolfvision.net
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fixes' into next</title>
<updated>2019-11-14T10:32:51+00:00</updated>
<author>
<name>Vinod Koul</name>
<email>vkoul@kernel.org</email>
</author>
<published>2019-11-14T10:32:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=bb5a471de9bfd0853d48d8dc5572469778c2824d'/>
<id>urn:sha1:bb5a471de9bfd0853d48d8dc5572469778c2824d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Add Xilinx AXI MCDMA Engine driver support</title>
<updated>2019-11-06T17:08:02+00:00</updated>
<author>
<name>Radhey Shyam Pandey</name>
<email>radhey.shyam.pandey@xilinx.com</email>
</author>
<published>2019-10-22T17:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91'/>
<id>urn:sha1:6ccd692bfb7fc44a6b4acd97874d8be78ecb5c91</id>
<content type='text'>
Add support for AXI Multichannel Direct Memory Access (AXI MCDMA)
core, which is a soft Xilinx IP core that provides high-bandwidth
direct memory access between memory and AXI4-Stream target peripherals.
The AXI MCDMA core provides scatter-gather interface with multiple
independent transmit and receive channels. The driver supports
device_prep_slave_sg slave transfer mode.

Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Link: https://lore.kernel.org/r/1571763622-29281-7-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Extend dma_config struct to store irq routine handle</title>
<updated>2019-11-06T17:08:01+00:00</updated>
<author>
<name>Radhey Shyam Pandey</name>
<email>radhey.shyam.pandey@xilinx.com</email>
</author>
<published>2019-10-22T17:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=c2f6b67db2bd2c333ccd30099c9bde197fa3943d'/>
<id>urn:sha1:c2f6b67db2bd2c333ccd30099c9bde197fa3943d</id>
<content type='text'>
Extend dma_config structure to store irq routine handle. It enables runtime
handler selection based on xdma_ip_type and serves as preparatory patch for
adding MCDMA IP support.

Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Suggested-by: Vinod Koul &lt;vkoul@kernel.org&gt;
Link: https://lore.kernel.org/r/1571763622-29281-6-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Remove axidma multichannel mode support</title>
<updated>2019-11-06T17:08:01+00:00</updated>
<author>
<name>Radhey Shyam Pandey</name>
<email>radhey.shyam.pandey@xilinx.com</email>
</author>
<published>2019-10-22T17:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=bcb2dc7b6c1ed0d13f640f4a0ea713088f188b19'/>
<id>urn:sha1:bcb2dc7b6c1ed0d13f640f4a0ea713088f188b19</id>
<content type='text'>
The AXI DMA multichannel support is deprecated in the IP and it is no
longer actively supported. For multichannel support, refer to the AXI
multichannel direct memory access IP product guide(PG228) and MCDMA
driver. So inline with it remove axidma multichannel support from
from the driver.

Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Link: https://lore.kernel.org/r/1571763622-29281-5-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Clear desc_pendingcount in xilinx_dma_reset</title>
<updated>2019-10-20T14:05:27+00:00</updated>
<author>
<name>Nicholas Graumann</name>
<email>nick.graumann@gmail.com</email>
</author>
<published>2019-10-15T14:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=8a631a5a0f7d4a4a24dba8587d5d9152be0871cc'/>
<id>urn:sha1:8a631a5a0f7d4a4a24dba8587d5d9152be0871cc</id>
<content type='text'>
Whenever we reset the channel, we need to clear desc_pendingcount
along with desc_submitcount. Otherwise when a new transaction is
submitted, the irq coalesce level could be programmed to an incorrect
value in the axidma case.

This behavior can be observed when terminating pending transactions
with xilinx_dma_terminate_all() and then submitting new transactions
without releasing and requesting the channel.

Signed-off-by: Nicholas Graumann &lt;nick.graumann@gmail.com&gt;
Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Link: https://lore.kernel.org/r/1571150904-3988-8-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Print debug message when no free tx segments</title>
<updated>2019-10-20T14:05:27+00:00</updated>
<author>
<name>Nicholas Graumann</name>
<email>nick.graumann@gmail.com</email>
</author>
<published>2019-10-15T14:48:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=722b9e6d7e49b1dc429f9b65680b325c1ce9a763'/>
<id>urn:sha1:722b9e6d7e49b1dc429f9b65680b325c1ce9a763</id>
<content type='text'>
The driver should not run out of tx segments in normal operation. But,
if the user attempts to prepare a transaction with a large sg list,
the driver may not have enough free segments to accommodate the request.

Log a message at the debug level to inform the user in case they are
experiencing issues.

Signed-off-by: Nicholas Graumann &lt;nick.graumann@gmail.com&gt;
Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Link: https://lore.kernel.org/r/1571150904-3988-7-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Add callback_result support</title>
<updated>2019-10-20T14:05:27+00:00</updated>
<author>
<name>Nicholas Graumann</name>
<email>nick.graumann@gmail.com</email>
</author>
<published>2019-10-15T14:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=d8bae21a48dbe132788291257638f323f4ee5c94'/>
<id>urn:sha1:d8bae21a48dbe132788291257638f323f4ee5c94</id>
<content type='text'>
Take advantage of dmaengine_desc_get_callback_invoke which allows either
a callback or callback_result to be specified. This can be useful when
using the AXI DMA transfer unknown quantities of data where the residue
contained in the result can be used to calculate the number of bytes
transferred.

Signed-off-by: Nicholas Graumann &lt;nick.graumann@gmail.com&gt;
Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Link: https://lore.kernel.org/r/1571150904-3988-6-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Introduce xilinx_dma_get_residue</title>
<updated>2019-10-20T14:05:27+00:00</updated>
<author>
<name>Nicholas Graumann</name>
<email>nick.graumann@gmail.com</email>
</author>
<published>2019-10-15T14:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=a575d0b4e663d818803f75de0cf4bc3c4b35b203'/>
<id>urn:sha1:a575d0b4e663d818803f75de0cf4bc3c4b35b203</id>
<content type='text'>
Introduce a function that can calculate residues for IPs that support it:
AXI DMA and CDMA.

Signed-off-by: Nicholas Graumann &lt;nick.graumann@gmail.com&gt;
Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Link: https://lore.kernel.org/r/1571150904-3988-5-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
<entry>
<title>dmaengine: xilinx_dma: Remove residue from channel data</title>
<updated>2019-10-20T14:05:27+00:00</updated>
<author>
<name>Radhey Shyam Pandey</name>
<email>radhey.shyam.pandey@xilinx.com</email>
</author>
<published>2019-10-15T14:48:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=95f68c62628085abff83a5add8db057fbf532f7f'/>
<id>urn:sha1:95f68c62628085abff83a5add8db057fbf532f7f</id>
<content type='text'>
There is no use of storing channel data residue field. So clean it up.
In tx_status simply pass calculated residue to dma_set_residue.

Signed-off-by: Radhey Shyam Pandey &lt;radhey.shyam.pandey@xilinx.com&gt;
Link: https://lore.kernel.org/r/1571150904-3988-4-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul &lt;vkoul@kernel.org&gt;
</content>
</entry>
</feed>
