Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull EFI fix from Ingo Molnar:
"An arm64 boot crash fix"

* 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
efi/arm64: Don't apply MEMBLOCK_NOMAP to UEFI memory map mapping

+15 -3
+15 -3
drivers/firmware/efi/arm-init.c
··· 203 203 204 204 reserve_regions(); 205 205 early_memunmap(memmap.map, params.mmap_size); 206 - memblock_mark_nomap(params.mmap & PAGE_MASK, 207 - PAGE_ALIGN(params.mmap_size + 208 - (params.mmap & ~PAGE_MASK))); 206 + 207 + if (IS_ENABLED(CONFIG_ARM)) { 208 + /* 209 + * ARM currently does not allow ioremap_cache() to be called on 210 + * memory regions that are covered by struct page. So remove the 211 + * UEFI memory map from the linear mapping. 212 + */ 213 + memblock_mark_nomap(params.mmap & PAGE_MASK, 214 + PAGE_ALIGN(params.mmap_size + 215 + (params.mmap & ~PAGE_MASK))); 216 + } else { 217 + memblock_reserve(params.mmap & PAGE_MASK, 218 + PAGE_ALIGN(params.mmap_size + 219 + (params.mmap & ~PAGE_MASK))); 220 + } 209 221 }