mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Aaron Durbin" <adurbin@google.com>
To: "Linus Torvalds" <torvalds@osdl.org>
Cc: "Adrian Bunk" <bunk@stusta.de>, "Matthew Wilcox" <matthew@wil.cx>,
	"Andi Kleen" <ak@suse.de>,
	"Jeff Chua" <jeff.chua.linux@gmail.com>,
	"Andrew Morton" <akpm@osdl.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	gregkh@suse.de, linux-pci@atrey.karlin.mff.cuni.cz
Subject: Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
Date: Wed, 8 Nov 2006 10:17:32 -0800	[thread overview]
Message-ID: <8f95bb250611081017lf8171e9y30e404e4a4336e89@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0611080932320.3667@g5.osdl.org>

On 11/8/06, Linus Torvalds <torvalds@osdl.org> wrote:
>
>
> On Wed, 8 Nov 2006, Adrian Bunk wrote:
> > >
> > > Anyway, I do not consider this a regression. MMCONFIG has _never_ worked
> > > reliably. It has always been a case of "we can make it work on some
> > > machines by making it break on others".
> >
> > It is a serious regression:
> >
> > The problem is that with the default CONFIG_PCI_GOANY, MMCONFIG is the
> > _first_ method tried.
>
> No. That was a bug at some point, but it's not that way now. See
>
>         pci_access_init(void)
>
> which checks the pci_direct_probe() first, and only _then_ calls
> pci_mmcfg_init(). And pci_mmcfg_init() will refuse to even use MMCONFIG
> unless either the direct probe failed _or_ the MMCONFIG area is marked
> entirely reserved in the e820 tables. Exactly because MMCONFIG generally
> doesn't _work_.
>

It appears in both i386 and x86-64 that the check is only on the first MCFG
entry and it only checks a hard-coded value of 16 buses.  This check is only
done if pci access type == 1.  The patches I posted yesterday have a few more
checks and warnings concerning the MCFG region, but these checks are only for
the resource allocation.  They do not concern actual config access. With those
patches applied we should be at least able to track more buggy BIOS's provided
that people notice messages in their dmesg.

-Aaron

  parent reply	other threads:[~2006-11-08 18:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.64.0611080056480.12828@silvia.corp.fedex.com>
     [not found] ` <20061107171143.GU27140@parisc-linux.org>
     [not found]   ` <200611080839.46670.ak@suse.de>
     [not found]     ` <20061108122237.GF27140@parisc-linux.org>
     [not found]       ` <Pine.LNX.4.64.0611080803280.3667@g5.osdl.org>
2006-11-08 17:26         ` Adrian Bunk
2006-11-08 17:49           ` Linus Torvalds
2006-11-08 18:08             ` Linus Torvalds
2006-11-08 18:36               ` Linus Torvalds
2006-11-10  6:25                 ` Jeff Chua
2006-11-10  6:43                   ` Andrew Morton
2006-11-10  9:21                     ` Jeff Chua
2006-11-10  6:56               ` Andi Kleen
2006-11-10 10:16                 ` Alan Cox
2006-11-10 14:02                   ` Jeff Garzik
2006-11-10 13:56               ` Jeff Garzik
2006-11-08 18:17             ` Aaron Durbin [this message]
2006-11-10  5:53 Jeff Chua

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=8f95bb250611081017lf8171e9y30e404e4a4336e89@mail.gmail.com \
    --to=adurbin@google.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=gregkh@suse.de \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    --cc=matthew@wil.cx \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®