]> xenbits.xensource.com Git - xen.git/commit
x86/EFI: don't accept 64-bit base relocations on page tables
authorJan Beulich <jbeulich@suse.com>
Thu, 15 Sep 2016 08:06:56 +0000 (10:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 15 Sep 2016 08:06:56 +0000 (10:06 +0200)
commit5ae7811c5c2b94c43930858d2e2880bc10cbf242
treec3bdfb98dcdddd34a5f00ee021d847e6fb4f28ed
parent3ab5fb9a9eeb2b610d5d74419e0b1ffaf18484f2
x86/EFI: don't accept 64-bit base relocations on page tables

Page tables get pre-populated with physical addresses which, due to
living inside the Xen image, will never exceed 32 bits in width. That
in turn results in the tool generating the relocations to produce
32-bit relocations for them instead of the 64-bit ones needed for
relocating virtual addresses. Hence instead of special casing page
tables in the processing of 64-bit relocations, let's be more rigid
and refuse them (as being indicative of something else having gone
wrong in the build process).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/efi/efi-boot.h