summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorDmitry Skorodumov <sdmitry@parallels.com>2015-07-28 18:38:32 +0400
committerMatt Fleming <matt.fleming@intel.com>2015-07-30 18:07:10 +0100
commit7cc03e48965453b5df1cce5062c826189b04b960 (patch)
tree78606cd8d30d063551429e4aa158843184f2225b /drivers/firmware
parentcbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f (diff)
downloadtalos-op-linux-7cc03e48965453b5df1cce5062c826189b04b960.tar.gz
talos-op-linux-7cc03e48965453b5df1cce5062c826189b04b960.zip
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 <sdmitry@parallels.com> Cc: Denis V. Lunev <den@openvz.org> Cc: <stable@vger.kernel.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud