]> www.infradead.org Git - users/jedix/linux-maple.git/commit
efi/libstub: Bump up EFI_MMAP_NR_SLACK_SLOTS to 32
authorHamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Mon, 9 Dec 2024 18:20:39 +0000 (13:20 -0500)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 19 Dec 2024 10:25:06 +0000 (11:25 +0100)
commitec4696925da6b9baec38345184403ce9e29a2e48
treed0bb7fcda94cb67a90d0c5f7592ec021672dedca
parent78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
efi/libstub: Bump up EFI_MMAP_NR_SLACK_SLOTS to 32

Recent platforms require more slack slots than the current value of
EFI_MMAP_NR_SLACK_SLOTS, otherwise they fail to boot. The current
workaround is to append `efi=disable_early_pci_dma` to the kernel's
cmdline. So, bump up EFI_MMAP_NR_SLACK_SLOTS to 32 to allow those
platforms to boot with the aforementioned workaround.

Signed-off-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Allen Pais <apais@linux.microsoft.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efistub.h