<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/power, branch v2.6.16.7</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/base/power?h=v2.6.16.7</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/base/power?h=v2.6.16.7'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-02-06T20:17:17Z</updated>
<entry>
<title>[PATCH] Fix Userspace interface breakage in power/state</title>
<updated>2006-02-06T20:17:17Z</updated>
<author>
<name>Pavel Machek</name>
<email>pavel@suse.cz</email>
</author>
<published>2006-01-22T21:38:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=022f7b07bf2b384ece7fbd7edb90e54cd78db252'/>
<id>urn:sha1:022f7b07bf2b384ece7fbd7edb90e54cd78db252</id>
<content type='text'>
Prevent passing invalid values down to the drivers.

Signed-off-by: Pavel Machek &lt;pavel@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] drivers/base/: proper prototypes</title>
<updated>2006-02-06T20:17:17Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2006-01-19T16:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f67d115fe48f494d4b7f4f2024217fe52578915f'/>
<id>urn:sha1:f67d115fe48f494d4b7f4f2024217fe52578915f</id>
<content type='text'>
This patch contains the following changes:
- move prototypes to base.h
- sys.c should #include "base.h" for getting the prototype of it's
  global function system_bus_init()

Note that hidden in this patch there's a bugfix:

Caller and callee disagreed regarding the return type of
sysdev_shutdown().

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] device_shutdown can loop if the driver frees itself</title>
<updated>2006-01-13T19:26:12Z</updated>
<author>
<name>Michael Richardson</name>
<email>mcr@sandelman.ottawa.on.ca</email>
</author>
<published>2006-01-09T09:04:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9c08a938ce5a3e1c9d5f764dc6ae844cb1af76ff'/>
<id>urn:sha1:9c08a938ce5a3e1c9d5f764dc6ae844cb1af76ff</id>
<content type='text'>
This patch changes device_shutdown() to use the newly introduced safe
reverse list traversal.  We experienced loops on system reboot if we had
removed and re-inserted our device from the device list.

We noticed this problem on PPC405. Our PCI IDE device comes and goes a lot.

Our hypothesis was that there was a loop caused by the driver-&gt;shutdown
freeing memory.  It is possible that we do something wrong as well, but
being unable to reboot is kind of nasty.

Signed-off-by: Michael Richardson &lt;mcr@marajade.sandelman.ca&gt;
Cc: Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Cc: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add bus_type probe, remove, shutdown methods.</title>
<updated>2006-01-13T19:26:04Z</updated>
<author>
<name>Russell King</name>
<email>rmk@arm.linux.org.uk</email>
</author>
<published>2006-01-05T14:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=594c8281f90560faf9632d91bb9d402cbe560e63'/>
<id>urn:sha1:594c8281f90560faf9632d91bb9d402cbe560e63</id>
<content type='text'>
Add bus_type probe, remove and shutdown methods to replace the
corresponding methods in struct device_driver.  This matches
the way we handle the suspend/resume methods.

Since the bus methods override the device_driver methods, warn
if a device driver is registered whose methods will not be
called.

The long-term idea is to remove the device_driver methods entirely.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] pcmcia: merge suspend into device model</title>
<updated>2006-01-05T23:02:03Z</updated>
<author>
<name>Dominik Brodowski</name>
<email>linux@dominikbrodowski.net</email>
</author>
<published>2006-01-05T23:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8e9e793d68fcda6cc84c18cedf85ca0f91d801a8'/>
<id>urn:sha1:8e9e793d68fcda6cc84c18cedf85ca0f91d801a8</id>
<content type='text'>
Merge the suspend and resume methods for 16-bit PCMCIA cards into the
device model -- for both runtime power management and suspend to ram/disk.

Bugfix in ds.c by Richard Purdie
Signed-Off-By: Richard Purdie &lt;rpurdie@rpsys.net&gt;

Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state()</title>
<updated>2006-01-05T00:18:10Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2005-12-12T09:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1f1bf132d81ed723bc5fefbcec7d0779ce683a4f'/>
<id>urn:sha1:1f1bf132d81ed723bc5fefbcec7d0779ce683a4f</id>
<content type='text'>
This patch #if 0's an unused global function.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix remaining missing includes</title>
<updated>2005-11-07T15:53:41Z</updated>
<author>
<name>Tim Schmielau</name>
<email>tim@physik3.uni-rostock.de</email>
</author>
<published>2005-11-07T08:59:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8c65b4a60450590e79a28e9717ceffa9e4debb3f'/>
<id>urn:sha1:8c65b4a60450590e79a28e9717ceffa9e4debb3f</id>
<content type='text'>
Fix more include file problems that surfaced since I submitted the previous
fix-missing-includes.patch.  This should now allow not to include sched.h
from module.h, which is done by a followup patch.

Signed-off-by: Tim Schmielau &lt;tim@physik3.uni-rostock.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: fix pm patches with CONFIG_PM off part 2</title>
<updated>2005-10-28T23:47:52Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2005-10-24T06:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9a7834d06d553d02cc6e659e94772f69a8b5367f'/>
<id>urn:sha1:9a7834d06d553d02cc6e659e94772f69a8b5367f</id>
<content type='text'>
With CONFIG_PM=n:

drivers/built-in.o(.text+0x1098c): In function `hub_thread':
drivers/usb/core/hub.c:2673: undefined reference to `.dpm_runtime_resume'
drivers/built-in.o(.text+0x10998):drivers/usb/core/hub.c:2674: undefined reference to `.dpm_runtime_resume'

Please, never ever ever put extern decls into .c files.  Use the darn header
files :(

Cc: David Brownell &lt;david-b@pacbell.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] root hub changes (lesser half)</title>
<updated>2005-10-28T23:47:40Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2005-09-23T05:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=979d5199fee9e80290ddeb532e5993bd15506712'/>
<id>urn:sha1:979d5199fee9e80290ddeb532e5993bd15506712</id>
<content type='text'>
This patch collects various small updates related to root hubs, to shrink
later patches which build on them.

  - For root hub suspend/resume support:
     * Make the existing usb_hcd_resume_root_hub() routine respect pmcore
       locking, exporting and using the dpm_runtime_resume() method.
     * Add a new usb_hcd_suspend_root_hub() to pair with that routine.
       (Essential to make OHCI autosuspend behave again...)
     * HC_SUSPENDED by itself only refers to the root hub's downstream ports.
       So let HCDs see root hub URBs unless the parent device is suspended.

  - Remove an assertion we no longer need (and now, also don't want).

  - Generic suspend/resume updates to work better with swsusp.
     * Ignore the FREEZE vs SUSPEND distinction for hardware; trying to
       use it breaks the swsusp snapshots it's supposed to help (sigh).
     * On resume, mark devices as resumed right away, but then
       do nothing else if the device is marked NOTATTACHED.

These changes shouldn't be very noticable by themselves.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

 drivers/base/power/runtime.c |    1
 drivers/usb/core/hcd.c       |   64 ++++++++++++++++++++++++++++++++++++++-----
 drivers/usb/core/hcd.h       |    1
 drivers/usb/core/hub.c       |   45 ++++++++++++++++++++++++------
 drivers/usb/core/usb.c       |   20 +++++++++----
 drivers/usb/core/usb.h       |    1
 6 files changed, 111 insertions(+), 21 deletions(-)
</content>
</entry>
<entry>
<title>[PATCH] one less word in struct device</title>
<updated>2005-10-28T23:47:39Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2005-09-23T05:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00'/>
<id>urn:sha1:e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00</id>
<content type='text'>
This saves a word from "struct device" ... there's a refcounting mechanism
stub that's rather ineffective (the values are never even tested!), which
can safely be deleted.  With this patch it uses normal device refcounting,
so any potential users of the pm_parent mechanism will be more correct.
(That mechanism is actually unusable for now though; it does nothing.)

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

 drivers/base/power/main.c |   26 +++-----------------------
 include/linux/pm.h        |    1 -
 2 files changed, 3 insertions(+), 24 deletions(-)
</content>
</entry>
</feed>
