<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snowball/legacy-kernel.git/Documentation, branch igloo-dev</title>
<subtitle>legacy kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/atom?h=igloo-dev</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/atom?h=igloo-dev'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/'/>
<updated>2011-10-27T14:35:24+00:00</updated>
<entry>
<title>PM / Runtime: Add new helper function: pm_runtime_status_suspended()</title>
<updated>2011-10-27T14:35:24+00:00</updated>
<author>
<name>Kevin Hilman</name>
<email>khilman@ti.com</email>
</author>
<published>2011-07-12T09:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=f33507227b86ed3ee1a836a679e58a7672603a93'/>
<id>urn:sha1:f33507227b86ed3ee1a836a679e58a7672603a93</id>
<content type='text'>
This boolean function simply returns whether or not the runtime status
of the device is 'suspended'.  Unlike pm_runtime_suspended(), this
function returns the runtime status whether or not runtime PM for the
device has been disabled or not.

Also add entry to Documentation/power/runtime.txt

Signed-off-by: Kevin Hilman &lt;khilman@ti.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Change-Id: I2e31841f087b5d44a0f4d6e2f8bba2d08cfc7b64
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35338
Reviewed-by: QABUILD
Reviewed-by: Linus WALLEIJ &lt;linus.walleij@stericsson.com&gt;
Tested-by: Ulf HANSSON &lt;ulf.hansson@stericsson.com&gt;
</content>
</entry>
<entry>
<title>PM: Limit race conditions between runtime PM and system sleep (v2)</title>
<updated>2011-10-27T14:35:15+00:00</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-07-06T08:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=77e7fdb3a6630bf9104717470b1ade84788f4676'/>
<id>urn:sha1:77e7fdb3a6630bf9104717470b1ade84788f4676</id>
<content type='text'>
One of the roles of the PM core is to prevent different PM callbacks
executed for the same device object from racing with each other.
Unfortunately, after commit e8665002477f0278f84f898145b1f141ba26ee26
(PM: Allow pm_runtime_suspend() to succeed during system suspend)
runtime PM callbacks may be executed concurrently with system
suspend/resume callbacks for the same device.

The main reason for commit e8665002477f0278f84f898145b1f141ba26ee26
was that some subsystems and device drivers wanted to use runtime PM
helpers, pm_runtime_suspend() and pm_runtime_put_sync() in
particular, for carrying out the suspend of devices in their
.suspend() callbacks.  However, as it's been determined recently,
there are multiple reasons not to do so, inlcuding:

 * The caller really doesn't control the runtime PM usage counters,
   because user space can access them through sysfs and effectively
   block runtime PM.  That means using pm_runtime_suspend() or
   pm_runtime_get_sync() to suspend devices during system suspend
   may or may not work.

 * If a driver calls pm_runtime_suspend() from its .suspend()
   callback, it causes the subsystem's .runtime_suspend() callback to
   be executed, which leads to the call sequence:

   subsys-&gt;suspend(dev)
      driver-&gt;suspend(dev)
         pm_runtime_suspend(dev)
            subsys-&gt;runtime_suspend(dev)

   recursive from the subsystem's point of view.  For some subsystems
   that may actually work (e.g. the platform bus type), but for some
   it will fail in a rather spectacular fashion (e.g. PCI).  In each
   case it means a layering violation.

 * Both the subsystem and the driver can provide .suspend_noirq()
   callbacks for system suspend that can do whatever the
   .runtime_suspend() callbacks do just fine, so it really isn't
   necessary to call pm_runtime_suspend() during system suspend.

 * The runtime PM's handling of wakeup devices is usually different
   from the system suspend's one, so .runtime_suspend() may simply be
   inappropriate for system suspend.

 * System suspend is supposed to work even if CONFIG_PM_RUNTIME is
   unset.

 * The runtime PM workqueue is frozen before system suspend, so if
   whatever the driver is going to do during system suspend depends
   on it, that simply won't work.

Still, there is a good reason to allow pm_runtime_resume() to
succeed during system suspend and resume (for instance, some
subsystems and device drivers may legitimately use it to ensure that
their devices are in full-power states before suspending them).
Moreover, there is no reason to prevent runtime PM callbacks from
being executed in parallel with the system suspend/resume .prepare()
and .complete() callbacks and the code removed by commit
e8665002477f0278f84f898145b1f141ba26ee26 went too far in this
respect.  On the other hand, runtime PM callbacks, including
.runtime_resume(), must not be executed during system suspend's
"late" stage of suspending devices and during system resume's "early"
device resume stage.

Taking all of the above into consideration, make the PM core
acquire a runtime PM reference to every device and resume it if
there's a runtime PM resume request pending right before executing
the subsystem-level .suspend() callback for it.  Make the PM core
drop references to all devices right after executing the
subsystem-level .resume() callbacks for them.  Additionally,
make the PM core disable the runtime PM framework for all devices
during system suspend, after executing the subsystem-level .suspend()
callbacks for them, and enable the runtime PM framework for all
devices during system resume, right before executing the
subsystem-level .resume() callbacks for them.

Conflicts:
	drivers/base/power/main.c

Change-Id: I184431a2e6663222685098d869272b5e84b93c11
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Acked-by: Kevin Hilman &lt;khilman@ti.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35337
Reviewed-by: QABUILD
Reviewed-by: Linus WALLEIJ &lt;linus.walleij@stericsson.com&gt;
</content>
</entry>
<entry>
<title>PM / Runtime: Update documentation of interactions with system sleep</title>
<updated>2011-10-27T14:35:05+00:00</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-07-01T20:29:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=c409e58bf3f8542ad5b76bdd1be424ef8b6e1d79'/>
<id>urn:sha1:c409e58bf3f8542ad5b76bdd1be424ef8b6e1d79</id>
<content type='text'>
The documents describing the interactions between runtime PM and
system sleep generally refer to the model in which the system sleep
state is entered through a global firmware or hardware operation.
As a result, some recommendations given in there are not entirely
suitable for systems in which this is not the case.  Update the
documentation to take the existence of those systems into account.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Reviewed-by: Kevin Hilman &lt;khilman@ti.com&gt;
Change-Id: I926b72b01331e563d2e4a1e3b48c9e4c2ce29a05
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35336
Reviewed-by: QABUILD
Reviewed-by: Linus WALLEIJ &lt;linus.walleij@stericsson.com&gt;
Tested-by: Ulf HANSSON &lt;ulf.hansson@stericsson.com&gt;
</content>
</entry>
<entry>
<title>PM: Introduce generic "noirq" callback routines for subsystems (v2)</title>
<updated>2011-10-27T14:34:55+00:00</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2011-07-01T20:12:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=4653514caff9ee1a83a6ad40d71a1252292693b1'/>
<id>urn:sha1:4653514caff9ee1a83a6ad40d71a1252292693b1</id>
<content type='text'>
Introduce generic "noirq" power management callback routines for
subsystems in addition to the "regular" generic PM callback routines.

The new routines will be used, among other things, for implementing
system-wide PM transitions support for generic PM domains.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Change-Id: I345a1c6d221b402f349837581681bc7b5c464ea9
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35335
Reviewed-by: QABUILD
Reviewed-by: Linus WALLEIJ &lt;linus.walleij@stericsson.com&gt;
Tested-by: Ulf HANSSON &lt;ulf.hansson@stericsson.com&gt;
</content>
</entry>
<entry>
<title>rtc: ab8500: Add calibration attribute to AB8500 RealTimeClock</title>
<updated>2011-10-05T10:42:22+00:00</updated>
<author>
<name>Mark Godfrey</name>
<email>mark.godfrey@stericsson.com</email>
</author>
<published>2011-10-04T08:58:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=bdb7d92f602588bd630af5248dba61cb78b3e45e'/>
<id>urn:sha1:bdb7d92f602588bd630af5248dba61cb78b3e45e</id>
<content type='text'>
The rtc_calibration attribute allows user-space to get and set
the AB8500's RtcCalibration register.  The AB8500 will then use the value in
this register to compensate for RTC drift every 60 seconds.

ST Ericsson ID: 362204

Change-Id: I32a4bda5d6cc0812dcb53d721088e8b844c25b46
Signed-off-by: Mark Godfrey &lt;mark.godfrey@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32922
Reviewed-by: Linus WALLEIJ &lt;linus.walleij@stericsson.com&gt;
</content>
</entry>
<entry>
<title>Build correction after moved header file.</title>
<updated>2011-10-04T12:18:11+00:00</updated>
<author>
<name>pender01</name>
<email>peter.enderborg@stericsson.com</email>
</author>
<published>2011-10-03T08:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=83f6e0173475086492ad220945cbbe4e0dc00265'/>
<id>urn:sha1:83f6e0173475086492ad220945cbbe4e0dc00265</id>
<content type='text'>
ST-Ericsson ID: 364916
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: -

Change-Id: I86d796e347ce7e8c2f3a9ddf256863ba74449ee8
Signed-off-by: pender01 &lt;peter.enderborg@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32841
Reviewed-by: Yvan FILLION &lt;yvan.fillion@stericsson.com&gt;
</content>
</entry>
<entry>
<title>mfd/cg2900: Support HCI Raw Channel.</title>
<updated>2011-09-30T11:47:37+00:00</updated>
<author>
<name>Hemant Gupta</name>
<email>hemant.gupta@stericsson.com</email>
</author>
<published>2011-09-27T13:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=851935557854755175e9d8955234c1c15ec06b13'/>
<id>urn:sha1:851935557854755175e9d8955234c1c15ec06b13</id>
<content type='text'>
Add support for HCI Raw channel so that CG2900
can be accessed directly from user space.

ST-Ericsson Linux next: Not tested, ER351170
ST-Ericsson ID: 351170
ST-Ericsson FOSS-OUT ID: Trivial

Change-Id: If8a2455be32f0eb99f7c0bc7a5cf0e09270fa6af
Signed-off-by: Hemant Gupta &lt;hemant.gupta@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32206
Reviewed-by: Henrik POSSUNG &lt;henrik.possung@stericsson.com&gt;
Reviewed-by: Par-Gunnar HJALMDAHL &lt;par-gunnar.p.hjalmdahl@stericsson.com&gt;
</content>
</entry>
<entry>
<title>cg2900: Add KernelDoc</title>
<updated>2011-09-28T05:47:35+00:00</updated>
<author>
<name>Par-Gunnar Hjalmdahl</name>
<email>par-gunnar.p.hjalmdahl@stericsson.com</email>
</author>
<published>2011-09-27T08:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=c046460f6c96fca0a47386362e3db85e93f4f2dd'/>
<id>urn:sha1:c046460f6c96fca0a47386362e3db85e93f4f2dd</id>
<content type='text'>
This patch adds KernelDoc for the CG2900 driver.

ST-Ericsson ID: 364042
ST-Ericcson FOSS-OUT-ID: Trivial
ST-Ericsson Linux next: 364042

Change-Id: Idccbf196bcf4a9c5f280e3745ce3e72c499dee80
Signed-off-by: Par-Gunnar Hjalmdahl &lt;par-gunnar.p.hjalmdahl@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32035
Reviewed-by: Hemant GUPTA &lt;hemant.gupta@stericsson.com&gt;
</content>
</entry>
<entry>
<title>ux500:USB:Fix for Build issue of HTML Docs</title>
<updated>2011-09-23T09:28:07+00:00</updated>
<author>
<name>Sakethram Bommisetti</name>
<email>sakethram.bommisetti@stericsson.com</email>
</author>
<published>2011-09-23T09:22:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=00b93d6ad7d1a95f9649db2cc97daa14b32701f1'/>
<id>urn:sha1:00b93d6ad7d1a95f9649db2cc97daa14b32701f1</id>
<content type='text'>
"pubfunctions" is required in the .tmpl file as the compiler uses it.
Adding "pubfunctions" in ux500_usb.tmpl file.

ST-Ericsson ID: NA
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA

Signed-off-by: Sakethram Bommisetti &lt;sakethram.bommisetti@stericsson.com&gt;
Change-Id: Ic927f2001e9d0fff070a7d7b9b9871c011905aef
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31845
Reviewed-by: Praveena NADAHALLY &lt;praveen.nadahally@stericsson.com&gt;
Reviewed-by: Jonas ABERG &lt;jonas.aberg@stericsson.com&gt;
</content>
</entry>
<entry>
<title>CG2900 FM Radio: Handling Mono-Stereo Interrupt.</title>
<updated>2011-09-19T14:07:32+00:00</updated>
<author>
<name>Hemant Gupta</name>
<email>hemant.gupta@stericsson.com</email>
</author>
<published>2011-05-30T14:43:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/legacy-kernel.git/commit/?id=fffead9fa93f6eb87f1634c8f11ff7ddfda1f4b9'/>
<id>urn:sha1:fffead9fa93f6eb87f1634c8f11ff7ddfda1f4b9</id>
<content type='text'>
The linux FM driver for CG2900 now supports mono-stereo
transition interrupt from the CG2900. It indicates
stereo to mono transition or vice versa. Support for RDS
Interrupt, Scan Completion Interrupt, CG2900 Reset
Interrupt, etc is also added in this patch.

ST-Ericsson ID: 324264
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial

Change-Id: I280a2a00a6f58e105d11f3a9f14ea662719c485e
Signed-off-by: Hemant Gupta &lt;hemant.gupta@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30511
Reviewed-by: Johan PALMAEUS &lt;johan.xj.palmaeus@stericsson.com&gt;
Reviewed-by: Virupax SADASHIVPETIMATH &lt;virupax.sadashivpetimath@stericsson.com&gt;
Tested-by: Virupax SADASHIVPETIMATH &lt;virupax.sadashivpetimath@stericsson.com&gt;
</content>
</entry>
</feed>
