lkml.org 
[lkml]   [2012]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ 37/38] PCI : ability to relocate assigned pci-resources
On Sat, Nov 24, 2012 at 09:41:41AM +0800, Ram Pai wrote:
> On Fri, Nov 23, 2012 at 11:29:20AM -0200, Herton Ronaldo Krzesinski wrote:
> > On Wed, Nov 21, 2012 at 04:40:20PM -0800, Greg Kroah-Hartman wrote:
> > > 3.0-stable review patch. If anyone has any objections, please let me know.
> > >
> > > ------------------
> > >
> > > From: Ram Pai <linuxram@us.ibm.com>
> > >
> > > commit 2bbc6942273b5b3097bd265d82227bdd84b351b2 upstream.
> > >
> > > Currently pci-bridges are allocated enough resources to satisfy their immediate
> > > requirements. Any additional resource-requests fail if additional free space,
> > > contiguous to the one already allocated, is not available. This behavior is not
> > > reasonable since sufficient contiguous resources, that can satisfy the request,
> > > are available at a different location.
> > >
> > > This patch provides the ability to expand and relocate a allocated resource.
> > >
> > > v2: Changelog: Fixed size calculation in pci_reassign_resource()
> > > v3: Changelog : Split this patch. The resource.c changes are already
> > > upstream. All the pci driver changes are in here.
> > >
> > > Signed-off-by: Ram Pai <linuxram@us.ibm.com>
> > > Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
> > > Cc: Andrew Worsley <amworsley@gmail.com>
> > > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> >
> > This change is said to bring a regression:
> > http://comments.gmane.org/gmane.linux.kernel.pci/11666
> >
> > fixed by:
> > commit 47ea91b4052d9e94b9dca5d7a3d947fbebd07ba9
> > Resource: fix wrong resource window calculation
> >
> > Which wasn't applied with this series for 3.0.
>
> You are right. We need to apply that fix along with this patch.

Thanks, now added to the tree.

greg k-h


\
 
 \ /
  Last update: 2012-11-26 20:21    [W:0.119 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site