diff options
author | Matt Fleming | 2016-09-19 13:09:09 +0100 |
---|---|---|
committer | Matt Fleming | 2016-09-20 14:53:04 +0100 |
commit | 1297667083d5442aafe3e337b9413bf02b114edb (patch) | |
tree | 7a17fb76fe1f076b819ca0ac591bcc30db29b6bd /arch/m68k | |
parent | e535ec0899d1fe52ec3a84c9bc03457ac67ad6f7 (diff) |
x86/efi: Only map RAM into EFI page tables if in mixed-mode
Waiman reported that booting with CONFIG_EFI_MIXED enabled on his
multi-terabyte HP machine results in boot crashes, because the EFI
region mapping functions loop forever while trying to map those
regions describing RAM.
While this patch doesn't fix the underlying hang, there's really no
reason to map EFI_CONVENTIONAL_MEMORY regions into the EFI page tables
when mixed-mode is not in use at runtime.
Reported-by: Waiman Long <waiman.long@hpe.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
CC: Theodore Ts'o <tytso@mit.edu>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Scott J Norton <scott.norton@hpe.com>
Cc: Douglas Hatch <doug.hatch@hpe.com>
Cc: <stable@vger.kernel.org> # v4.6+
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions