From: Dmitry Skorodumov Date: Tue, 28 Jul 2015 14:38:32 +0000 (+0400) Subject: x86/efi: Use all 64 bit of efi_memmap in setup_e820() X-Git-Tag: omap-for-v4.3/fixes-merge-window~157^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cc03e48965453b5df1cce5062c826189b04b960;p=pandora-kernel.git x86/efi: Use all 64 bit of efi_memmap in setup_e820() The efi_info structure stores low 32 bits of memory map in efi_memmap and high 32 bits in efi_memmap_hi. While constructing pointer in the setup_e820(), need to take into account all 64 bit of the pointer. It is because on 64bit machine the function efi_get_memory_map() may return full 64bit pointer and before the patch that pointer was truncated. The issue is triggered on Parallles virtual machine and fixed with this patch. Signed-off-by: Dmitry Skorodumov Cc: Denis V. Lunev Cc: Signed-off-by: Matt Fleming --- Reading git-diff-tree failed