<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/dma/dw/core.c, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-03-05T08:37:48Z</updated>
<entry>
<title>dmaengine: dw: don't handle interrupt when dmaengine is not used</title>
<updated>2015-03-05T08:37:48Z</updated>
<author>
<name>Jie Yang</name>
</author>
<published>2015-03-05T06:08:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94b3eed7b8a4311f56a86b36430e9068b596ada4'/>
<id>urn:sha1:94b3eed7b8a4311f56a86b36430e9068b596ada4</id>
<content type='text'>
When dma controller is not used by any user and set off,
we should disble interrupt handler, at least the interrupt
reset part, for some subsystem, e.g. ADSP, may use the
dma in its own logic, here reset the interrupt may make
this subsystem work abnormally.

Signed-off-by: Jie Yang &lt;yang.jie@intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma</title>
<updated>2015-02-18T16:49:20Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2015-02-18T16:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce1d3fde87d1a21f1ec1147dde32b2825dd3a276'/>
<id>urn:sha1:ce1d3fde87d1a21f1ec1147dde32b2825dd3a276</id>
<content type='text'>
Pull dmaengine updates from Vinod Koul:
 "This update brings:

   - the big cleanup up by Maxime for device control and slave
     capabilities.  This makes the API much cleaner.

   - new IMG MDC driver by Andrew

   - new Renesas R-Car Gen2 DMA Controller driver by Laurent along with
     bunch of fixes on rcar drivers

   - odd fixes and updates spread over driver"

* 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (130 commits)
  dmaengine: pl330: add DMA_PAUSE feature
  dmaengine: pl330: improve pl330_tx_status() function
  dmaengine: rcar-dmac: Disable channel 0 when using IOMMU
  dmaengine: rcar-dmac: Work around descriptor mode IOMMU errata
  dmaengine: rcar-dmac: Allocate hardware descriptors with DMAC device
  dmaengine: rcar-dmac: Fix oops due to unintialized list in error ISR
  dmaengine: rcar-dmac: Fix spinlock issues in interrupt
  dmaenegine: edma: fix sparse warnings
  dmaengine: rcar-dmac: Fix uninitialized variable usage
  dmaengine: shdmac: extend PM methods
  dmaengine: shdmac: use SET_RUNTIME_PM_OPS()
  dmaengine: pl330: fix bug that cause start the same descs in cyclic
  dmaengine: at_xdmac: allow muliple dwidths when doing slave transfers
  dmaengine: at_xdmac: simplify channel configuration stuff
  dmaengine: at_xdmac: introduce save_cc field
  dmaengine: at_xdmac: wait for in-progress transaction to complete after pausing a channel
  ioat: fail self-test if wait_for_completion times out
  dmaengine: dw: define DW_DMA_MAX_NR_MASTERS
  dmaengine: dw: amend description of dma_dev field
  dmatest: move src_off, dst_off, len inside loop
  ...
</content>
</entry>
<entry>
<title>dmaengine: dw: define DW_DMA_MAX_NR_MASTERS</title>
<updated>2015-02-05T06:39:44Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2015-01-13T17:08:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8ded50f8b26a224df48f9f93e49440c6a39b77f'/>
<id>urn:sha1:d8ded50f8b26a224df48f9f93e49440c6a39b77f</id>
<content type='text'>
Instead of using magic number in the code the patch provides
DW_DMA_MAX_NR_MASTERS constant.

While here, restrict the reading of data width array by amount of the actual
number of AHB masters.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: provide DMA capabilities</title>
<updated>2015-01-13T18:16:00Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2015-01-02T14:17:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=029a40e97d0db269f4a7fc02b0f29f627f628309'/>
<id>urn:sha1:029a40e97d0db269f4a7fc02b0f29f627f628309</id>
<content type='text'>
The new DMAEngine requirement is to provide what the DMA controller can do,
such as directions, bus widths, and residue granularity. The patch sets those
properties for the DesignWare DMA controller driver.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: balance PM runtime calls</title>
<updated>2015-01-13T17:37:58Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2015-01-13T16:57:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6acf3998d2c7420b2deb2b475fa78ba7573c6162'/>
<id>urn:sha1:6acf3998d2c7420b2deb2b475fa78ba7573c6162</id>
<content type='text'>
In case of PCI driver we will get a warning:
	dw_dmac_pci 0000:00:18.0: Unbalanced pm_runtime_enable!
	dw_dmac_pci 0000:00:18.0: DesignWare DMA Controller, 8 channels

This happens due to pm_runtime_enable() call from the driver when PM runtime is
enabled by core.

This patch moves that call to the platform driver where it might make sense.

Fixes: bb32baf76e56 (dmaengine: dw: enable runtime PM)
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: Split device_control</title>
<updated>2014-12-22T06:58:58Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2014-11-17T13:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4b0d348f60122eb45c50b3e79a8edaec6fee534'/>
<id>urn:sha1:a4b0d348f60122eb45c50b3e79a8edaec6fee534</id>
<content type='text'>
Split the device_control callback of the DesignWare DMA driver to make use
of the newly introduced callbacks, that will eventually be used to retrieve
slave capabilities.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: enable runtime PM</title>
<updated>2014-11-11T22:44:19Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2014-11-05T16:34:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb32baf76e56cdb348633f4d789a93e81b975c47'/>
<id>urn:sha1:bb32baf76e56cdb348633f4d789a93e81b975c47</id>
<content type='text'>
On runtime PM aware platforms the DMA have to manage its own power state. This
patch enables runtime PM support and applies necessary calls wherever it's
needed.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
Tested-by: Scott Ashcroft &lt;scott.ashcroft@talk21.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: enable and disable controller when needed</title>
<updated>2014-10-15T15:01:05Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2014-09-23T14:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99d9bf4ed27c63d5559e31d112f71af655c7182b'/>
<id>urn:sha1:99d9bf4ed27c63d5559e31d112f71af655c7182b</id>
<content type='text'>
Enable controller automatically whenever first user requires for a channel and
disable it when the last user gone.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: always export dw_dma_{en,dis}able</title>
<updated>2014-10-15T15:01:04Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2014-09-23T14:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2540f74b187e3ec0fe106b7427c4a84c955dc140'/>
<id>urn:sha1:2540f74b187e3ec0fe106b7427c4a84c955dc140</id>
<content type='text'>
Instead of conditional exporing of dw_dma_suspend() / dw_dma_resume() let's
export dw_dma_disable() / dw_dma_enable(). Since dw_dma_shutdown() repeats
dw_dma_disable() we may safely remove it at all.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: dw: introduce dw_dma_on() helper</title>
<updated>2014-10-15T15:01:04Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2014-09-23T14:18:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a83c045435e896db6c689145d752d28b8b99b7b'/>
<id>urn:sha1:7a83c045435e896db6c689145d752d28b8b99b7b</id>
<content type='text'>
As an opposite to dw_dma_off() let's introduce dw_dma_on() helper. It will be
useful later as well.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
</feed>
