linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Ram Pai <linuxram@us.ibm.com>,
	torvalds@linux-foundation.org, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org, yinghai@kernel.org
Subject: Re: [PATCH] PCI: conditional resource-reallocation through kernel parameter pci=realloc
Date: Thu, 7 Jul 2011 11:00:32 +1000	[thread overview]
Message-ID: <20110707110032.226a16c3b553de67125cf70b@canb.auug.org.au> (raw)
In-Reply-To: <20110706090733.1158d959@jbarnes-desktop>

[-- Attachment #1: Type: text/plain, Size: 2120 bytes --]

Hi Jesse,

On Wed, 6 Jul 2011 09:07:33 -0700 Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
>
> On Wed, 6 Jul 2011 02:06:38 -0700
> Ram Pai <linuxram@us.ibm.com> wrote:
> 
> > On Thu, Jun 30, 2011 at 01:09:39AM -0700, Ram Pai wrote:
> > > Multiple attempts to dynamically reallocate pci resources have unfortunately
> > > lead to regressions. Though we continue to fix the regressions and fine tune the
> > > dynamic-reallocation behavior, we have not reached a acceptable state yet.
> > > 
> > > This patch provides a interim solution. It disables dynamic-reallocation; by
> > > default, with the ability to enable it through pci=realloc kernel command line
> > > parameter.
> > 
> > > 
> > > Signed-off-by: Ram Pai <linuxram@us.ibm.com>
> > > ---
> > >  Documentation/kernel-parameters.txt |    2 ++
> > >  arch/x86/pci/common.c               |    4 ++++
> > >  drivers/pci/setup-bus.c             |    7 +++++++
> > >  include/linux/pci.h                 |    2 ++
> > >  4 files changed, 15 insertions(+), 0 deletions(-)
> > > 
> > > diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> > > index fd248a3..aa47be7 100644
> > > --- a/Documentation/kernel-parameters.txt
> > > +++ b/Documentation/kernel-parameters.txt
> > > @@ -2015,6 +2015,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
> > >  				the default.
> > >  				off: Turn ECRC off
> > >  				on: Turn ECRC on.
> > > +		realloc		reallocate PCI resources if allocations done by BIOS
> > > +				are erroneous.
> > > 
> > >  	pcie_aspm=	[PCIE] Forcibly enable or disable PCIe Active State Power
> > >  			Management.
> > 
> > Linus/Jesse,
> > 
> > 	Are we merging this patch in 3.0.0 ?
> 
> Yeah I think we probably should, since the alternative is still pretty
> large.
> 
> I'll queue it up with any other small patches that are needed at this
> point and send them over to Linus.

It breaks the powerpc build (see my other message).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

      reply	other threads:[~2011-07-07  1:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30  8:09 [PATCH] PCI: conditional resource-reallocation through kernel parameter pci=realloc Ram Pai
2011-06-30 17:04 ` Oliver Hartkopp
2011-06-30 17:07   ` Jesse Barnes
2011-06-30 17:12     ` Oliver Hartkopp
2011-06-30 18:38       ` Ram Pai
2011-06-30 20:24         ` Bjorn Helgaas
2011-06-30 20:26           ` Jesse Barnes
2011-07-06  9:06 ` Ram Pai
2011-07-06 16:07   ` Jesse Barnes
2011-07-07  1:00     ` Stephen Rothwell [this message]

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=20110707110032.226a16c3b553de67125cf70b@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxram@us.ibm.com \
    --cc=torvalds@linux-foundation.org \
    --cc=yinghai@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;
as well as URLs for NNTP newsgroup(s).