x86: Exclude E820_RESERVED regions and memory holes above 4 GB from direct mapping.
x86: Exclude E820_RESERVED regions and memory holes above 4 GB from direct mapping.

On systems with very large memory (1 TB in our case), BIOS may report a
reserved region or a hole in the E820 map, even above the 4 GB range. Exclude
these from the direct mapping.

[ hpa: this should be done not just for > 4 GB but for everything above the legacy
  region (1 MB), at the very least.  That, however, turns out to require significant
  restructuring.  That work is well underway, but is not suitable for rc/stable. ]

Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@kernel.org   # > 2.6.32
Signed-off-by: Jacob Shin <0e767fafdf344389ad0c105cb1a36b8c3fdb7986@amd.com>
Link: http://lkml.kernel.org/r/1319145326-13902-1-git-send-email-0e767fafdf344389ad0c105cb1a36b8c3fdb7986@amd.com
Signed-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@linux.intel.com>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas