<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/hsi, branch v4.9.16</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>HSI: omap_ssi: drop pm_runtime_irq_safe</title>
<updated>2016-06-27T22:40:08+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T20:38:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9c99e5e51988798af2a687ef9b1716dd79388550'/>
<id>9c99e5e51988798af2a687ef9b1716dd79388550</id>
<content type='text'>
pm_runtime_irq_safe increases the parents runtime usage
counter effectively keeping the OMAP SoC from idling.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pm_runtime_irq_safe increases the parents runtime usage
counter effectively keeping the OMAP SoC from idling.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: use rpm autosuspend API</title>
<updated>2016-06-27T22:40:03+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-05-11T15:22:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ad60db2f9fe3367e60a21fc0afe19999516f8b27'/>
<id>ad60db2f9fe3367e60a21fc0afe19999516f8b27</id>
<content type='text'>
Instead of immediately sending the SSI module to
sleep, wait some time in case of new incoming or
outgoing traffic.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of immediately sending the SSI module to
sleep, wait some time in case of new incoming or
outgoing traffic.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi: call msg-&gt;complete() from process context</title>
<updated>2016-06-27T22:40:00+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-05-20T04:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4e552310cdf0c81210b5fc9173f7cf497eeb9feb'/>
<id>4e552310cdf0c81210b5fc9173f7cf497eeb9feb</id>
<content type='text'>
msg-&gt;complete() should always be called from process context once
irq_safe runtime pm flag is no longer set for omap-ssi.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
msg-&gt;complete() should always be called from process context once
irq_safe runtime pm flag is no longer set for omap-ssi.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: ensure clocks are kept enabled during transfer</title>
<updated>2016-06-27T22:39:56+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T20:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=604fdfa45886f04ad6070c1b8266c7f4154bc497'/>
<id>604fdfa45886f04ad6070c1b8266c7f4154bc497</id>
<content type='text'>
ensure, that clocks remain enabled, when a transfer is started.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ensure, that clocks remain enabled, when a transfer is started.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: replace pm_runtime_put_sync with non-sync variant</title>
<updated>2016-06-27T22:39:43+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T20:05:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d2b8d695c61c4d2864eee900bebc2ced4f425645'/>
<id>d2b8d695c61c4d2864eee900bebc2ced4f425645</id>
<content type='text'>
There is no need to wait for hardware to really reach idle states,
so just release runtime PM asynchronously.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no need to wait for hardware to really reach idle states,
so just release runtime PM asynchronously.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: avoid calling runtime_pm_*_sync inside spinlock</title>
<updated>2016-06-27T22:39:39+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T20:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fa1572d956ee072e965da01d2c46f10d2b67d017'/>
<id>fa1572d956ee072e965da01d2c46f10d2b67d017</id>
<content type='text'>
runtime_pm_*_sync can block when irq_safe flag is removed
from omap-ssi driver, so it may not be called while a
spinlock is held.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime_pm_*_sync can block when irq_safe flag is removed
from omap-ssi driver, so it may not be called while a
spinlock is held.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: avoid pm_runtime_get_sync in ssi_start_dma and ssi_start_pio</title>
<updated>2016-06-27T22:39:36+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T19:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=62aa292b3eae920a80c2fd0ed0601a70328627f6'/>
<id>62aa292b3eae920a80c2fd0ed0601a70328627f6</id>
<content type='text'>
These functions may be called from atomic context,
so avoid synchronous runtime pm calls.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These functions may be called from atomic context,
so avoid synchronous runtime pm calls.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_port: switch to threaded pio irq</title>
<updated>2016-06-27T22:39:32+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T19:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c4a625731560021890df40e8d86958c3d8ea98fa'/>
<id>c4a625731560021890df40e8d86958c3d8ea98fa</id>
<content type='text'>
Move pio interrupt handler from tasklet into thread to
allow runtime_pm_get_sync calls without irq_safe being
set.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move pio interrupt handler from tasklet into thread to
allow runtime_pm_get_sync calls without irq_safe being
set.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_core: remove pm_runtime_get_sync call from tasklet</title>
<updated>2016-06-27T22:39:26+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T19:01:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=927d3f8f73217fb19c28496321510335176955de'/>
<id>927d3f8f73217fb19c28496321510335176955de</id>
<content type='text'>
We may not call pm_runtime_get_sync() from tasklet, since
it can block once pm_runtime_irq_safe is removed for omap-ssi.

Since irq can should only be created for a running device,
we assume, that the device is already running and use non-
synchronous API instead.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We may not call pm_runtime_get_sync() from tasklet, since
it can block once pm_runtime_irq_safe is removed for omap-ssi.

Since irq can should only be created for a running device,
we assume, that the device is already running and use non-
synchronous API instead.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HSI: omap_ssi_core: use pm_runtime_put instead of pm_runtime_put_sync</title>
<updated>2016-06-27T22:39:21+00:00</updated>
<author>
<name>Sebastian Reichel</name>
<email>sre@kernel.org</email>
</author>
<published>2016-06-17T18:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ea88f717cdbe94e60bf2b0082648453cf2401ffc'/>
<id>ea88f717cdbe94e60bf2b0082648453cf2401ffc</id>
<content type='text'>
There is no need to disable the device synchronously, so
don't do it.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no need to disable the device synchronously, so
don't do it.

Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
</pre>
</div>
</content>
</entry>
</feed>
