Re: [PATCH 2/5] powerpc/pci: Create pci_dn on demand

2018-09-12 Thread Benjamin Herrenschmidt
On Wed, 2018-09-05 at 18:40 +0300, Sergey Miroshnichenko wrote: > The pci_dn structures can be created not only from DT, but also > directly from newly discovered PCIe devices, so allocate them > dynamically. I'd rather we moved towards killing pci_dn completely to be honest :) > Signed-off-by:

[PATCH 2/5] powerpc/pci: Create pci_dn on demand

2018-09-05 Thread Sergey Miroshnichenko
The pci_dn structures can be created not only from DT, but also directly from newly discovered PCIe devices, so allocate them dynamically. Signed-off-by: Sergey Miroshnichenko --- arch/powerpc/kernel/pci_dn.c | 69 +++- 1 file changed, 52 insertions(+), 17