summaryrefslogtreecommitdiff
path: root/arch/x86/xen/efi.c
diff options
context:
space:
mode:
authorDaniel Kiper <daniel.kiper@oracle.com>2017-06-22 12:51:36 +0200
committerIngo Molnar <mingo@kernel.org>2017-06-23 11:11:02 +0200
commit457ea3f7e97881f937136ce0ba1f29f82b9abdb0 (patch)
tree0d5e14635e148ff402d0f53a0c99bc4e25095c6c /arch/x86/xen/efi.c
parentbb817bef3b1989a9cdb40362cfb8d2aa224ac1bc (diff)
efi: Process the MEMATTR table only if EFI_MEMMAP is enabled
Otherwise e.g. Xen dom0 on x86_64 EFI platforms crashes. In theory we can check EFI_PARAVIRT too, however, EFI_MEMMAP looks more targeted and covers more cases. Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: andrew.cooper3@citrix.com Cc: boris.ostrovsky@oracle.com Cc: jgross@suse.com Cc: linux-efi@vger.kernel.org Cc: matt@codeblueprint.co.uk Cc: stable@vger.kernel.org Cc: xen-devel@lists.xenproject.org Link: http://lkml.kernel.org/r/1498128697-12943-2-git-send-email-daniel.kiper@oracle.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/xen/efi.c')
0 files changed, 0 insertions, 0 deletions