summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2021-04-08 16:23:03 +0800
committerPeter Jones <pjones@redhat.com>2021-04-12 17:08:52 -0400
commit4068fd42c891ea6ebdec056f461babc6e4048844 (patch)
tree5ff1200af6cbcb9a09409f4baa0b293c77c569b6 /lib
parent5b3ca0d2f7b5f425ba1a14db8ce98b8d95a2f89f (diff)
downloadefi-boot-shim-4068fd42c891ea6ebdec056f461babc6e4048844.tar.gz
efi-boot-shim-4068fd42c891ea6ebdec056f461babc6e4048844.zip
mok: allocate MOK config table as BootServicesData
Linux kernel is picky when reserving the memory for x86 and it only expects BootServicesData: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/platform/efi/quirks.c?h=v5.11#n254 Otherwise, the following error would show during system boot: Apr 07 12:31:56.743925 localhost kernel: efi: Failed to lookup EFI memory descriptor for 0x000000003dcf8000 Although BootServicesData would be reclaimed after ExitBootService(), linux kernel reserves MOK config table when it detects the existence of the table, so it's fine to allocate the table as BootServicesData. Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions