Re: [PATCH 3/4] ACPI: Check for any matching CID when walkingnamespace.

From: Andrew Patterson
Date: Wed Jan 23 2008 - 14:36:07 EST


On Wed, 2008-01-23 at 09:42 -0800, Greg KH wrote:
> On Tue, Jan 22, 2008 at 05:18:22PM -0700, Andrew Patterson wrote:
> > From: Andrew Patterson <andrew.patterson@xxxxxx>
> >
> > The callback function acpi_ns_get_device_callback called from
> > acpi_get_devices() will check CID's if the HID does not match. This code
> > has a bug where it requires that all CIDs match the HID. Changed the code
> > so that any CID match will do.
> >
> > Signed-off-by: Andrew Patterson <andrew.patterson@xxxxxx>
> > ---
> >
> > drivers/acpi/namespace/nsxfeval.c | 11 ++++++++---
> > 1 files changed, 8 insertions(+), 3 deletions(-)
>
> This should probably go through the ACPI tree, not the PCI tree, right?
>

Yes, but it is needed to get PCIe AER working (at least on the systems
that I have seen). I suspect we will have the same issue with PCIe
hotplug. Len Brown is looking at it.

> thanks,
>
> greg k-h


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/