Re: [RFC PATCH 0/4] Add ACPI support for HiSilicon PCIe Host Controllers

From: Arnd Bergmann
Date: Thu Feb 04 2016 - 08:13:34 EST


On Thursday 04 February 2016 19:37:36 Gabriele Paoloni wrote:
> From: gabriele paoloni <gabriele.paoloni@xxxxxxxxxx>
>
> This patchset adds ACPI support for the HiSilicon Hip05/Hip06 SoC PCIe controllers
> The four patches respectively:
> - rework PCie Designware to be used for ACPI PCI Host controllers
> - re-architect the current HiSilicon driver to make it scalable to the
> new ACPI quirks
> - rework the current HiSilicon driver to make it ECAM compliant
> - adds the HiSilicon ACPI specific quirks.
>
> This patchset is based on
> https://github.com/semihalf-nowicki-tomasz/linux.git
> branch pci-acpi-v3 + Hip06 support applied on top:
> https://patchwork.ozlabs.org/patch/549198/
>

ACPI has its own PCI support, and should not need drivers for host
bridges. I don't think we can really mix the two things, as ACPI
needs to have access to things like PCI config space way before
we are probing normal device drivers.

Please put this in drivers/acpi/pci*.c.

Arnd