[v2] powerpc/kernel: Remove error message in pcibios_setup_phb_resources()

Michael Ellerman patch-notifications at ellerman.id.au
Sun Feb 19 22:33:35 AEDT 2017

On Wed, 2017-02-08 at 03:11:03 UTC, Gavin Shan wrote:
> The CAPI driver creates virtual PHB (vPHB) from the CAPI adapter.
> The vPHB's IO and memory windows aren't built from device-tree node
> as we do for normal PHBs. A error message is thrown in below path
> when trying to probe AFUs contained in the adapter. The error message
> is confusing and unnecessary.
>     cxl_probe()
>     pci_init_afu()
>     cxl_pci_vphb_add()
>     pcibios_scan_phb()
>     pcibios_setup_phb_resources()
> This removes the error message. We might have the case where the
> first memory window on real PHB isn't populated properly because
> of error in "ranges" property in the device-tree node. We can check
> the device-tree instead for that. This also removes one unnecessary
> blank line in the function.
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list