[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <EE11001F9E5DDD47B7634E2F8A612F2E1ED2A787@lhreml503-mbs>
Date: Wed, 23 Mar 2016 10:22:45 +0000
From: Gabriele Paoloni <gabriele.paoloni@...wei.com>
To: Jayachandran C <jchandra@...adcom.com>,
Bjorn Helgaas <helgaas@...nel.org>,
Tomasz Nowicki <tn@...ihalf.com>,
"rafael@...nel.org" <rafael@...nel.org>
CC: Arnd Bergmann <arnd@...db.de>, Will Deacon <will.deacon@....com>,
"Catalin Marinas" <catalin.marinas@....com>,
Hanjun Guo <hanjun.guo@...aro.org>,
Lorenzo Pieralisi <Lorenzo.Pieralisi@....com>,
"okaya@...eaurora.org" <okaya@...eaurora.org>,
"jiang.liu@...ux.intel.com" <jiang.liu@...ux.intel.com>,
Stefano Stabellini <Stefano.Stabellini@...citrix.com>,
"robert.richter@...iumnetworks.com"
<robert.richter@...iumnetworks.com>,
Marcin Wojtas <mw@...ihalf.com>,
"Liviu.Dudau@....com" <Liviu.Dudau@....com>,
David Daney <ddaney@...iumnetworks.com>,
Wangyijing <wangyijing@...wei.com>,
"Suravee.Suthikulpanit@....com" <Suravee.Suthikulpanit@....com>,
"msalter@...hat.com" <msalter@...hat.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linaro-acpi@...ts.linaro.org" <linaro-acpi@...ts.linaro.org>,
Jon Masters <jcm@...hat.com>
Subject: RE: [RFC PATCH 0/4] ACPI based PCI host driver with generic ECAM
Hi Jayachandran
> -----Original Message-----
> From: linux-kernel-owner@...r.kernel.org [mailto:linux-kernel-
> owner@...r.kernel.org] On Behalf Of Jayachandran C
> Sent: 18 March 2016 17:48
> To: Bjorn Helgaas; Tomasz Nowicki; rafael@...nel.org
> Cc: Jayachandran C; Arnd Bergmann; Will Deacon; Catalin Marinas; Hanjun
> Guo; Lorenzo Pieralisi; okaya@...eaurora.org;
> jiang.liu@...ux.intel.com; Stefano Stabellini;
> robert.richter@...iumnetworks.com; Marcin Wojtas; Liviu.Dudau@....com;
> David Daney; Wangyijing; Suravee.Suthikulpanit@....com;
> msalter@...hat.com; linux-pci@...r.kernel.org; linux-arm-
> kernel@...ts.infradead.org; linux-acpi@...r.kernel.org; linux-
> kernel@...r.kernel.org; linaro-acpi@...ts.linaro.org; Jon Masters
> Subject: Re: [RFC PATCH 0/4] ACPI based PCI host driver with generic
> ECAM
>
> On Fri, Mar 18, 2016 at 1:48 AM, Jayachandran C <jchandra@...adcom.com>
> wrote:
> > Hi Bjorn,
> >
> > Here is a new patchset for the ACPI PCI controller driver based on
> the
> > earlier discussion[1].
> >
> > The first two patches in the patchset implements pci/ecam.c for
> generic
> > config space access and uses it in pci-host-generic.c and related
> files.
> >
> > The third patch implements the ACPI PCI host driver using the same
> ecam
> > access functions. The fourth patch adds the implementation of raw
> > operations.
> >
> > I have not used the pci_mmcfg_list or the region definitions from
> x86,
> > but have used a much simpler approach here.
> >
> > This should apply cleanly on top of the current pci next tree, and
> > can be reviewed as a patchset. To use it on ARM64, we need to pull
> > in about 7 patches more from Tomasz patchset that fixes various
> > issues (like stub code in arm64 pci.c, ACPI companion setup,
> > domain number assignment, IO resources fixup etc.).
> >
> > If you are okay with this approach, I will work with Tomasz and
> > post the full patchset.
> >
> > This has been tested on qemu with OVMF for the ACPI part and with
> > device tree for pci-host-generic code.
>
> The full patchset is available at https://github.com/jchandra-
> brcm/linux.git on
> branch arm64-acpi-pci, if anyone wants to try it.
I had a look at your patchset and also in your git repo at the other
patches that you ported over from Tomasz; it seems that now we miss
a quirk mechanism to enable controller that are not fully ECAM.
This was provided before by Tomasz in:
https://lkml.org/lkml/2016/2/16/410
I think we should put something like that back in...
Thanks
Gab
>
> Comments, suggestions and testing would be welcome.
>
> Thanks,
> JC.
Powered by blists - more mailing lists