[PATCH] PCI: mvebu: Fix duplicate resource requests

Russell King - ARM Linux admin linux at armlinux.org.uk
Thu Oct 22 18:09:24 EDT 2020


On Thu, Oct 22, 2020 at 11:05:07PM +0100, Russell King - ARM Linux admin wrote:
> > @@ -1001,9 +995,12 @@ static int mvebu_pcie_parse_request_resources(struct mvebu_pcie *pcie)
> >  		pcie->realio.name = "PCI I/O";
> >  
> >  		pci_add_resource(&bridge->windows, &pcie->realio);
> > +		ret = devm_request_resource(dev, &iomem_resource, &pcie->realio);
> 
> I think you're trying to claim this resource against the wrong parent.

Fixing this to ioport_resource results in in working PCIe.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list