Re: [PATCH kernel] powerpc/pci/of: Parse unassigned resources

2019-06-18 Thread Alexey Kardashevskiy
On 18/06/2019 22:15, Michael Ellerman wrote: > Alexey Kardashevskiy writes: >> The pseries platform uses the PCI_PROBE_DEVTREE method of PCI probing >> which is basically reading "assigned-addresses" of every PCI device. >> However if the property is missing or zero sized, then there is >> no

Re: [PATCH kernel] powerpc/pci/of: Parse unassigned resources

2019-06-18 Thread Benjamin Herrenschmidt
On Tue, 2019-06-18 at 22:15 +1000, Michael Ellerman wrote: > Alexey Kardashevskiy writes: > > The pseries platform uses the PCI_PROBE_DEVTREE method of PCI probing > > which is basically reading "assigned-addresses" of every PCI device. > > However if the property is missing or zero sized, then

Re: [PATCH kernel] powerpc/pci/of: Parse unassigned resources

2019-06-18 Thread Michael Ellerman
Alexey Kardashevskiy writes: > The pseries platform uses the PCI_PROBE_DEVTREE method of PCI probing > which is basically reading "assigned-addresses" of every PCI device. > However if the property is missing or zero sized, then there is > no fallback of any kind and the PCI resources remain

Re: [PATCH kernel] powerpc/pci/of: Parse unassigned resources

2019-06-17 Thread Sam Bobroff
On Fri, Jun 14, 2019 at 01:18:28PM +1000, Alexey Kardashevskiy wrote: > > > On 14/06/2019 12:59, Alexey Kardashevskiy wrote: > > The pseries platform uses the PCI_PROBE_DEVTREE method of PCI probing > > which is basically reading "assigned-addresses" of every PCI device. > > However if the

Re: [PATCH kernel] powerpc/pci/of: Parse unassigned resources

2019-06-13 Thread Alexey Kardashevskiy
On 14/06/2019 12:59, Alexey Kardashevskiy wrote: > The pseries platform uses the PCI_PROBE_DEVTREE method of PCI probing > which is basically reading "assigned-addresses" of every PCI device. > However if the property is missing or zero sized, then there is > no fallback of any kind and the PCI

[PATCH kernel] powerpc/pci/of: Parse unassigned resources

2019-06-13 Thread Alexey Kardashevskiy
The pseries platform uses the PCI_PROBE_DEVTREE method of PCI probing which is basically reading "assigned-addresses" of every PCI device. However if the property is missing or zero sized, then there is no fallback of any kind and the PCI resources remain undiscovered, i.e. pdev->resource[] array