[PATCH] [B-C-D/master][SRU] efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
Paolo Pisati
paolo.pisati at canonical.com
Wed Feb 20 14:51:33 UTC 2019
BugLink: https://bugs.launchpad.net/bugs/1814982
[Impact]
The Ubuntu kernel is not currently bootable on various arm64 laptops
(HP Envy x2, Asus NovaGo, Lenovo Miix 630, Lenovo Yoga C630, Samsung ...)
because of EFI memory permissions/restrictions. The reason is explained in the
commit supplied below.
[Test Case]
Install and boot Ubuntu on one of the above arm64 laptops.
[Fix]
Committed upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=4e46c2a956215482418d7b315749fb1b6c6bc224
[Regression Risk]
This commit adds support for an optional kernel command line
parameter, off by default.
Clean cherry-pick, the patch is queued for 5.1 and the reporter has tested it
(and reported to be working) on one of the above arm64 laptop.
Ard Biesheuvel (1):
efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
drivers/firmware/efi/libstub/arm-stub.c | 5 +++++
drivers/firmware/efi/libstub/efi-stub-helper.c | 10 ++++++++++
drivers/firmware/efi/libstub/efistub.h | 1 +
drivers/firmware/efi/libstub/fdt.c | 3 +++
4 files changed, 19 insertions(+)
--
2.7.4
More information about the kernel-team
mailing list