Re: [PATCH V6 09/11] ACPI: introduce flag .is_master_device

From: Mika Westerberg
Date: Thu May 22 2014 - 04:08:43 EST


On Wed, May 21, 2014 at 11:09:42PM +0800, Zhang Rui wrote:
> On ä, 2014-05-21 at 13:10 +0200, Rafael J. Wysocki wrote:
> > On Wednesday, May 21, 2014 11:52:07 AM Mika Westerberg wrote:
> > > On Thu, May 15, 2014 at 02:44:14PM +0800, Zhang Rui wrote:
> > > > For some ACPI device objects, they represent master devices,
> > > > and their children devices are enumerated by bus controller drivers
> > > > for the buses they are on.
> > > >
> > > > In this case, we do not want to enumerate their children devices to
> > > > platform bus explicitly in acpi scan code.
> > > >
> > > > Thus a new flag .is_master_device is introduced in this patch.
> > > >
> > > > For devices with this flag set, we will not do default enumeration
> > > > for their children.
> > >
> > > Is there any particular reason we would like to enumerate everything
> > > below the first device by default?
> >
> > Yes, there is. Device objects without _ADR under the PCI host bridge.
> >
> I'm confused. Mika, what do you mean by saying "first device"?

I mean the first level devices right below the host bridge, such as
\_SB.PCI0.* but not \_SB.PCI0.*.FOO.
--
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/