<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base, branch v2.6.12</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.12</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.12'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2005-05-23T23:08:12Z</updated>
<entry>
<title>[PATCH] driver core: restore event order for device_add()</title>
<updated>2005-05-23T23:08:12Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2005-05-23T22:50:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=187a1a94d629621d1471b42308e63573b1150773'/>
<id>urn:sha1:187a1a94d629621d1471b42308e63573b1150773</id>
<content type='text'>
As a result of the split of the kobject-registration and the
corresponding hotplug event, the order of events for device_add() has
changed. This restores the old order, cause it confused some userspace
applications.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Driver Core: remove driver model detach_state</title>
<updated>2005-05-17T21:54:55Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2005-05-12T19:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0b405a0f7e4d4d18fd1fe46ddf5ff465443036ab'/>
<id>urn:sha1:0b405a0f7e4d4d18fd1fe46ddf5ff465443036ab</id>
<content type='text'>
The driver model has a "detach_state" mechanism that:

 - Has never been used by any in-kernel drive;
 - Is superfluous, since driver remove() methods can do the same thing;
 - Became buggy when the suspend() parameter changed semantics and type;
 - Could self-deadlock when called from certain suspend contexts;
 - Is effectively wasted documentation, object code, and headspace.

This removes that "detach_state" mechanism; net code shrink, as well
as a per-device saving in the driver model and sysfs.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Driver Core: pm diagnostics update, check for errors</title>
<updated>2005-05-17T21:54:54Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2005-05-09T15:07:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=82428b62aa6294ea640c7e920a9224ecaf46db65'/>
<id>urn:sha1:82428b62aa6294ea640c7e920a9224ecaf46db65</id>
<content type='text'>
This patch includes various tweaks in the messaging that appears during
system pm state transitions:

  * Warn about certain illegal calls in the device tree, like resuming
    child before parent or suspending parent before child.  This could
    happen easily enough through sysfs, or in some cases when drivers
    use device_pm_set_parent().

  * Be more consistent about dev_dbg() tracing ... do it for resume() and
    shutdown() too, and never if the driver doesn't have that method.

  * Say which type of system sleep state is being entered.

Except for the warnings, these only affect debug messaging.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Acked-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] drivers/base/bus.c: fix iteration in driver_detach()</title>
<updated>2005-05-05T06:44:38Z</updated>
<author>
<name>Roman Kagan</name>
<email>rkagan@mail.ru</email>
</author>
<published>2005-04-13T17:40:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f'/>
<id>urn:sha1:b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f</id>
<content type='text'>
With 2.6.11 and 2.6.12-rc2 (and perhaps a few versions before) usb
drivers for multi-interface devices, which do
usb_driver_release_interface() in their disconnect(), make rmmod hang.

It turns out to be due to a bug in drivers/base/bus.c:driver_detach(),
that iterates over the list of attached devices with
list_for_each_safe() under an assumption that device_release_driver()
only releases the current device, while it may also call
device_release_driver() for other devices on the same list.

The following patch fixes it.  Please consider applying.

Signed-off-by: Roman Kagan &lt;rkagan@mail.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Hotplug: Make dev-&gt;bus checking consistent</title>
<updated>2005-05-05T06:44:37Z</updated>
<author>
<name>Alexander Nyberg</name>
<email>alexn@dsv.su.se</email>
</author>
<published>2005-02-26T12:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=177a4324944478f2799ce4ede2797cb0f602f274'/>
<id>urn:sha1:177a4324944478f2799ce4ede2797cb0f602f274</id>
<content type='text'>
Earlier in the same function dev-&gt;bus is checked before dereferenced,
make consistent although I honestly don't know if dev-&gt;bus could
ever be NULL

Found by the Coverity tool

Signed-off-by: Alexander Nyberg &lt;alexn@dsv.su.se&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] DocBook: fix some descriptions</title>
<updated>2005-05-01T15:59:26Z</updated>
<author>
<name>Martin Waitz</name>
<email>tali@admingilde.org</email>
</author>
<published>2005-05-01T15:59:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=67be2dd1bace0ec7ce2dbc1bba3f8df3d7be597e'/>
<id>urn:sha1:67be2dd1bace0ec7ce2dbc1bba3f8df3d7be597e</id>
<content type='text'>
Some KernelDoc descriptions are updated to match the current code.
No code changes.

Signed-off-by: Martin Waitz &lt;tali@admingilde.org&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] kobject/hotplug split - devices core</title>
<updated>2005-04-19T04:57:36Z</updated>
<author>
<name>kay.sievers@vrfy.org</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2005-04-19T04:57:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e57cd73e2e844a3da25cc6b420674c81bbe1b387'/>
<id>urn:sha1:e57cd73e2e844a3da25cc6b420674c81bbe1b387</id>
<content type='text'>
kobject_add() and kobject_del() don't emit hotplug events anymore. Do it
ourselves if we are finished populating the device directory.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>[PATCH] kobject/hotplug split - class core</title>
<updated>2005-04-19T04:57:35Z</updated>
<author>
<name>kay.sievers@vrfy.org</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2005-04-19T04:57:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0700f56bbca56bc930aab717bc5086336991441f'/>
<id>urn:sha1:0700f56bbca56bc930aab717bc5086336991441f</id>
<content type='text'>
kobject_add() and kobject_del() don't emit hotplug events anymore. Do it
ourselves if we are finished populating the device directory.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>[PATCH] export platform_add_devices</title>
<updated>2005-04-19T04:57:32Z</updated>
<author>
<name>Robert Schwebel</name>
<email>r.schwebel@pengutronix.de</email>
</author>
<published>2005-04-19T04:57:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=46ea0d6c26de431a39c744f7ad63b30bfc800c1e'/>
<id>urn:sha1:46ea0d6c26de431a39c744f7ad63b30bfc800c1e</id>
<content type='text'>
platform_add_devices can be used from within modules, so it should be
exported.  This can for example happen if you have hotpluggable firmware in
an FPGA on a system on chip processor; in our case the FPGA is probed for
devices and the FPGA base code registers the devices it has found with the
kernel.  

(akpm: I think this is reasonable from a licensing POV: it's unlikely that
anyone would be interested in merging such specialised modules into mainline,
and it's a GPL export).

Signed-off-by: Robert Schwebel &lt;r.schwebel@pengutronix.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] add TIMEOUT to firmware_class hotplug event</title>
<updated>2005-04-19T04:57:31Z</updated>
<author>
<name>kay.sievers@vrfy.org</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2005-04-19T04:57:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6897089c5f7989603ccb9c696050470ba1dbd262'/>
<id>urn:sha1:6897089c5f7989603ccb9c696050470ba1dbd262</id>
<content type='text'>
On Tue, 2005-03-15 at 09:25 +0100, Hannes Reinecke wrote:
&gt; The current implementation of the firmware class breaks a fundamental
&gt; assumption in udevd: that the physical device can be initialised fully
&gt; prior to executing the next event for that device.

Here we add a TIMEOUT value to the hotplug environment of the firmware
requesting event. I will adapt udevd not to wait for anything else, if
it finds a TIMEOUT key.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
</feed>
