Re: [PATCH 0/3] PNP: Allow PNP resources to be disabled (interface)

From: Bjorn Helgaas
Date: Tue Mar 27 2012 - 16:57:27 EST

On Tue, Mar 20, 2012 at 12:49 PM, Witold Szczeponik
<Witold.Szczeponik@xxxxxxx> wrote:
> Hello everybody,
> this simple patch series continues the work begun in commit
> 18fd470a48396c8795ba7256c5973e92ffa25cb3 where ACPI PNP resource templates
> with empty/disabled resources are handled.
> The aim of this patch series is to allow to set resources as "disabled" using
> the "/sys/bus/pnp/devices/*/resources" interface.  Such "disabled" resources
> are needed by some vintage IBM ThinkPads like the 600E where some resources
> need to have their IRQs disabled in order to support all the devices the 600E
> has.

If I understand this correctly, even with this patches, you still have
to manually muck around with "/sys/bus/pnp/devices/*/resources" to get
these ThinkPads to work? If that's the case, there must be more PNP
work we could do to make them Just Work. And that's fine; I'm just
trying to understand the current situation better. Is there a
bugzilla or other URL with more details?

> To this end, some preparatory work is done, simplifying the code and allowing
> for more flexibility in the definition of these resources.
> Here's a brief description of these patches.
> [1/3] - Factor out common some code
> [2/3] - Perform the actual setting
> [3/3] - Generalize handling of resource flags
> The patches are applied against Linux 3.3.x.
> Comments are, as always, welcome.  :-)
> --- Witold
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at