[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <EE11001F9E5DDD47B7634E2F8A612F2E1F7D72BF@lhreml507-mbx>
Date: Tue, 12 Jul 2016 10:21:30 +0000
From: Gabriele Paoloni <gabriele.paoloni@...wei.com>
To: Arnd Bergmann <arnd@...db.de>,
"liudongdong (C)" <liudongdong3@...wei.com>
CC: "helgaas@...nel.org" <helgaas@...nel.org>,
"rafael@...nel.org" <rafael@...nel.org>,
"Lorenzo.Pieralisi@....com" <Lorenzo.Pieralisi@....com>,
"tn@...ihalf.com" <tn@...ihalf.com>,
"Wangzhou (B)" <wangzhou1@...ilicon.com>,
"pratyush.anand@...il.com" <pratyush.anand@...il.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"jcm@...hat.com" <jcm@...hat.com>,
"Chenxin (Charles)" <charles.chenxin@...wei.com>,
Linuxarm <linuxarm@...wei.com>
Subject: RE: [RFC PATCH 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon
SoCs Host Controllers
> -----Original Message-----
> From: Arnd Bergmann [mailto:arnd@...db.de]
> Sent: 12 July 2016 16:35
> To: liudongdong (C)
> Cc: helgaas@...nel.org; rafael@...nel.org; Lorenzo.Pieralisi@....com;
> tn@...ihalf.com; Wangzhou (B); pratyush.anand@...il.com; linux-
> pci@...r.kernel.org; linux-acpi@...r.kernel.org; linux-
> kernel@...r.kernel.org; jcm@...hat.com; Gabriele Paoloni; Chenxin
> (Charles); Linuxarm
> Subject: Re: [RFC PATCH 3/3] PCI/ACPI: hisi: Add ACPI support for
> HiSilicon SoCs Host Controllers
>
> 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/
Hi Arnd, thanks for replying.
Basically we just followed what Tomasz has done in
"[RFC PATCH v4 0/5] ECAM quirks handling for ARM64 platforms"
In this case the ThunderX quirks have been defined in
"drivers/pci/host/pci-thunder-pem.c".
Cheers
Gab
>
> Arnd
Powered by blists - more mailing lists