Re: [PATCH v11 04/60] sparc/PCI: Use correct offset for bus address to resource

From: Yinghai Lu
Date: Tue May 10 2016 - 02:18:50 EST


On Fri, May 6, 2016 at 11:26 AM, Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
>> v3, that have more change to pass *res to make powerpc prot setting simple.
>
> This looks corrupted. On v4.6-rc2:
>
> $ stg import -M m/yh3
> Checking for changes in the working directory ... done
> Importing patch "re-patch-v11-04-60-sparc-pci" ... fatal: corrupt patch at line 266
> stg import: Diff does not apply cleanly

Just resent them in plain/text mail. Please have a look.

>
...
>
> This looks like it could possibly be split into several patches. I
> think it's too big to apply as-is.

Not that big except it remove lots of lines.

>
> I'm not sure what bug this is fixing or what improvement it's making.

fix sparc64 proc mmap path, as it can not pass checking in pci_mmap_fits()
with comparing BAR value and resource adder without offset.

also it will make
sparc/PCI: Use correct offset for bus address to resource
and other one much simple.

Thanks

Yinghai