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

Matthew Garrett
2007-11-14T18:07:47Z

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@srcf.ucam.org