Re: [PATCH v7 02/50] powerpc/pci: Override pcibios_setup_bridge()

2015-11-05 Thread Gavin Shan
On Fri, Nov 06, 2015 at 09:27:42AM +1100, Daniel Axtens wrote: >Gavin Shan writes: > >> >> +void pcibios_setup_bridge(struct pci_bus *bus, unsigned long type) >> +{ >> +struct pci_controller *hose = pci_bus_to_host(bus); >Very much a nit-pick, but I thought we

Re: [PATCH v7 02/50] powerpc/pci: Override pcibios_setup_bridge()

2015-11-05 Thread Daniel Axtens
Gavin Shan writes: > > +void pcibios_setup_bridge(struct pci_bus *bus, unsigned long type) > +{ > + struct pci_controller *hose = pci_bus_to_host(bus); Very much a nit-pick, but I thought we were trying to move towards using phb instead of hose in new code?

[PATCH v7 02/50] powerpc/pci: Override pcibios_setup_bridge()

2015-11-04 Thread Gavin Shan
This overrides pcibios_setup_bridge() that is called to update PCI bridge windows when PCI resource assignment is completed, to assign PE and setup various (resource) mapping for the PE in subsequent patches. Signed-off-by: Gavin Shan ---