[PATCH v1 4/4] of: PCI: tidy up logging of ranges containing configuration space type

Rob Herring robh at kernel.org
Thu Sep 8 13:59:57 PDT 2022


On Fri, Sep 02, 2022 at 03:22:02PM +0100, daire.mcnamara at microchip.com wrote:
> From: Daire McNamara <daire.mcnamara at microchip.com>
> 
> PCI ranges can contain addresses where phys.high part can have a type
> of 0, signifying 'configuration space'.  Change
> devm_of_pci_get_host_bridge_resources() to print 'CFG' instead of 'err'
> for a PCI range containing such a 'configuration space' type.

Generally, putting config space into ranges is wrong. It should be in 
'reg'

Rob



More information about the linux-riscv mailing list