Re: [kernel] powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn

2018-01-28 Thread Michael Ellerman
On Mon, 2017-10-23 at 08:07:02 UTC, Alexey Kardashevskiy wrote: > The pcidev value stored in pci_dn is only used for NPU/NPU2 > initialization. We can easily drop the cached pointer and > use an ancient helper - pci_get_domain_bus_and_slot() instead in order > to reduce complexity. > > Signed-off-

Re: [PATCH kernel] powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn

2017-11-21 Thread Russell Currey
On Mon, 2017-10-23 at 19:07 +1100, Alexey Kardashevskiy wrote: > The pcidev value stored in pci_dn is only used for NPU/NPU2 > initialization. We can easily drop the cached pointer and > use an ancient helper - pci_get_domain_bus_and_slot() instead in > order > to reduce complexity. > > Signed-off

Re: [PATCH kernel] powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn

2017-11-21 Thread Alexey Kardashevskiy
On 23/10/17 19:07, Alexey Kardashevskiy wrote: > The pcidev value stored in pci_dn is only used for NPU/NPU2 > initialization. We can easily drop the cached pointer and > use an ancient helper - pci_get_domain_bus_and_slot() instead in order > to reduce complexity. Ping? > > Signed-off-by: Ale

[PATCH kernel] powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn

2017-10-23 Thread Alexey Kardashevskiy
The pcidev value stored in pci_dn is only used for NPU/NPU2 initialization. We can easily drop the cached pointer and use an ancient helper - pci_get_domain_bus_and_slot() instead in order to reduce complexity. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/pci-bridge.h | 2