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 tag 'x86-urgent-2023-07-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Thomas Gleixner:
"A single regression fix for x86:

Moving the invocation of arch_cpu_finalize_init() earlier in the boot
process caused a boot regression on IBT enabled system.

The root cause is not the move of arch_cpu_finalize_init() itself. The
system fails to boot because the subsequent efi_enter_virtual_mode()
code has a non-IBT safe EFI call inside. This was not noticed before
because IBT was enabled after the EFI initialization.

Switching the EFI call to use the IBT safe wrapper cures the problem"

* tag 'x86-urgent-2023-07-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/efi: Make efi_set_virtual_address_map IBT safe

+3 -3
+3 -3
arch/x86/platform/efi/efi_64.c
··· 853 853 854 854 /* Disable interrupts around EFI calls: */ 855 855 local_irq_save(flags); 856 - status = efi_call(efi.runtime->set_virtual_address_map, 857 - memory_map_size, descriptor_size, 858 - descriptor_version, virtual_map); 856 + status = arch_efi_call_virt(efi.runtime, set_virtual_address_map, 857 + memory_map_size, descriptor_size, 858 + descriptor_version, virtual_map); 859 859 local_irq_restore(flags); 860 860 861 861 efi_fpu_end();