mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>,
	Gary Hade <garyhade@us.ibm.com>,
	Jaswinder Singh Rajput <jaswinder@kernel.org>,
	Yinghai Lu <yhlu.kernel@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
	Len Brown <lenb@kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: fixing "pci=use_crs"
Date: Thu, 17 Sep 2009 12:57:48 -0600	[thread overview]
Message-ID: <200909171257.48851.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <20090917094527.051ca4bc@jbarnes-g45>

On Thursday 17 September 2009 10:45:27 am Jesse Barnes wrote:
> > The extra resources in the old dmesg could be from "pci=use_crs"
> > being the default, but if that were the case, they should be in
> > the PNP resource dump.  Did you update the BIOS between those
> > boots?
> 
> FWIW in the CRS problem thread there were other reports of large
> numbers of PNP resources causing problems.  One solution I considered
> before we ended up reverting the patch was to increase the number of
> bus resources we track.  Rather than a small array of resources per
> bus, we could have a linked list, which would allow us to track an
> arbitrary number.

I think that might be a good starting point anyway, since I'm not
aware of any spec that limits the number of apertures a host bridge
can have.

> We probably want to distinguish between what we read from the hw regs
> and what's reported in PNP though, so maybe a new list in addition to
> the existing resource set would be the way to go.  That would allow us
> to selectively ignore PNP resources on machines where they report bogus
> ranges (or selectively look at them, either way).

When we can read things from hardware registers, I think we have to
trust that more than anything from other sources.  But I'm not proposing
any particular solution yet; I just want to get a better understanding
of what we're seeing.

Bjorn

  reply	other threads:[~2009-09-17 18:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 23:15 Bjorn Helgaas
2009-09-17 16:16 ` Bjorn Helgaas
2009-09-17 16:45   ` Jesse Barnes
2009-09-17 18:57     ` Bjorn Helgaas [this message]
2009-09-19 17:08   ` Larry Finger
2009-09-21 21:20     ` Bjorn Helgaas
2009-09-22 23:35       ` Larry Finger
2009-09-23 23:23         ` Bjorn Helgaas
2009-09-23 23:28           ` Yinghai Lu
2009-09-24  3:21             ` Bjorn Helgaas
2009-09-24  4:42               ` Yinghai Lu
2009-09-24 13:24                 ` Bjorn Helgaas
2009-09-24 22:03                   ` Gary Hade
2009-09-24 15:26           ` Bjorn Helgaas
2009-09-25 21:00             ` Larry Finger

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=200909171257.48851.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=garyhade@us.ibm.com \
    --cc=jaswinder@kernel.org \
    --cc=jbarnes@virtuousgeek.org \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    --cc=yhlu.kernel@gmail.com \
    /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

all inboxes | Powered by JetHome®