x86/PCI: Ignore CPU non-addressable _CRS reserved memory resources
commit37bbe151450f9eedf4453b87b8d6856d2fba878a
authorGary Hade <garyhade@us.ibm.com>
Mon, 14 Nov 2011 23:42:16 +0000 (14 15:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Jan 2012 15:31:56 +0000 (18 07:31 -0800)
tree5ecb777d5bd9c80f9f0f57d3c9cc865f6105bdc8
parent99e6fbffc973fb0f9074265f80951f61a802792c
x86/PCI: Ignore CPU non-addressable _CRS reserved memory resources

commit ae5cd86455381282ece162966183d3f208c6fad7 upstream.

This assures that a _CRS reserved host bridge window or window region is
not used if it is not addressable by the CPU.  The new code either trims
the window to exclude the non-addressable portion or totally ignores the
window if the entire window is non-addressable.

The current code has been shown to be problematic with 32-bit non-PAE
kernels on systems where _CRS reserves resources above 4GB.

Signed-off-by: Gary Hade <garyhade@us.ibm.com>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Thomas Renninger <trenn@novell.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/pci/acpi.c