Re: [ 37/38] PCI : ability to relocate assigned pci-resources
From: Herton Ronaldo Krzesinski <hidden>
Date: 2012-11-23 13:29:29
Also in:
lkml
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 <redacted> 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 <redacted> Signed-off-by: Jesse Barnes <redacted> Cc: Andrew Worsley <redacted> 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. -- []'s Herton