x86/PCI: Ignore CPU non-addressable _CRS reserved memory resources
authorGary Hade <garyhade@us.ibm.com>
Mon, 14 Nov 2011 23:42:16 +0000 (15:42 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:10:32 +0000 (12:10 -0800)
commitae5cd86455381282ece162966183d3f208c6fad7
tree542674bc3c49b910ff740122483619b694853737
parent1830ea91c20b06608f7cdb2455ce05ba834b3214
x86/PCI: Ignore CPU non-addressable _CRS reserved memory resources

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
Cc: stable@kernel.org
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/acpi.c