Re: [PATCH v13 00/16] PCI: Fixup for 64bit resource with sparc

From: Bjorn Helgaas
Date: Mon Aug 08 2016 - 15:49:31 EST


On Fri, Jun 17, 2016 at 07:24:45PM -0700, Yinghai Lu wrote:
> Hi Bjorn,
>
> 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 from sparc that have problem with clip as we don't parse
> mem64 for it.
>
> This patchset try to fix the problem for sparc.
>
> patch 1-3: try to fix the pci mmap for proc path for sparc, that will
> make fix for sparc 64bit resource offset handling much simple.
>
> patch 4-11: parse MEM64 for sparc and other system with OF.
> So device 64bit resource could find their parent resource.
>
> patch 12-15: MMIO64 handling enhancement
> treat non-pref mmio64 if parent bridges are all pcie.
>
> patch 16: restore old pref allocation logic if hostbridge does not support mmio64.
>
> Khalid Aziz tested on some sparc platforms that have different offset to
> mem space start or support 64bit mmio.
>
> -v13: update patchset with pci/resource that have pci_resource_to_user
> changes. date 2016-06-17

Hi Yinghai,

Can you update these to apply to v4.8-rc1, and we can keep chipping
away at these?

Bjorn