From: Gary Hade <garyhade@us.ibm.com>
To: "GARCIA DE SORIA LUCENA, JUAN JESUS" <juanj.g_soria@grupobbva.com>
Cc: Jiri Slaby <jirislaby@gmail.com>, Gary Hade <garyhade@us.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: Regression: Boot hang sizing transparent PCI-to-PCI bridgesinceafter 2.6.25-r7.
Date: Tue, 11 Nov 2008 13:30:10 -0800 [thread overview]
Message-ID: <20081111213009.GA7072@us.ibm.com> (raw)
In-Reply-To: <D913A682D10DBA4097B5D068D281B09B0266F9CB@S1128EXE.bbva.igrupobbva>
On Tue, Nov 11, 2008 at 12:43:28PM +0100, GARCIA DE SORIA LUCENA, JUAN JESUS wrote:
> > -----Original Message-----
> > From: Jiri Slaby [mailto:jirislaby@gmail.com]
> >
> > GARCIA DE SORIA LUCENA, JUAN JESUS napsal(a):
> > > resource_size_t type
> > > (defined in linux/types.h) being u64. Perhaps it's u32 in a 32 bit
> > > architecture.
> >
> > Unless you have RESOURCES_64BIT=y which is the default on x86_32 now.
>
> Ugh. Knowing this will save me from downloading, burning and testing the
> 32 bit Ubuntu distro, whose 2.6.27 kernel will surely use that default
> configuration.
>
> I'll perform more tests, with more debug kprintf()'s, anyway.
>
> Do you remember if the cases Gary's patches were trying to fix included
> ranges rolling past the 32-bit address limit (end address below start
> address)?
No, my patches were not trying to fix anything like that.
I looked at the `lspci -vvv` output for some transparent bridges on
one of our systems and found that the messed up looking ranges are
not unique to your system. We also see that on our systems. I checked
the lspci code and found that the displayed ranges are based on base
and limit register values obtained directly from PCI config space
for the device. I also noticed that -vvv it will display values even
if they do not represent valid ranges such as you might expect for the
contents of base and limit registers on transparent bridges. This
caused me to peek at the lspci man page which says:
"-vvv Be even more verbose and display everything we are able
to parse, even if it doesn’t look interesting at all
(e.g., undefined memory regions)."
You must be getting some of that "even if it doesn't look interesting
at all" stuff. :)
Gary
--
Gary Hade
System x Enablement
IBM Linux Technology Center
503-578-4503 IBM T/L: 775-4503
garyhade@us.ibm.com
http://www.ibm.com/linux/ltc
next prev parent reply other threads:[~2008-11-11 21:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-10 9:12 Regression: Boot hang sizing transparent PCI-to-PCI bridge since after 2.6.25-r7 GARCIA DE SORIA LUCENA, JUAN JESUS
2008-11-10 10:14 ` Jiri Slaby
2008-11-10 17:58 ` Gary Hade
2008-11-11 11:21 ` Regression: Boot hang sizing transparent PCI-to-PCI bridgesince " GARCIA DE SORIA LUCENA, JUAN JESUS
2008-11-11 11:33 ` Jiri Slaby
2008-11-11 11:43 ` Regression: Boot hang sizing transparent PCI-to-PCI bridgesinceafter 2.6.25-r7 GARCIA DE SORIA LUCENA, JUAN JESUS
2008-11-11 21:30 ` Gary Hade [this message]
2008-11-11 23:15 ` Regression: Boot hang sizing transparent PCI-to-PCI bridge since after 2.6.25-r7 Gary Hade
2008-11-12 8:50 ` Regression: Boot hang sizing transparent PCI-to-PCI bridgesince " GARCIA DE SORIA LUCENA, JUAN JESUS
2008-11-12 22:11 ` Gary Hade
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=20081111213009.GA7072@us.ibm.com \
--to=garyhade@us.ibm.com \
--cc=jirislaby@gmail.com \
--cc=juanj.g_soria@grupobbva.com \
--cc=linux-kernel@vger.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