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

2022-07-29 Thread Michael Ellerman
On Wed, 6 Jul 2022 12:21:47 +0200, Pali Rohár wrote: > 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. > > In most cases

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

2022-07-27 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. > > In most cases 'reg' property is not zero and

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

2022-07-16 Thread Pali Rohár
On Friday 15 July 2022 15:32:56 Guilherme G. Piccoli wrote: > On 15/07/2022 14:11, Pali Rohár wrote: > > [...] > >> > >> I found this sentence a bit weird, "in the similar way like it is doing > >> kernel for other architectures", but other than that: > > > > If you have some idea how to improve

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

2022-07-15 Thread Guilherme G. Piccoli
On 15/07/2022 14:11, Pali Rohár wrote: > [...] >> >> I found this sentence a bit weird, "in the similar way like it is doing >> kernel for other architectures", but other than that: > > If you have some idea how to improve commit description, let me know and > I can change it. > Oh, for

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

2022-07-15 Thread Pali Rohár
On Friday 15 July 2022 11:55:04 Guilherme G. Piccoli wrote: > On 06/07/2022 07:21, Pali Rohár wrote: > > [...] > > Fix this issue and introduce a new option CONFIG_PPC_PCI_DOMAIN_FROM_OF_REG. > > When this option is disabled then powerpc kernel would assign PCI domains > > in the similar way like

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

2022-07-15 Thread Guilherme G. Piccoli
On 06/07/2022 07:21, Pali Rohár wrote: > [...] > Fix this issue and introduce a new option CONFIG_PPC_PCI_DOMAIN_FROM_OF_REG. > When this option is disabled then powerpc kernel would assign PCI domains > in the similar way like it is doing kernel for other architectures, > starting from zero and

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

2022-07-06 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. In most cases 'reg' property is not zero and therefore there it cause that PCI