Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-07-06 Thread Pali Rohár
On Friday 10 June 2022 17:33:32 Michael Ellerman wrote: > Pali Rohár writes: > > Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on > > device-tree properties"), powerpc kernel always fallback to PCI domain > > assignment from OF / Device Tree 'reg' property of the PCI contr

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-10 Thread Pali Rohár
On Friday 10 June 2022 17:33:32 Michael Ellerman wrote: > If you have scripts that are looking for certain devices they can use > the vendor/device fields in sysfs to find the actual devices they want, > not just whatever happens to be at :01:00.0. This does not work if you have more cards wit

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-10 Thread Michael Ellerman
Pali Rohár writes: > Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on > device-tree properties"), powerpc kernel always fallback to PCI domain > assignment from OF / Device Tree 'reg' property of the PCI controller. > > PCI code for other Linux architectures use increasing

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Tyrel Datwyler
On 6/9/22 13:21, Guilherme G. Piccoli wrote: > First of all, thanks for looping me Bjorn! Much appreciated. > I'm also CCing Ben and Gavin, that know a lot of PPC PCI stuff. > > > On 09/06/2022 16:34, Bjorn Helgaas wrote: >> [...] >>> Upgrading powerpc kernels from LTS 4.4 version (which

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Guilherme G. Piccoli
First of all, thanks for looping me Bjorn! Much appreciated. I'm also CCing Ben and Gavin, that know a lot of PPC PCI stuff. On 09/06/2022 16:34, Bjorn Helgaas wrote: > [...] >> Upgrading powerpc kernels from LTS 4.4 version (which does not >> contain mentioned commit) to new LTS

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Pali Rohár
On Thursday 09 June 2022 14:34:51 Bjorn Helgaas wrote: > On Thu, Jun 09, 2022 at 08:05:26PM +0200, Pali Rohár wrote: > > On Thursday 09 June 2022 12:10:22 Bjorn Helgaas wrote: > > > On Thu, Jun 09, 2022 at 06:27:25PM +0200, Pali Rohár wrote: > > > > On Thursday 09 June 2022 11:22:55 Bjorn Helgaas w

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Bjorn Helgaas
On Thu, Jun 09, 2022 at 08:05:26PM +0200, Pali Rohár wrote: > On Thursday 09 June 2022 12:10:22 Bjorn Helgaas wrote: > > On Thu, Jun 09, 2022 at 06:27:25PM +0200, Pali Rohár wrote: > > > On Thursday 09 June 2022 11:22:55 Bjorn Helgaas wrote: > > > > [+cc Guilherme, Michael, Ben (author of 63a72284b

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Pali Rohár
On Thursday 09 June 2022 12:10:22 Bjorn Helgaas wrote: > On Thu, Jun 09, 2022 at 06:27:25PM +0200, Pali Rohár wrote: > > On Thursday 09 June 2022 11:22:55 Bjorn Helgaas wrote: > > > [+cc Guilherme, Michael, Ben (author of 63a72284b159 and PPC folks), > > > thread: > > > https://lore.kernel.org/r/2

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Bjorn Helgaas
On Thu, Jun 09, 2022 at 06:27:25PM +0200, Pali Rohár wrote: > On Thursday 09 June 2022 11:22:55 Bjorn Helgaas wrote: > > [+cc Guilherme, Michael, Ben (author of 63a72284b159 and PPC folks), thread: > > https://lore.kernel.org/r/20220504175718.29011-1-p...@kernel.org] > > > > On Fri, May 06, 2022 a

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Pali Rohár
On Thursday 09 June 2022 11:22:55 Bjorn Helgaas wrote: > [+cc Guilherme, Michael, Ben (author of 63a72284b159 and PPC folks), thread: > https://lore.kernel.org/r/20220504175718.29011-1-p...@kernel.org] > > On Fri, May 06, 2022 at 12:33:02AM +0200, Pali Rohár wrote: > > On Thursday 05 May 2022 15:1

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Bjorn Helgaas
[+cc Guilherme, Michael, Ben (author of 63a72284b159 and PPC folks), thread: https://lore.kernel.org/r/20220504175718.29011-1-p...@kernel.org] On Fri, May 06, 2022 at 12:33:02AM +0200, Pali Rohár wrote: > On Thursday 05 May 2022 15:10:01 Tyrel Datwyler wrote: > > On 5/5/22 02:31, Pali Rohár wrote:

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-06-09 Thread Pali Rohár
On Tuesday 24 May 2022 11:17:56 Pali Rohár wrote: > On Friday 06 May 2022 00:33:02 Pali Rohár wrote: > > On Thursday 05 May 2022 15:10:01 Tyrel Datwyler wrote: > > > On 5/5/22 02:31, Pali Rohár wrote: > > > > Hello! > > > > > > > > On Thursday 05 May 2022 07:16:40 Christophe Leroy wrote: > > > >>

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-05-24 Thread Pali Rohár
On Friday 06 May 2022 00:33:02 Pali Rohár wrote: > On Thursday 05 May 2022 15:10:01 Tyrel Datwyler wrote: > > On 5/5/22 02:31, Pali Rohár wrote: > > > Hello! > > > > > > On Thursday 05 May 2022 07:16:40 Christophe Leroy wrote: > > >> Le 04/05/2022 à 19:57, Pali Rohár a écrit : > > >>> Since commit

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-05-05 Thread Pali Rohár
On Thursday 05 May 2022 15:10:01 Tyrel Datwyler wrote: > On 5/5/22 02:31, Pali Rohár wrote: > > Hello! > > > > On Thursday 05 May 2022 07:16:40 Christophe Leroy wrote: > >> Le 04/05/2022 à 19:57, Pali Rohár a écrit : > >>> Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on >

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-05-05 Thread Tyrel Datwyler
On 5/5/22 02:31, Pali Rohár wrote: > Hello! > > On Thursday 05 May 2022 07:16:40 Christophe Leroy wrote: >> Le 04/05/2022 à 19:57, Pali Rohár a écrit : >>> Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on >>> device-tree properties"), powerpc kernel always fallback to PCI

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-05-05 Thread Pali Rohár
Hello! On Thursday 05 May 2022 07:16:40 Christophe Leroy wrote: > Le 04/05/2022 à 19:57, Pali Rohár a écrit : > > Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on > > device-tree properties"), powerpc kernel always fallback to PCI domain > > assignment from OF / Device Tre

Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-05-05 Thread Christophe Leroy
Le 04/05/2022 à 19:57, Pali Rohár a écrit : > Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on > device-tree properties"), powerpc kernel always fallback to PCI domain > assignment from OF / Device Tree 'reg' property of the PCI controller. > > PCI code for other Linux a

[PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain

2022-05-04 Thread Pali Rohár
Since commit 63a72284b159 ("powerpc/pci: Assign fixed PHB number based on device-tree properties"), powerpc kernel always fallback to PCI domain assignment from OF / Device Tree 'reg' property of the PCI controller. PCI code for other Linux architectures use increasing assignment of the PCI domain