Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-19 Thread Liviu Dudau
On Tue, Aug 19, 2014 at 09:44:01AM +0800, Wei Yang wrote: On Mon, Aug 18, 2014 at 03:25:50PM +0100, Catalin Marinas wrote: ... Well, it will become necessary as old code gets dismantled and converted towards this patchset. To give you an example that I'm familiar with, for arch/arm the

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-19 Thread Arnd Bergmann
On Tuesday 19 August 2014, Catalin Marinas wrote: On Mon, Aug 18, 2014 at 10:30:54PM +0100, Liviu Dudau wrote: At this point I would like to hear more from people doing the conversion of the drivers. I cannot answer fully for all arm or arm64 drivers. As I read the description of

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-18 Thread Catalin Marinas
On Fri, Aug 15, 2014 at 11:30:52AM +0100, Liviu Dudau wrote: On Fri, Aug 15, 2014 at 09:56:32AM +0100, Wei Yang wrote: On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang wrote: On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-18 Thread Liviu Dudau
On Mon, Aug 18, 2014 at 09:44:04AM +0800, Wei Yang wrote: On Fri, Aug 15, 2014 at 11:30:52AM +0100, Liviu Dudau wrote: On Fri, Aug 15, 2014 at 09:56:32AM +0100, Wei Yang wrote: On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-18 Thread Liviu Dudau
On Mon, Aug 18, 2014 at 03:25:50PM +0100, Catalin Marinas wrote: On Fri, Aug 15, 2014 at 11:30:52AM +0100, Liviu Dudau wrote: On Fri, Aug 15, 2014 at 09:56:32AM +0100, Wei Yang wrote: On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100,

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-18 Thread Catalin Marinas
On Mon, Aug 18, 2014 at 10:30:54PM +0100, Liviu Dudau wrote: On Mon, Aug 18, 2014 at 03:25:50PM +0100, Catalin Marinas wrote: On Fri, Aug 15, 2014 at 11:30:52AM +0100, Liviu Dudau wrote: On Fri, Aug 15, 2014 at 09:56:32AM +0100, Wei Yang wrote: On Thu, Aug 14, 2014 at 04:49:59PM +0100,

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-18 Thread Wei Yang
On Mon, Aug 18, 2014 at 03:25:50PM +0100, Catalin Marinas wrote: ... Well, it will become necessary as old code gets dismantled and converted towards this patchset. To give you an example that I'm familiar with, for arch/arm the host bridge drivers have moved into drivers/pci/host, but they

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-17 Thread Wei Yang
On Fri, Aug 15, 2014 at 11:30:52AM +0100, Liviu Dudau wrote: On Fri, Aug 15, 2014 at 09:56:32AM +0100, Wei Yang wrote: On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang wrote: On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu Dudau

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-15 Thread Wei Yang
On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang wrote: On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu Dudau wrote: Enhance the default implementation of pcibios_add_device() to parse and map the IRQ of the device if a DT binding

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-15 Thread Liviu Dudau
On Fri, Aug 15, 2014 at 09:56:32AM +0100, Wei Yang wrote: On Thu, Aug 14, 2014 at 04:49:59PM +0100, Liviu Dudau wrote: On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang wrote: On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu Dudau wrote: Enhance the default implementation of

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-14 Thread Wei Yang
On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu Dudau wrote: Enhance the default implementation of pcibios_add_device() to parse and map the IRQ of the device if a DT binding is available. Cc: Bjorn Helgaas bhelg...@google.com Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring

Re: [PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-14 Thread Liviu Dudau
On Thu, Aug 14, 2014 at 03:58:04PM +0100, Wei Yang wrote: On Tue, Aug 12, 2014 at 05:25:15PM +0100, Liviu Dudau wrote: Enhance the default implementation of pcibios_add_device() to parse and map the IRQ of the device if a DT binding is available. Cc: Bjorn Helgaas bhelg...@google.com Cc:

[PATCH v9 02/12] PCI: OF: Parse and map the IRQ when adding the PCI device.

2014-08-12 Thread Liviu Dudau
Enhance the default implementation of pcibios_add_device() to parse and map the IRQ of the device if a DT binding is available. Cc: Bjorn Helgaas bhelg...@google.com Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Signed-off-by: Liviu Dudau liviu.du...@arm.com ---