[PATCH] PCI: mvebu: Fix duplicate resource requests

Rob Herring robh at kernel.org
Thu Oct 22 20:51:06 EDT 2020


On Thu, Oct 22, 2020 at 5:09 PM Russell King - ARM Linux admin
<linux at armlinux.org.uk> wrote:
>
> 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.

Copy-n-paste... Thanks for testing.

Rob



More information about the linux-arm-kernel mailing list