Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-20 Thread Yijing Wang
On 2014/11/21 0:39, Liviu Dudau wrote: > On Thu, Nov 20, 2014 at 01:53:48PM +0100, Tomasz Nowicki wrote: >> On 20.11.2014 13:08, Liviu Dudau wrote: >>> On Thu, Nov 20, 2014 at 12:54:48PM +0100, Tomasz Nowicki wrote: On 17.11.2014 15:13, Arnd Bergmann wrote: > On Monday 17 November 2014 18:

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-20 Thread Liviu Dudau
On Thu, Nov 20, 2014 at 01:53:48PM +0100, Tomasz Nowicki wrote: > On 20.11.2014 13:08, Liviu Dudau wrote: > >On Thu, Nov 20, 2014 at 12:54:48PM +0100, Tomasz Nowicki wrote: > >>On 17.11.2014 15:13, Arnd Bergmann wrote: > >>>On Monday 17 November 2014 18:21:34 Yijing Wang wrote: > This series is

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-20 Thread Arnd Bergmann
On Thursday 20 November 2014 13:01:08 Tomasz Nowicki wrote: > On 18.11.2014 13:27, Arnd Bergmann wrote: > > On Tuesday 18 November 2014 20:17:57 Yijing Wang wrote: > >> > > I hope platforms with ACPI or DT could both use pci_create_host_bridge(). > Why we need to use two different wa

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-20 Thread Tomasz Nowicki
On 20.11.2014 13:08, Liviu Dudau wrote: On Thu, Nov 20, 2014 at 12:54:48PM +0100, Tomasz Nowicki wrote: On 17.11.2014 15:13, Arnd Bergmann wrote: On Monday 17 November 2014 18:21:34 Yijing Wang wrote: This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's arm PCI domain cleanup patches, l

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-20 Thread Liviu Dudau
On Thu, Nov 20, 2014 at 12:54:48PM +0100, Tomasz Nowicki wrote: > On 17.11.2014 15:13, Arnd Bergmann wrote: > >On Monday 17 November 2014 18:21:34 Yijing Wang wrote: > >>This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's > >>arm PCI domain cleanup patches, link: > >>https://patchwork.ozlab

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-20 Thread Tomasz Nowicki
On 18.11.2014 13:27, Arnd Bergmann wrote: On Tuesday 18 November 2014 20:17:57 Yijing Wang wrote: I hope platforms with ACPI or DT could both use pci_create_host_bridge(). Why we need to use two different ways to process it ? These are completely different use cases: a) For DT, we want loa

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-20 Thread Tomasz Nowicki
On 17.11.2014 15:13, Arnd Bergmann wrote: On Monday 17 November 2014 18:21:34 Yijing Wang wrote: This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's arm PCI domain cleanup patches, link: https://patchwork.ozlabs.org/patch/407585/ Current pci scan interfaces like pci_scan_root_bus() and

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-18 Thread Arnd Bergmann
On Tuesday 18 November 2014 20:17:57 Yijing Wang wrote: > > >> > >> I hope platforms with ACPI or DT could both use pci_create_host_bridge(). > >> Why we need to use two different ways to process it ? > > > > These are completely different use cases: > > > > a) For DT, we want loadable device dr

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-18 Thread Yijing Wang
On 2014/11/18 19:30, Arnd Bergmann wrote: > On Tuesday 18 November 2014 19:17:32 Yijing Wang wrote: >> On 2014/11/17 22:13, Arnd Bergmann wrote: >>> On Monday 17 November 2014 18:21:34 Yijing Wang wrote: This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's arm PCI domain cleanup pa

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-18 Thread Yijing Wang
On 2014/11/18 19:45, Lorenzo Pieralisi wrote: > On Tue, Nov 18, 2014 at 11:30:11AM +, Arnd Bergmann wrote: >> On Tuesday 18 November 2014 19:17:32 Yijing Wang wrote: >>> On 2014/11/17 22:13, Arnd Bergmann wrote: On Monday 17 November 2014 18:21:34 Yijing Wang wrote: > This series is ba

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-18 Thread Lorenzo Pieralisi
On Tue, Nov 18, 2014 at 11:30:11AM +, Arnd Bergmann wrote: > On Tuesday 18 November 2014 19:17:32 Yijing Wang wrote: > > On 2014/11/17 22:13, Arnd Bergmann wrote: > > > On Monday 17 November 2014 18:21:34 Yijing Wang wrote: > > >> This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's > >

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-18 Thread Arnd Bergmann
On Tuesday 18 November 2014 19:17:32 Yijing Wang wrote: > On 2014/11/17 22:13, Arnd Bergmann wrote: > > On Monday 17 November 2014 18:21:34 Yijing Wang wrote: > >> This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's > >> arm PCI domain cleanup patches, link: > >> https://patchwork.ozlabs.o

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-18 Thread Yijing Wang
On 2014/11/17 22:13, Arnd Bergmann wrote: > On Monday 17 November 2014 18:21:34 Yijing Wang wrote: >> This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's >> arm PCI domain cleanup patches, link: >> https://patchwork.ozlabs.org/patch/407585/ >> >> Current pci scan interfaces like pci_scan_r

Re: [RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-17 Thread Arnd Bergmann
On Monday 17 November 2014 18:21:34 Yijing Wang wrote: > This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's > arm PCI domain cleanup patches, link: > https://patchwork.ozlabs.org/patch/407585/ > > Current pci scan interfaces like pci_scan_root_bus() and directly > call pci_create_root_bu

[RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-17 Thread Yijing Wang
This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's arm PCI domain cleanup patches, link: https://patchwork.ozlabs.org/patch/407585/ Current pci scan interfaces like pci_scan_root_bus() and directly call pci_create_root_bus()/pci_scan_child_bus() lack flexiblity. Some platform infos like