Subject: Re: linux-next: IO BAR sizing warning

From: Jesse Barnes <[email-masked]>
Date: Wed, 6 May 2009 11:00:34 -0700

On Wed, 6 May 2009 11:41:12 -0600
"Wilcox, Matthew R" <[email-masked]> wrote:

> I think PowerPC's IO_SPACE_LIMIT is defined incorrectly.
> 
> On 64-bit, it's currently set to 0xffff'ffff'ffff'ffff.  This can't
> possibly work, there's no way for the PCI bus to transmit 64-bit
> IO-port addresses.  It should probably be defined to
> 
> 0xffffffffU

TOP POSTER!

But yeah on a bus level it clearly needs to be limited to 32 bits, but
ISTR that some arches use the high resource bits for tracking I/O
resources on a systemwide basis (too lazy to look atm).

So either we need to split the definition between bus & resource usage,
or add a cast here...
-- 
Jesse Barnes, Intel Open Source Technology Center