linux/drivers/firmware/efi
WANG Rui cda92ac47c efi/libstub: Synchronize instruction cache after kernel relocation
The relocated kernel image is copied to its new location using memcpy().
On architectures with separate instruction and data caches, the copied
instructions may remain stale in the instruction cache, leading to the
execution of outdated contents.

Call efi_cache_sync_image() after the relocation copy to ensure the
instruction cache is synchronized with the updated memory contents before
control is transferred to the relocated kernel.

Signed-off-by: WANG Rui <r@hev.cc>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2026-04-29 08:56:16 +02:00
..
libstub efi/libstub: Synchronize instruction cache after kernel relocation 2026-04-29 08:56:16 +02:00
stmm efi: stmm: Constify struct efivar_operations 2026-02-18 11:26:20 +01:00
test Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
apple-properties.c memblock, treewide: make memblock_free() handle late freeing 2026-04-01 11:20:15 +03:00
arm-runtime.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
capsule-loader.c efi/capsule-loader: fix incorrect sizeof in phys array reallocation 2026-04-10 18:14:21 +02:00
capsule.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cper_cxl.c efi/cper, cxl: Remove cper_cxl.h 2025-02-06 11:27:16 -07:00
cper-arm.c EFI/CPER: don't go past the ARM processor CPER record buffer 2026-01-14 17:04:21 +01:00
cper-x86.c efi/cper: Fix cper_ia_proc_ctx alignment 2025-02-23 17:30:04 +01:00
cper.c Merge branch 'acpi-apei' 2026-02-05 15:17:54 +01:00
dev-path-parser.c driver core: Constify API device_find_child() and adapt for various usages 2025-01-03 11:19:35 +01:00
earlycon.c sysfb: Replace screen_info with sysfb_primary_display 2025-12-16 14:12:44 +01:00
efi-bgrt.c efi: Enable BGRT loading under Xen 2026-03-10 21:56:46 +01:00
efi-init.c firmware: efi: Never declare sysfb_primary_display on x86 2026-04-08 16:09:11 +02:00
efi-pstore.c efi: pstore: Drop efivar lock when efi_pstore_open() returns with an error 2026-04-28 12:31:02 +02:00
efi.c EFI updates for v7.0 2026-04-16 08:06:25 -07:00
efibc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
embedded-firmware.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
esrt.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fdtparams.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
Kconfig efi: Explain OVMF acronym in OVMF_DEBUG_LOG help text 2025-08-29 19:02:04 +02:00
Makefile efi: add ovmf debug log driver 2025-07-09 20:31:38 +10:00
memattr.c efi/memattr: Fix thinko in table size sanity check 2026-04-09 16:27:52 +02:00
memmap.c efi: Improve logging around memmap init 2025-05-09 11:07:28 +02:00
mokvar-table.c x86/efi: defer freeing of boot services memory 2026-02-25 12:02:48 +01:00
ovmf-debug-log.c efi: add ovmf debug log driver 2025-07-09 20:31:38 +10:00
rci2-table.c efi: rci2: mark bin_attribute as __ro_after_init 2025-02-21 09:20:32 +01:00
reboot.c efi: Fix efi_power_off() not being run before acpi_power_off() when necessary 2022-07-10 17:41:06 +02:00
riscv-runtime.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
runtime-wrappers.c efi/runtime-wrappers: Keep track of the efi_runtime_lock owner 2025-11-11 18:59:22 +00:00
sysfb_efi.c sysfb: Replace screen_info with sysfb_primary_display 2025-12-16 14:12:44 +01:00
tpm.c tpm: fix unsigned/signed mismatch errors related to __calc_tpm2_event_size 2024-10-15 20:27:29 +02:00
unaccepted_memory.c efi: Align unaccepted memory range to page boundary 2026-02-18 11:26:20 +01:00
vars.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00