Re: [PATCH v10 00/59] PCI: Resource allocation cleanup for v4.6
From: Bjorn Helgaas
Date: Thu Mar 10 2016 - 13:30:48 EST
On Wed, Feb 24, 2016 at 06:11:51PM -0800, Yinghai Lu wrote:
> Hi,
>
> After 5b28541552ef (PCI: Restrict 64-bit prefetchable bridge windows
> to 64-bit resources), we have several reports on resource allocation
> failure, and we try to fix the problem with resource clip, and find
> more problems.
>
> One is realloc fail with two graphics cards above 4G.
> One is from sparc that have problem with clip as we don't parse
> mem64 for it.
>
> Other report is about pci remove/rescan does not work on some setup
> when BIOS tend to allocate small bus size.
>
> This patchset enhance resource allocation to address those problems.
>
> patch 1-10: parse MEM64 for sparc and other system with OF
> ...
> Yinghai Lu (59):
> PCI: Add pci_find_root_bus_resource()
> sparc/PCI: Use correct bus address to resource offset
> sparc/PCI: Reserve legacy mmio after PCI mmio
> sparc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing
> sparc/PCI: Keep resource idx order with bridge register number
> PCI: Kill wrong quirk about M7101
> PCI: Ignore BAR for ALi M1533 PCI-ISA bridge
I took a look at the above and responded on the list with several
questions. I have the feeling that some are because I'm missing
important details about how sparc works. If it's easier to educate me
about those via IRC, I'm usually in #linux-pci on OFTC, and I'd be
happy to chat there.
Bjorn