• Ard Biesheuvel's avatar
    efi: xen: Set EFI_PARAVIRT for Xen dom0 boot on all architectures · d85e3e34
    Ard Biesheuvel authored
    Currently, the EFI_PARAVIRT flag is only used by Xen dom0 boot on x86,
    even though other architectures also support pseudo-EFI boot, where the
    core kernel is invoked directly and provided with a set of data tables
    that resemble the ones constructed by the EFI stub, which never actually
    runs in that case.
    
    Let's fix this inconsistency, and always set this flag when booting dom0
    via the EFI boot path. Note that Xen on x86 does not provide the EFI
    memory map in this case, whereas other architectures do, so move the
    associated EFI_PARAVIRT check into the x86 platform code.
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    d85e3e34
memmap.c 4.12 KB