Skip to contentSkip to conversation

+ pnp-mpu401-adjust-pnp_register_driver-signature.patch added to -mm tree

DISCUSSION Eric W. Biederman 3 participants 4 messages Mar 3, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 12 lines · [email protected] writes:

The patch titled

pnp: mpu401: adjust pnp_register_driver signature

has been added to the -mm tree. Its filename is

pnp-mpu401-adjust-pnp_register_driver-signature.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this

Quoted 6 lines

From: Bjorn Helgaas <[email protected]>

This series of patches removes the assumption that pnp_register_driver() returns the number of devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future. (Many devices don't support hot-plug, of course, but PNP in general does.)

Huh?

How do onboard devices or ISA plug and play devices support hot-plug?

Or what devices supported by the pnp subsystem support hot-plug?

This may be a reasonable cleanup, but I'm worried about justifying it with supporting hardware that does not exist.

Eric

#2 lore raw
Quoted 7 lines
Quoted 6 lines

This series of patches removes the assumption that pnp_register_driver() returns the number of devices claimed. Returning the count is unreliable
because devices may be hot-plugged in the future. (Many devices don't support
hot-plug, of course, but PNP in general does.)

Quoted 5 lines

Huh?

How do onboard devices or ISA plug and play devices support hot-plug?

Or what devices supported by the pnp subsystem support hot-plug?

I don't know for sure whether ISAPNP or PNPBIOS support hot-plug, but ACPI does, and ACPI devices are being integrated into the PNP subsystem via PNPACPI.

One example is HP sx2000 hardware that supports hot-plug of cells. Each cell contains CPUs, memory, I/O bridges, and some miscellaneous hardware like on-board serial devices. All this stuff is described by ACPI, and we'd like to use PNP drivers like 8250_pnp.c when we can.

#3 lore raw
Quoted 13 lines · Bjorn Helgaas
Quoted 7 lines
Quoted 6 lines

This series of patches removes the assumption that pnp_register_driver() returns the number of devices claimed. Returning the count is unreliable
because devices may be hot-plugged in the future. (Many devices don't support
hot-plug, of course, but PNP in general does.)

Quoted 5 lines

Huh?

How do onboard devices or ISA plug and play devices support hot-plug?

Or what devices supported by the pnp subsystem support hot-plug?

Quoted 8 lines

I don't know for sure whether ISAPNP or PNPBIOS support hot-plug, but ACPI does, and ACPI devices are being integrated into the PNP subsystem via PNPACPI.

One example is HP sx2000 hardware that supports hot-plug of cells. Each cell contains CPUs, memory, I/O bridges, and some miscellaneous hardware like on-board serial devices. All this stuff is described by ACPI, and we'd like to use PNP drivers like 8250_pnp.c when we can.

Ok, hot plug of motherboards. The pieces fall together now for me.

Most things controlled by isapnp are either cold plug or not even pluggable (like most serial ports). So imaging them in a hot-plug situation takes some effort. But node/cell based NUMA systems where you plug and unplug motherboards. That make sense.

Eric

#4 lore raw
In reply to Eric W. Biederman

Hi,

Le Thu, 02 Mar 2006 17:55:47 -0700, Eric W. Biederman a écrit :

Quoted 4 lines

Huh?

How do onboard devices or ISA plug and play devices support hot-plug?

Imagine a laptop that can dock on a base station. The laptop doesn't have midi, the base station have it.

Quoted 2 lines

Or what devices supported by the pnp subsystem support hot-plug?

For pnpacpi yes (maybe some code is still need).
For pnpbios there something for dock event IIRC.

Matthieu