mbox

[GIT,PULL] Generic PCI host controller driver for 3.16

Message ID 20140527224051.GA13786@arm.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-bjorn/pci-host-generic

Message

Will Deacon May 27, 2014, 10:40 p.m. UTC
Hi Bjorn,

Please can you pull my generic PCI host controller driver for 3.16?

It's been doing the rounds on the lists for some time and things have
settled down now, despite a recent failed attempt at factoring out the
configuration space accessors.

Cheers,

Will

--->8

The following changes since commit d6d211db37e75de2ddc3a4f979038c40df7cc79c:

  Linux 3.15-rc5 (2014-05-09 13:10:52 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-bjorn/pci-host-generic

for you to fetch changes up to 97725ee5aef64b2056c10eabafc92ff89994733d:

  MAINTAINERS: add entry for generic PCI host controller driver (2014-05-27 23:18:09 +0100)

----------------------------------------------------------------
Will Deacon (2):
      PCI: ARM: add support for generic PCI host controller
      MAINTAINERS: add entry for generic PCI host controller driver

 .../devicetree/bindings/pci/host-generic-pci.txt   | 100 ++++++
 MAINTAINERS                                        |   8 +
 drivers/pci/host/Kconfig                           |   7 +
 drivers/pci/host/Makefile                          |   1 +
 drivers/pci/host/pci-host-generic.c                | 388 +++++++++++++++++++++
 5 files changed, 504 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pci/host-generic-pci.txt
 create mode 100644 drivers/pci/host/pci-host-generic.c

Comments

Bjorn Helgaas May 28, 2014, 8:59 p.m. UTC | #1
On Tue, May 27, 2014 at 11:40:51PM +0100, Will Deacon wrote:
> Hi Bjorn,
> 
> Please can you pull my generic PCI host controller driver for 3.16?
> 
> It's been doing the rounds on the lists for some time and things have
> settled down now, despite a recent failed attempt at factoring out the
> configuration space accessors.

Is this the same as patches 2 & 3 of your v7 series of May 23?

The only thing I see that is actually ARM-specific is the
pci_common_init_dev() call and struct hw_pci usage.  That makes sense at
this stage of development.  Maybe someday we'll be able to abstract this
enough to make it truly arch-agnostic.

Bjorn

> --->8
> 
> The following changes since commit d6d211db37e75de2ddc3a4f979038c40df7cc79c:
> 
>   Linux 3.15-rc5 (2014-05-09 13:10:52 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-bjorn/pci-host-generic
> 
> for you to fetch changes up to 97725ee5aef64b2056c10eabafc92ff89994733d:
> 
>   MAINTAINERS: add entry for generic PCI host controller driver (2014-05-27 23:18:09 +0100)
> 
> ----------------------------------------------------------------
> Will Deacon (2):
>       PCI: ARM: add support for generic PCI host controller
>       MAINTAINERS: add entry for generic PCI host controller driver
> 
>  .../devicetree/bindings/pci/host-generic-pci.txt   | 100 ++++++
>  MAINTAINERS                                        |   8 +
>  drivers/pci/host/Kconfig                           |   7 +
>  drivers/pci/host/Makefile                          |   1 +
>  drivers/pci/host/pci-host-generic.c                | 388 +++++++++++++++++++++
>  5 files changed, 504 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/pci/host-generic-pci.txt
>  create mode 100644 drivers/pci/host/pci-host-generic.c
Will Deacon May 29, 2014, 8:25 a.m. UTC | #2
On Wed, May 28, 2014 at 09:59:56PM +0100, Bjorn Helgaas wrote:
> On Tue, May 27, 2014 at 11:40:51PM +0100, Will Deacon wrote:
> > Please can you pull my generic PCI host controller driver for 3.16?
> > 
> > It's been doing the rounds on the lists for some time and things have
> > settled down now, despite a recent failed attempt at factoring out the
> > configuration space accessors.
> 
> Is this the same as patches 2 & 3 of your v7 series of May 23?

Yes, they're identical so you can just pick the two patches from there if
you prefer.

> The only thing I see that is actually ARM-specific is the
> pci_common_init_dev() call and struct hw_pci usage.  That makes sense at
> this stage of development.  Maybe someday we'll be able to abstract this
> enough to make it truly arch-agnostic.

Indeed. I'm hoping Liviu continues with his PCI work for arm64, then I can
port this driver over to that eventually.

Cheers,

Will
Bjorn Helgaas May 29, 2014, 10:13 p.m. UTC | #3
On Thu, May 29, 2014 at 2:25 AM, Will Deacon <will.deacon@arm.com> wrote:
> On Wed, May 28, 2014 at 09:59:56PM +0100, Bjorn Helgaas wrote:
>> On Tue, May 27, 2014 at 11:40:51PM +0100, Will Deacon wrote:
>> > Please can you pull my generic PCI host controller driver for 3.16?
>> >
>> > It's been doing the rounds on the lists for some time and things have
>> > settled down now, despite a recent failed attempt at factoring out the
>> > configuration space accessors.
>>
>> Is this the same as patches 2 & 3 of your v7 series of May 23?
>
> Yes, they're identical so you can just pick the two patches from there if
> you prefer.

Great, just wanted to make sure these had been on the list and that
you didn't need me to pick up patch 1 ("ARM: kconfig: allow PCI
support to be selected with ARCH_MULTIPLATFORM") or 4 ("PCI: Generic
Configuration Access Mechanism support").

I put this on my pci/host-generic branch for v3.16, thanks!

Bjorn