Re: [PATCH -v2 1/3] PCI: Fix starting basis for resource requests

From: Jesse Barnes
Date: Fri Jan 27 2012 - 12:15:39 EST


On Mon, 21 Nov 2011 11:54:07 -0700
Myron Stowe <myron.stowe@xxxxxxxxxx> wrote:

> From: Myron Stowe <mstowe@xxxxxxxxxx>
>
> pci_revert_fw_address() is used to reinstate a PCI device's original
> FW-assigned BIOS BAR value(s) if normal resource assignment fails.
>
> When attempting to reinstate an address, the point within the resource
> tree from which to attempt the new resource request should be the parent
> resource corresponding to the device, not the base of the resource tree
> (ioport_resource or iomem_resource). For PCI devices this would
> typically be the resource corresponding to the upstream PCI host bridge
> or P2P bridge aperture.
>
> This patch sets the point within the resource tree to attempt a new
> resource assignment request to the PCI device's parent resource and only
> if that fails does it fall back to the base ioport_resource or
> iomem_resource.
>
> Signed-off-by: Myron Stowe <myron.stowe@xxxxxxxxxx>
> ---

Applied these 3 to my -next branch, thanks for your patience Myron.

--
Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature