From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: "Wilcox, Matthew R" <matthew.r.wilcox@intel.com>,
Yinghai Lu <yinghai@kernel.org>,
"linux-next@vger.kernel.org" <linux-next@vger.kernel.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: Re: linux-next: IO BAR sizing warning
Date: Wed, 3 Jun 2009 16:49:54 +1000 [thread overview]
Message-ID: <20090603164954.2a7aa3f4.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20090506110034.3c7d6e67@hobbes>
[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]
Hi all,
On Wed, 6 May 2009 11:00:34 -0700 Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
>
> On Wed, 6 May 2009 11:41:12 -0600
> "Wilcox, Matthew R" <matthew.r.wilcox@intel.com> 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
>
> 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...
I am still getting the original warning. For reference, the following
architectures will probably have the same:
ia64: 0xffffffffffffff
powerpc: ~(0UL)
sparc64: 0xffffffffffffffffUL
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-06-03 6:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-06 4:30 linux-next: pci tree build warning Stephen Rothwell
2009-05-06 7:21 ` Yinghai Lu
2009-05-06 16:24 ` linux-next: IO BAR sizing warning Jesse Barnes
2009-05-06 17:41 ` Wilcox, Matthew R
2009-05-06 18:00 ` Jesse Barnes
2009-05-06 18:03 ` Wilcox, Matthew R
2009-06-03 6:49 ` Stephen Rothwell [this message]
2009-06-11 19:07 ` Jesse Barnes
2009-06-11 21:39 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090603164954.2a7aa3f4.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=benh@kernel.crashing.org \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-next@vger.kernel.org \
--cc=matthew.r.wilcox@intel.com \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).