Re: [PATCH] PCI: mvebu: Fix duplicate resource requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux