[Top] [All Lists]

Re: Linux MIPS PCI resource sanity check

To: Sergei Shtylyov <>
Subject: Re: Linux MIPS PCI resource sanity check
From: Ralf Baechle <>
Date: Tue, 19 Feb 2008 15:30:08 +0000
Cc: Michael Buesch <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.5.17 (2007-11-01)
On Sat, Feb 16, 2008 at 01:49:56PM +0300, Sergei Shtylyov wrote:

>   It makes sure that a PCI resource is allocated (base of 0 means that it's 
> unallocated due to previously detected resource conlict (or some other 
> reason).
>> It triggers for me on a BCM4318 device which is behind a BCM4710 PCI bridge.
>> r->start is 0 and r->end is 0x1FFF when this triggers.
>> If I simply comment out that check the device is detected correctly
>> and seems to initialize just fine.
>    No, that failnig resource should be relocated.

The resources were assigned during the PCI bus scan so at least with the
current implementation it's too late to reassign resources.  I get the
feeling this is an indication of a problem elsewhere.


<Prev in Thread] Current Thread [Next in Thread>