Re: PCI Express or TG3 issue

From: thockin
Date: Thu Sep 22 2005 - 10:47:49 EST


On Fri, Sep 23, 2005 at 12:25:48AM +0900, Atsushi Nemoto wrote:
> >>>>> On Wed, 21 Sep 2005 11:11:51 -0700, thockin@xxxxxxxxxx said:
>
> thockin> This device is claiming that it has a 64-bit base-address
> thockin> which has been programmed by BIOS to be at
> thockin> 0x80000001d0000000.
>
> thockin> I suspect that the 4 bytes at offset 0x14 want to be 0. The
> thockin> address 0xd0000000 jives with the rest of your PCI listing.
>
> thockin> I don't know where that extra 0x80000001 comes from, but it's
> thockin> pretty clearly wrong. BIOS bug? I can't see where kernel
> thockin> would have boned that up *that* badly.
>
> I also have seen same problem on some custom MIPS-based boards which
> do not have BIOS. Broadcom BCM5751 had garbage in its 64-bit BAR on
> power-up. So it should not be a BIOS bug. And I also could not find
> any good place to fixup it at that time.

Well, on a PC (i386 or x86_64) system, that address is almost certainly
going to be below 4G. You could reguister a quirk to zero the upper half
of that BAR...
-
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/