public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>,
	len.brown@intel.com, Thierry Vignaud <tvignaud@mandriva.com>,
	Matthew Wilcox <matthew@wil.cx>, Ernst Herzberg <earny@net4u.de>,
	Aaron Durbin <adurbin@google.com>,
	Alex Romosan <romosan@sycorax.lbl.gov>,
	openib-general@openib.org, Andi Kleen <ak@suse.de>,
	linux-ide@vger.kernel.org, oprofile-list@lists.sourceforge.net,
	Jens Axboe <jens.axboe@oracle.com>, Adrian Bunk <bunk@stusta.de>,
	linux-pci@atrey.karlin.mff.cuni.cz,
	Elimar Riesebieter <riesebie@lxtec.de>,
	discuss@x86-64.org, linux-pm@osdl.org,
	Komuro <komurojun-mbn@nifty.com>,
	Jeff Chua <jeff.chua.linux@gmail.com>,
	Tim Chen <tim.c.chen@linux.intel.com>,
	phil.el@wanadoo.fr, gregkh@suse.de, neilb@cse.unsw.edu.au,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-acpi@vger.kernel.org, mingo@redhat.com,
	nfs@lists.sourceforge.net, cpufreq@lists.linux.o
Subject: Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
Date: Wed, 08 Nov 2006 12:24:54 -0700	[thread overview]
Message-ID: <m1r6wd3fnd.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0611081048330.3667@g5.osdl.org> (Linus Torvalds's message of "Wed, 8 Nov 2006 10:52:05 -0800 (PST)")

Linus Torvalds <torvalds@osdl.org> writes:

> On Wed, 8 Nov 2006, Eric W. Biederman wrote:
>> 
>> The implementations I have seen, I believe have all been on bridges and
>> the maximum size is actually generated from the bus number below the bridge.
>
> Hmm. It might be possible to first set up the MMCONFIG thing for the 
> minimum range, then read the bus numbers from the host bridge on that bus, 
> and then expand the mmconfig range if necessary.
>
> Because pretty much ANYTHING is better than trusting the BIOS tables.
>
> That said, I'd really be a _lot_ more confident about it if we were to be 
> able to read the values from the hardware itself some way. There's 
> obviously a chicken-and-egg issue on mmcfg configuration, but it's one 
> that the BIOS startup code also has, so I assume that there is a solution 
> to that somewhere.

cfc and cf8 still work on x86.  So you can start with the old path
and then when you know mmconfig works you can upgrade.

In fact mmconfig doesn't necessary allow access to the entire pci domain.
On AMD systems currently you will get all of the subordinate busses but
the cpus themselves will not show up in the mmconfig space.

So we should have the infrastructure to only use mmconfig for some set
of busses.  If that interface is well described we can probably
bootstrap sanely, only enabling what we know exists and like wise
only reserving what we know is used.

For chipsets I know that there is quite a bit of information publicly
available.  For intel chipsets I believe those are registers they
make available in their public docs.  For things like the Nvidia
chipset the knowledge should be in the publicly available linuxbios
code base.

Hopefully that is enough of a pointer to get people going.  I might
have enough time to write the patch but I don't have enough time to
maintain it until mmconfig becomes boring.

Eric

  parent reply	other threads:[~2006-11-08 19:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 16:57 [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3) Jeff Chua
2006-11-07 17:11 ` Aaron Durbin
2006-11-07 17:11 ` Matthew Wilcox
2006-11-07 17:49   ` Eric W. Biederman
2006-11-07 17:50   ` Aaron Durbin
2006-11-07 17:56     ` Matthew Wilcox
2006-11-08 15:14     ` Andi Kleen
2006-11-08  7:39   ` Andi Kleen
2006-11-08 12:22     ` Matthew Wilcox
2006-11-08 16:05       ` Linus Torvalds
2006-11-08 17:38         ` Eric W. Biederman
2006-11-08 18:52           ` Linus Torvalds
2006-11-08 19:10             ` Aaron Durbin
2006-11-08 19:25               ` Linus Torvalds
2006-11-08 19:24             ` Eric W. Biederman [this message]
2006-11-10  6:52               ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2006-11-07 16:56 Jeff Chua
2006-11-06 22:40 Jeff Chua
2006-11-07 15:50 ` Aaron Durbin
     [not found] <Pine.LNX.4.64.0610302019560.25218@g5.osdl.org>
2006-11-05  6:48 ` Adrian Bunk
2006-11-05  9:30   ` Jeff Chua
2006-11-06 17:47     ` [discuss] " Andi Kleen

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=m1r6wd3fnd.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm@xmission.com \
    --cc=adurbin@google.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=cpufreq@lists.linux.o \
    --cc=discuss@x86-64.org \
    --cc=earny@net4u.de \
    --cc=gregkh@suse.de \
    --cc=jeff.chua.linux@gmail.com \
    --cc=jens.axboe@oracle.com \
    --cc=komurojun-mbn@nifty.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    --cc=linux-pm@osdl.org \
    --cc=matthew@wil.cx \
    --cc=mingo@redhat.com \
    --cc=neilb@cse.unsw.edu.au \
    --cc=nfs@lists.sourceforge.net \
    --cc=openib-general@openib.org \
    --cc=oprofile-list@lists.sourceforge.net \
    --cc=phil.el@wanadoo.fr \
    --cc=riesebie@lxtec.de \
    --cc=romosan@sycorax.lbl.gov \
    --cc=tim.c.chen@linux.intel.com \
    --cc=torvalds@osdl.org \
    --cc=tvignaud@mandriva.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