Re: [PATCH 0/3] PCI: move DT PCI functions to PCI core

2018-01-19 Thread Michael Ellerman
Bjorn Helgaas  writes:

> On Thu, Jan 04, 2018 at 03:12:12PM -0600, Rob Herring wrote:
>> Most subsystem specific functions have been moved into the respective
>> subsystems. Only PCI and networking remain. This series moves most of the
>> PCI related code to drivers/pci/of.c. Some bus address functions for PCI
>> remain in of/address.c because we don't have infrastructure to split up
>> the per bus helper functions.
>> 
>> I expect Bjorn to take this series, so PPC maintainers please ack.
>> 
>> Rob
>> 
>> Rob Herring (3):
>>   PCI: move OF related PCI functions into PCI core
>>   powerpc/pci: use of_irq_parse_and_map_pci helper
>>   PCI: make of_irq_parse_pci static
>> 
>>  arch/arm/mach-mvebu/Kconfig  |   1 -
>>  arch/powerpc/kernel/pci-common.c |   8 +-
>>  drivers/of/Kconfig   |  16 --
>>  drivers/of/Makefile  |   2 -
>>  drivers/of/address.c |   8 +-
>>  drivers/of/of_pci.c  | 384 -
>>  drivers/of/of_pci_irq.c  | 131 --
>>  drivers/pci/of.c | 505 
>> +++
>>  include/linux/of_pci.h   |   8 +-
>>  9 files changed, 510 insertions(+), 553 deletions(-)
>>  delete mode 100644 drivers/of/of_pci.c
>>  delete mode 100644 drivers/of/of_pci_irq.c
>
> Applied to pci/dt-resources for v4.16, thanks!
>
> I'll update this if necessary if PPC maintainers comment.

Thanks. Seems fine, fingers crossed :)

cheers


Re: [PATCH 0/3] PCI: move DT PCI functions to PCI core

2018-01-17 Thread Bjorn Helgaas
On Thu, Jan 04, 2018 at 03:12:12PM -0600, Rob Herring wrote:
> Most subsystem specific functions have been moved into the respective
> subsystems. Only PCI and networking remain. This series moves most of the
> PCI related code to drivers/pci/of.c. Some bus address functions for PCI
> remain in of/address.c because we don't have infrastructure to split up
> the per bus helper functions.
> 
> I expect Bjorn to take this series, so PPC maintainers please ack.
> 
> Rob
> 
> Rob Herring (3):
>   PCI: move OF related PCI functions into PCI core
>   powerpc/pci: use of_irq_parse_and_map_pci helper
>   PCI: make of_irq_parse_pci static
> 
>  arch/arm/mach-mvebu/Kconfig  |   1 -
>  arch/powerpc/kernel/pci-common.c |   8 +-
>  drivers/of/Kconfig   |  16 --
>  drivers/of/Makefile  |   2 -
>  drivers/of/address.c |   8 +-
>  drivers/of/of_pci.c  | 384 -
>  drivers/of/of_pci_irq.c  | 131 --
>  drivers/pci/of.c | 505 
> +++
>  include/linux/of_pci.h   |   8 +-
>  9 files changed, 510 insertions(+), 553 deletions(-)
>  delete mode 100644 drivers/of/of_pci.c
>  delete mode 100644 drivers/of/of_pci_irq.c

Applied to pci/dt-resources for v4.16, thanks!

I'll update this if necessary if PPC maintainers comment.


Re: [PATCH 0/3] PCI: move DT PCI functions to PCI core

2018-01-17 Thread Bjorn Helgaas
On Thu, Jan 04, 2018 at 03:12:12PM -0600, Rob Herring wrote:
> Most subsystem specific functions have been moved into the respective
> subsystems. Only PCI and networking remain. This series moves most of the
> PCI related code to drivers/pci/of.c. Some bus address functions for PCI
> remain in of/address.c because we don't have infrastructure to split up
> the per bus helper functions.
> 
> I expect Bjorn to take this series, so PPC maintainers please ack.

I plan to merge this for v4.16, so PPC maintainers, this is your
chance to speak up :)

> Rob Herring (3):
>   PCI: move OF related PCI functions into PCI core
>   powerpc/pci: use of_irq_parse_and_map_pci helper
>   PCI: make of_irq_parse_pci static
> 
>  arch/arm/mach-mvebu/Kconfig  |   1 -
>  arch/powerpc/kernel/pci-common.c |   8 +-
>  drivers/of/Kconfig   |  16 --
>  drivers/of/Makefile  |   2 -
>  drivers/of/address.c |   8 +-
>  drivers/of/of_pci.c  | 384 -
>  drivers/of/of_pci_irq.c  | 131 --
>  drivers/pci/of.c | 505 
> +++
>  include/linux/of_pci.h   |   8 +-
>  9 files changed, 510 insertions(+), 553 deletions(-)
>  delete mode 100644 drivers/of/of_pci.c
>  delete mode 100644 drivers/of/of_pci_irq.c
> 
> --
> 2.14.1