Re: [PATCH] x86/PCI: never allocate PCI MMIO resources below BIOS_END

From: R. Andrew Bailey
Date: Mon Apr 26 2010 - 09:00:12 EST


On 23/04/10 17:05 -0600, Bjorn Helgaas wrote:
On Wednesday 21 April 2010 01:31:20 pm Andy Isaacson wrote:
On Tue, Apr 20, 2010 at 10:33:50PM -0700, Yinghai wrote:
> Update e820 at first, and later put them resource tree.
> Reserved that early, will not be allocated to unassigned PCI BAR
>
> v3: remove probe_roms() that is not needed, because whole range is reserved
> already

Test booted this patch series on the problematic t3400, seems to work
fine. dmesg attached to bug 15744.

Thanks for testing (again). I'm not confident that this series is
going to be successful, so I started looking for other approaches.

I can't reproduce the exact problem you're seeing, but in my
kludged-up attempt, the patch below is enough to keep us from
assigning the space below 1MB to a device.

Would you guys (Andy & Andy, what a coincidence :-)) mind giving
it a try? This is intended to work on top of current upstream,
with no other patches required.

Bjorn


Good news- that solved it. I tried Yinghai's patches saturday to no
avail (sorry it took me so long to get back to you, I was about 5 bios
revisions behind on this machine and wanted to update it before I
tried any more tests).

.andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/