Re: [Very RFC 07/46] powernv/pci: Rework IODA PE device accounting

2019-11-20 Thread Alexey Kardashevskiy
On 20/11/2019 12:28, Oliver O'Halloran wrote: > The current process for configuring the IODA PEs for normal PCI devices is > abit stupid. This phrase should go. > After assigning MMIO resources for the devices on a bus the > actual PE asignment occurs when pcibios_setup_bridge() is called for

[Very RFC 07/46] powernv/pci: Rework IODA PE device accounting

2019-11-19 Thread Oliver O'Halloran
The current process for configuring the IODA PEs for normal PCI devices is abit stupid. After assigning MMIO resources for the devices on a bus the actual PE asignment occurs when pcibios_setup_bridge() is called for the parent bridge. In pcibios_setup_bridge() we: 1. Assign all 256 devfn's for th