]> Git Repo - linux.git/commit
efi/arm: Revert deferred unmap of early memmap mapping
authorArd Biesheuvel <[email protected]>
Wed, 14 Nov 2018 17:55:41 +0000 (09:55 -0800)
committerIngo Molnar <[email protected]>
Thu, 15 Nov 2018 09:04:46 +0000 (10:04 +0100)
commit33412b8673135b18ea42beb7f5117ed0091798b6
tree295397f138be8c59b37fb654675b46c25e27a5bd
parentef1491e791308317bb9851a0ad380c4a68b58d54
efi/arm: Revert deferred unmap of early memmap mapping

Commit:

  3ea86495aef2 ("efi/arm: preserve early mapping of UEFI memory map longer for BGRT")

deferred the unmap of the early mapping of the UEFI memory map to
accommodate the ACPI BGRT code, which looks up the memory type that
backs the BGRT table to validate it against the requirements of the UEFI spec.

Unfortunately, this causes problems on ARM, which does not permit
early mappings to persist after paging_init() is called, resulting
in a WARN() splat. Since we don't support the BGRT table on ARM anway,
let's revert ARM to the old behaviour, which is to take down the
early mapping at the end of efi_init().

Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Fixes: 3ea86495aef2 ("efi/arm: preserve early mapping of UEFI memory ...")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
drivers/firmware/efi/arm-init.c
drivers/firmware/efi/arm-runtime.c
drivers/firmware/efi/memmap.c
This page took 0.073134 seconds and 4 git commands to generate.