Re: PROBLEM: Devices behind PCI Express-to-PCI bridge not mapped

From: Benjamin Herrenschmidt
Date: Wed Jun 08 2005 - 23:10:18 EST


On Thu, 2005-06-09 at 02:36 +0400, Ivan Kokshaysky wrote:
> On Wed, Jun 08, 2005 at 07:34:09PM +0200, Andreas Koch wrote:
> > However, after pci_assign_unassigned_resources() has been called, the
> > MEM and PREFETCH regions of the bridge 0000:00:1e.0 (bridge 1) _remain_
> > invalid at 0x00000000.
>
> I believe it was _IO_ and PREFETCH (unused windows of that bridge).
> Indeed, IO at 0 is fatal...

Hrm... IO at 0 for a P2P bridge is perfectly valid, at least on a number
of architectures... However, testing for region.end < region.start is, I
suppose correct ...

Ben.


-
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/