x86/PCI: Ignore CPU non-addressable _CRS reserved memory resources
commit0a4179971477550df61b9218e664eb9128abf2e3
authorGary Hade <garyhade@us.ibm.com>
Mon, 14 Nov 2011 23:42:16 +0000 (14 15:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Jan 2012 01:24:39 +0000 (25 17:24 -0800)
tree33309b9b7433ddd33dfc82b0de16df8644e8e181
parent65d61b46700e059210b4c9f63355d57dc0e1a18e
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