<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/dma/pch_dma.c, branch linux-4.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-04-17T18:11:46Z</updated>
<entry>
<title>dmaengine: pch_dma: fix memory leak on failure path in pch_dma_probe()</title>
<updated>2015-04-17T18:11:46Z</updated>
<author>
<name>Alexey Khoroshilov</name>
</author>
<published>2015-04-10T22:28:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12d7b7a23694b4d3dba58d7ae971ee9120a617e5'/>
<id>urn:sha1:12d7b7a23694b4d3dba58d7ae971ee9120a617e5</id>
<content type='text'>
Memory allocated for pch_dma is not deallocated in case of failure
in pch_dma_probe().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: pch-dma: Rename device_control</title>
<updated>2014-12-22T07:03:22Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2014-11-17T13:42:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c91781b44e2bf4770f894c80cbe99e3404b690fb'/>
<id>urn:sha1:c91781b44e2bf4770f894c80cbe99e3404b690fb</id>
<content type='text'>
Rename the device_control callback of the Intel PCH DMA driver to terminate_all
since it's all it's really doing. 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>drivers/dma/pch_dma: declare pch_dma_id_table as static</title>
<updated>2014-12-05T17:58:30Z</updated>
<author>
<name>Michele Curti</name>
</author>
<published>2014-12-02T17:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=345e3123d112600b55f1d43124f2e977ee83d0cc'/>
<id>urn:sha1:345e3123d112600b55f1d43124f2e977ee83d0cc</id>
<content type='text'>
pch_dma_id_table is used in pch_dma.c only, so declare
it as static

Signed-off-by: Michele Curti &lt;michele.curti@gmail.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: pch: fix compilation for alpha target</title>
<updated>2014-05-22T13:20:49Z</updated>
<author>
<name>Vinod Koul</name>
</author>
<published>2014-05-22T13:20:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a15783c34f6304e85f7d810e71316c1c3ba1fe69'/>
<id>urn:sha1:a15783c34f6304e85f7d810e71316c1c3ba1fe69</id>
<content type='text'>
commit 4828b493 introduced COMPILE_TEST for this driver and this cause compile
failure on alpha as kzalloc wasnt availble for this arch in included header, so
explictly add slab.h

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dma: remove DEFINE_PCI_DEVICE_TABLE macro</title>
<updated>2014-05-21T05:46:18Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2014-05-09T05:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7587821d3d0812fde4799657aa6d32a57d655bcd'/>
<id>urn:sha1:7587821d3d0812fde4799657aa6d32a57d655bcd</id>
<content type='text'>
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is deprecated.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Acked-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: pch_dma: use tasklet_kill in teardown</title>
<updated>2014-03-17T13:04:11Z</updated>
<author>
<name>Vinod Koul</name>
</author>
<published>2014-03-06T06:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9068b032d0ff9285314d57a88051fe4111bbe73a'/>
<id>urn:sha1:9068b032d0ff9285314d57a88051fe4111bbe73a</id>
<content type='text'>
As discussed in [1] the tasklet_disable is not a proper function for teardown.
We need to ensure irq is disabled, followed by ensuring that don't schedule any
more tasklets and then its safe to use tasklet_kill().

Here in pch dma driver we need to use free_irq() before tasklet_kill(). So move
up the free_irq() which will ensure that the irq is disabled and also wait till
all scheduled interrupts are executed by invoking synchronize_irq().

[1]: http://lwn.net/Articles/588457/

Reported-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>pch_dma: Add MODULE_DEVICE_TABLE</title>
<updated>2013-09-02T06:29:58Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2013-09-01T23:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58ddff20a6a5888eecb541f40882c655913609c4'/>
<id>urn:sha1:58ddff20a6a5888eecb541f40882c655913609c4</id>
<content type='text'>
pch_dma currently isn't auto-loaded if built as a module.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>pch_dma: remove useless use of lock</title>
<updated>2013-08-05T04:02:25Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2013-05-27T12:14:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da0a908ed96b3eda788d6dc87b3e0b1610c40ec8'/>
<id>urn:sha1:da0a908ed96b3eda788d6dc87b3e0b1610c40ec8</id>
<content type='text'>
Accordingly to dma_cookie_status() description locking is not required.

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>pch_dma: fix error return code in pch_dma_probe()</title>
<updated>2013-07-22T09:24:23Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2013-07-17T00:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27abb2ffb07a70bdebf9a785658f68f10600281c'/>
<id>urn:sha1:27abb2ffb07a70bdebf9a785658f68f10600281c</id>
<content type='text'>
Fix to return -ENODEV when no proper base address found error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>pch_dma: Use GFP_ATOMIC because called from interrupt context</title>
<updated>2013-04-15T04:21:16Z</updated>
<author>
<name>Tomoya MORINAGA</name>
</author>
<published>2013-02-12T02:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c1ef59168c485318e40ba485c1eba57d81d0faa'/>
<id>urn:sha1:5c1ef59168c485318e40ba485c1eba57d81d0faa</id>
<content type='text'>
pdc_desc_get() is called from pd_prep_slave_sg, and the function is
called from interrupt context(e.g. Uart driver "pch_uart.c").
In fact, I saw kernel error message.
So, GFP_ATOMIC must be used not GFP_NOIO.

Signed-off-by: Tomoya MORINAGA &lt;tomoya.rohm@gmail.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
</feed>
