public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Aaron Durbin" <adurbin@google.com>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Andrew Morton <akpm@osdl.org>,
	len.brown@intel.com, Thierry Vignaud <tvignaud@mandriva.com>,
	linux-pm@osdl.org, Ernst Herzberg <earny@net4u.de>,
	Christian <christiand59@web.de>,
	Alex Romosan <romosan@sycorax.lbl.gov>,
	openib-general@openib.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-ide@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>,
	oprofile-list@lists.sourceforge.net,
	Jens Axboe <jens.axboe@oracle.com>,
	linux-pci@atrey.karlin.mff.cuni.cz,
	Elimar Riesebieter <riesebie@lxtec.de>,
	discuss@x86-64.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, cpufreq@lists.linux.org.uk, gregkh@suse.de,
	neilb@cse.unsw.edu.au, Adrian Bunk <bunk@stusta.de>,
	linux-acpi@vger.kernel.org, mingo@redhat.com,
	nfs@lists.sourceforge.net, Eric W. Biederman
Subject: Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
Date: Tue, 7 Nov 2006 09:50:54 -0800	[thread overview]
Message-ID: <8f95bb250611070950m3dc45674gbd370e3173b6168d@mail.gmail.com> (raw)
In-Reply-To: <20061107171143.GU27140@parisc-linux.org>

On 11/7/06, Matthew Wilcox <matthew@wil.cx> wrote:
> On Wed, Nov 08, 2006 at 12:57:03AM +0800, Jeff Chua wrote:
> > 2) this fails ...
> >
> > e0000000-efffffff : 0000:00:02.0
> > f0000000-ffffffff : PCI MMCONFIG 0
> >    fed00000-fed003ff : HPET 0
>
> Heh, no kidding ...
>
>                 num_buses = pci_mmcfg_config[i].end_bus_number -
>                     pci_mmcfg_config[i].start_bus_number + 1;
>                 res->start = pci_mmcfg_config[i].base_address;
>                 res->end = res->start + (num_buses << 20) - 1;
>                 res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
>                 insert_resource(&iomem_resource, res);
>
> So if we have 256 busses assigned, then we request 256MB and, well,
> there's no room for anyone else.  This code was added by Andi in commit
> de09bddb9d6f96785be470c832b881e6d72d589f
>
> Hopefully he'll have a good idea how to restrict it.  Given your "working"
> resource map, it seems like it should be limited to 16MB (and thus 16 busses).
> But how to figure that out?
>

Maybe Andi can shed some light on the reasoning for not checking e820
to see if the entire MMCONFIG region is reported as reserved in the
e820 map.  I can patch up the pci_mmcfg_insert_resource to verify if
the region that is exported by ACPI is reserved in e820 and printk an
error message if it is not and skip the resource insertion.

Does that seem like a good avenue to pursue?

-Aaron

  parent reply	other threads:[~2006-11-07 17:50 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 [this message]
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
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=8f95bb250611070950m3dc45674gbd370e3173b6168d@mail.gmail.com \
    --to=adurbin@google.com \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=christiand59@web.de \
    --cc=cpufreq@lists.linux.org.uk \
    --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