• Ard Biesheuvel's avatar
    efi/arm/arm64: Add missing assignment of efi.config_table · 9a9de5c0
    Ard Biesheuvel authored
    
    
    The ARM EFI init code never assigns the config_table member of the
    efi struct, which means the sysfs device node is missing, and other
    in-kernel users will not work correctly. So add the missing assignment.
    
    Note that, for now, the runtime and fw_vendor members are still
    omitted. This is deliberate: exposing physical addresses via sysfs nodes
    encourages behavior that we would like to avoid on ARM (given how it is
    more finicky about using correct memory attributes when mapping memory
    in userland that may be mapped by the kernel already as well).
    
    Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Matt Fleming <matt@codeblueprint.co.uk>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-efi@vger.kernel.org
    Link: http://lkml.kernel.org/r/20170818194947.19347-6-ard.biesheuvel@linaro.org
    
    
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    9a9de5c0