<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/base/power, branch tegra</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>PM: Need to wake_up_all when suspend fail</title>
<updated>2012-08-18T01:33:44+00:00</updated>
<author>
<name>BH Hsieh</name>
<email>bhsieh@nvidia.com</email>
</author>
<published>2012-08-13T07:33:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=856f955552e8dbdf3b4a25c3eb648bcd5193cacf'/>
<id>856f955552e8dbdf3b4a25c3eb648bcd5193cacf</id>
<content type='text'>
In rpm_suspend, when suspend fail,
before going to reschedule another autosuspend,
wake_up_all is required to avoid remote wakeup
issues.

Bug 1026169
Bug 1027598
Bug 1032565

Change-Id: Ieaf9282dae59b2cb343bf01aa2ba837a8cdc39c7
Signed-off-by: BH Hsieh &lt;bhsieh@nvidia.com&gt;
Reviewed-on: http://git-master/r/122978
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Neil Patel &lt;neilp@nvidia.com&gt;
Tested-by: Neil Patel &lt;neilp@nvidia.com&gt;
Tested-by: Steve Lin &lt;stlin@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin &lt;stlin@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In rpm_suspend, when suspend fail,
before going to reschedule another autosuspend,
wake_up_all is required to avoid remote wakeup
issues.

Bug 1026169
Bug 1027598
Bug 1032565

Change-Id: Ieaf9282dae59b2cb343bf01aa2ba837a8cdc39c7
Signed-off-by: BH Hsieh &lt;bhsieh@nvidia.com&gt;
Reviewed-on: http://git-master/r/122978
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Neil Patel &lt;neilp@nvidia.com&gt;
Tested-by: Neil Patel &lt;neilp@nvidia.com&gt;
Tested-by: Steve Lin &lt;stlin@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin &lt;stlin@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'korg-android-tegra-3.1' into after-upstream-android</title>
<updated>2011-12-01T05:51:56+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@nvidia.com</email>
</author>
<published>2011-12-01T05:51:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=68529c0f36074be88ee937634fb9433e69c96388'/>
<id>68529c0f36074be88ee937634fb9433e69c96388</id>
<content type='text'>
Conflicts:
	arch/arm/mach-tegra/Kconfig
	arch/arm/mach-tegra/board-ventana.c
	drivers/misc/Kconfig
	drivers/video/tegra/dc/hdmi.c

Signed-off-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	arch/arm/mach-tegra/Kconfig
	arch/arm/mach-tegra/board-ventana.c
	drivers/misc/Kconfig
	drivers/video/tegra/dc/hdmi.c

Signed-off-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: remove redundant calculation</title>
<updated>2011-12-01T05:49:36+00:00</updated>
<author>
<name>venu byravarasu</name>
<email>vbyravarasu@nvidia.com</email>
</author>
<published>2011-10-28T09:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=30d34fda85af0438046dc5b14a150a07206e9283'/>
<id>30d34fda85af0438046dc5b14a150a07206e9283</id>
<content type='text'>
As max_num usage is not necessary, removing it.

Change-Id: I7b668bbbf0d5a388c8ade017194958976c861ea3
Reviewed-on: http://git-master/r/60855
Tested-by: Venu Byravarasu &lt;vbyravarasu@nvidia.com&gt;
Reviewed-by: Bitan Biswas &lt;bbiswas@nvidia.com&gt;

Rebase-Id: R131970045a24c494f94de0a51eea6c73bdf994ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As max_num usage is not necessary, removing it.

Change-Id: I7b668bbbf0d5a388c8ade017194958976c861ea3
Reviewed-on: http://git-master/r/60855
Tested-by: Venu Byravarasu &lt;vbyravarasu@nvidia.com&gt;
Reviewed-by: Bitan Biswas &lt;bbiswas@nvidia.com&gt;

Rebase-Id: R131970045a24c494f94de0a51eea6c73bdf994ea
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: fix calculation mistake in roll-over cases</title>
<updated>2011-12-01T05:49:33+00:00</updated>
<author>
<name>venu byravarasu</name>
<email>vbyravarasu@nvidia.com</email>
</author>
<published>2011-10-25T06:04:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9c235136fb8513f8f5033bfbf25e061a703fedf6'/>
<id>9c235136fb8513f8f5033bfbf25e061a703fedf6</id>
<content type='text'>
In case of jiffies roll over, delta is made zero.
Hence fixing it, after taking roll over into consideration.

Change-Id: I7dacaa12deafbd2bd20705948c0e18292b718aa4
Reviewed-on: http://git-master/r/60147
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;

Rebase-Id: R0fa2027be53f95c16e11e8ea46c833c86182a3a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of jiffies roll over, delta is made zero.
Hence fixing it, after taking roll over into consideration.

Change-Id: I7dacaa12deafbd2bd20705948c0e18292b718aa4
Reviewed-on: http://git-master/r/60147
Reviewed-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;
Tested-by: Varun Colbert &lt;vcolbert@nvidia.com&gt;

Rebase-Id: R0fa2027be53f95c16e11e8ea46c833c86182a3a9
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: runtime: add might_sleep to PM runtime functions</title>
<updated>2011-12-01T05:39:08+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2011-08-10T16:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d69a23cedf782704f6155c2971e836d9b30a2157'/>
<id>d69a23cedf782704f6155c2971e836d9b30a2157</id>
<content type='text'>
The list of functions that can be called in atomic context is
non-intuitive (pm_runtime_put_sync can not, but
pm_runtime_put_sync_suspend can, if pm_runtime_irq_safe has
been called?).  The code is actively misleading - the entry
points all start with spin_lock_irqsave, suggesting they
are safe to call in atomic context, but may later
enable interrupts.

Add might_sleep_if to all the __pm_runtime_* entry points
to enforce correct usage.

Also add pm_runtime_put_sync_autosuspend to the list of
functions that can be called in atomic context.

Change-Id: Icac17a10d77c64d44bd2761a91a588dfd1d0c6f0
Signed-off-by: Colin Cross &lt;ccross@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The list of functions that can be called in atomic context is
non-intuitive (pm_runtime_put_sync can not, but
pm_runtime_put_sync_suspend can, if pm_runtime_irq_safe has
been called?).  The code is actively misleading - the entry
points all start with spin_lock_irqsave, suggesting they
are safe to call in atomic context, but may later
enable interrupts.

Add might_sleep_if to all the __pm_runtime_* entry points
to enforce correct usage.

Also add pm_runtime_put_sync_autosuspend to the list of
functions that can be called in atomic context.

Change-Id: Icac17a10d77c64d44bd2761a91a588dfd1d0c6f0
Signed-off-by: Colin Cross &lt;ccross@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "PM: Prevent waiting forever on asynchronous resume after abort"</title>
<updated>2011-12-01T05:38:44+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2011-06-29T20:43:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f9b7a5f58ac563fc8d6a90aade0be0f473acb513'/>
<id>f9b7a5f58ac563fc8d6a90aade0be0f473acb513</id>
<content type='text'>
This reverts commit fa92a3d6959546baa27e892188d3e9bb79c31741.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit fa92a3d6959546baa27e892188d3e9bb79c31741.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "PM: Wait for completion of the parent resume before resuming"</title>
<updated>2011-12-01T05:38:44+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2011-06-29T20:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c276108fd17c700a067e01c58063e7ad4c41dcef'/>
<id>c276108fd17c700a067e01c58063e7ad4c41dcef</id>
<content type='text'>
This reverts commit a0f07aae54e87a9fad6d19c0e57398f54d858f06.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a0f07aae54e87a9fad6d19c0e57398f54d858f06.
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: Increase dpm suspend timeout</title>
<updated>2011-12-01T05:38:29+00:00</updated>
<author>
<name>Benoit Goby</name>
<email>benoit@android.com</email>
</author>
<published>2011-02-07T21:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=607f3cf8450054189ccedd18ae0c58e4d816b232'/>
<id>607f3cf8450054189ccedd18ae0c58e4d816b232</id>
<content type='text'>
usbhid devices have a 10s timeout waiting for the out queue to clear.
Increased the watchdog to 12s.

Change-Id: I96368fca6dff98e4eba8aedb09c23be964c8f4b4
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usbhid devices have a 10s timeout waiting for the out queue to clear.
Increased the watchdog to 12s.

Change-Id: I96368fca6dff98e4eba8aedb09c23be964c8f4b4
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: Change dpm watchdog to support async suspend</title>
<updated>2011-12-01T05:38:27+00:00</updated>
<author>
<name>Benoit Goby</name>
<email>benoit@android.com</email>
</author>
<published>2011-01-27T02:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=820752e31cd510fdcf859a6e269c8b375975317e'/>
<id>820752e31cd510fdcf859a6e269c8b375975317e</id>
<content type='text'>
Exclude from the watchdog the time spent waiting for children that
are resumed asynchronously and time every devices, whether or not they
resumed synchronously.

Change-Id: I84209dfd5df72842e045096c906fd61e20e6d183
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exclude from the watchdog the time spent waiting for children that
are resumed asynchronously and time every devices, whether or not they
resumed synchronously.

Change-Id: I84209dfd5df72842e045096c906fd61e20e6d183
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: Dump suspend thread stack on dpm suspend timeout</title>
<updated>2011-12-01T05:38:27+00:00</updated>
<author>
<name>Benoit Goby</name>
<email>benoit@android.com</email>
</author>
<published>2011-01-21T23:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a5970e98f3db3b6d1bf4ec7737e5d83b75c365ed'/>
<id>a5970e98f3db3b6d1bf4ec7737e5d83b75c365ed</id>
<content type='text'>
When a driver takes more than 3 seconds to suspend, dump the suspend
thread stack since BUG() might only dump the idle thread stack.

Change-Id: If854db355fdcf3b773ea20b1b5e031def6d4b114
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a driver takes more than 3 seconds to suspend, dump the suspend
thread stack since BUG() might only dump the idle thread stack.

Change-Id: If854db355fdcf3b773ea20b1b5e031def6d4b114
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
