[Skiboot] [PATCH] core/pci.c: Move device node fixups to happen after all devices are added to the DT
Stewart Smith
stewart at linux.vnet.ibm.com
Thu Nov 12 17:12:46 AEDT 2015
Alistair Popple <alistair at popple.id.au> writes:
> Commit 75e9440 (PCI: Trace device node from PCI device) introduced the
> ability for PCI devices to do fixups based on information added to the
> device tree as part of device initialisation.
>
> However that patch called the fixups during device initialisation
> meaning not all devices present in the system had been added to the
> device tree. Depending on device initialisation order this means some
> devices were not detected by the fixup code.
>
> This patch moves the calls to the fixup code until after all PCI
> devices have been added to the device tree.
>
> Signed-off-by: Alistair Popple <alistair at popple.id.au>
> ---
> core/pci.c | 23 +++++++++++++++++++----
> 1 file changed, 19 insertions(+), 4 deletions(-)
Thanks, merged as of 03c6c2d.
Should we bump the skiboot rev we're building for garisson in op-build?
More information about the Skiboot
mailing list