linux-mips
[Top] [All Lists]

Re: Reverting old hack

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: Reverting old hack
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Thu, 25 Feb 2010 07:53:31 +1100
Cc: Yoichi Yuasa <yuasa@linux-mips.org>, Bjorn Helgaas <bjorn.helgaas@hp.com>, linux-mips@linux-mips.org
In-reply-to: <20100224164100.GD5130@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20100220113134.GA27194@linux-mips.org> <1266815257.1959.23.camel@dc7800.home> <20100222132830.GA5017@linux-mips.org> <201002231601.15136.bjorn.helgaas@hp.com> <20100224090333.44a16d0a.yuasa@linux-mips.org> <20100224164100.GD5130@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 2010-02-24 at 17:41 +0100, Ralf Baechle wrote:
> 
> The complicated solution is to reserve all address range that potencially
> could cause such aliases.  But with the PCI spec limiting port allocations
> for devices to a maximum of 256 bytes 16MB of port address space already is
> way more than one would ever expect to be used so I suggest to just limit
> the port address space to 16MB.
> 
> Could you test the patch below?

On PPC I set the top level IO resource to no more than 1M, actually even
as small as 64K on some bridges. There's no point doing more, x86 ony
have 64K of IO space anyways :-)

Cheers,
Ben.


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