Re: [PATCH v1 1/5] PCI: PM: x86: Drop Intel MID PCI PM support

From: Andy Shevchenko
Date: Tue Sep 21 2021 - 08:17:16 EST


On Mon, Sep 20, 2021 at 1:57 PM Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
> On Sun, Sep 19, 2021 at 10:32 PM Andy Shevchenko
> <andy.shevchenko@xxxxxxxxx> wrote:
> > On Sun, Sep 19, 2021 at 9:01 AM Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:

...

> > > I am going to post patches removing the rest of MID support from arch/x86/
> > > and elsewhere, but that is still quite a bit of stuff and I don't want this
> > > simple PCI PM series to depend on that work.
> >
> > This is still being used by MID with ACPI assisted (*) support.
> > Hence, not ack.
> >
> > *) ACPI layer is provided by U-Boot and can't fulfill all possible
> > features that ACPI may use in the Linux kernel.
>
> OK, good to know.
>
> I'm not sure how this PCI PM stuff works with ACPI.

It doesn't that is the point. The PCI is very interesting there and
what I meant is that the ACPI implementation I have provided via
U-Boot does not cover these. If you have any hints/ideas how it may be
handled, I am all ears!

> It looks like
> this relies on a specific ordering of arch_initcall() calls for
> correctness which is sort of fragile.

--
With Best Regards,
Andy Shevchenko