Re: [RFC PATCH 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers
From: Arnd Bergmann
Date: Tue Jul 12 2016 - 04:32:30 EST
On Tuesday, July 12, 2016 10:42:24 AM CEST Dongdong Liu wrote:
> MAINTAINERS | 1 +
> drivers/pci/host/Kconfig | 7 ++
> drivers/pci/host/Makefile | 1 +
> drivers/pci/host/mcfg-quirks.c | 8 ++
> drivers/pci/host/mcfg-quirks.h | 8 ++
> drivers/pci/host/pcie-hisi-acpi.c | 151 ++++++++++++++++++++++++++++++++++++++
> drivers/pci/host/pcie-hisi.c | 2 -
> drivers/pci/host/pcie-hisi.h | 2 +
> 8 files changed, 178 insertions(+), 2 deletions(-)
> create mode 100644 drivers/pci/host/pcie-hisi-acpi.c
>
>
Please keep the quirks separate from the PCI host drivers.
The ACPI code includes its own host driver and the only thing
you need to override here is the config space access, so just put that
into drivers/acpi/
Arnd