Re: [PATCH 0/5][RFC] Physical PCI slot objects

From: Matthew Garrett
Date: Wed Nov 14 2007 - 13:07:58 EST


On Wed, Nov 14, 2007 at 09:51:51AM -0800, Greg KH wrote:
> On Wed, Nov 14, 2007 at 05:44:01PM +0000, Matthew Garrett wrote:
> > Dumping raw ACPI tables isn't adequate - _SUN might be a complex ACPI
> > method with multiple reads and writes to raw hardware, and we really
> > don't want to do that in userspace. The only way to do this reliably is
> > in the kernel.
>
> But it really isn't, as the firmware kit has proven...

The firmware toolkit will only work if the _SUN method merely returns a
hardcoded value. The spec doesn't require that that be the case, and
it's easy to imagine situations where it won't.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
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/