linux/drivers/firmware
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
..
arm_ffa soc: drivers for 7.1 2026-04-16 20:34:34 -07:00
arm_scmi soc: drivers for 7.1 2026-04-16 20:34:34 -07:00
broadcom mm.git review status for linus..mm-nonmm-stable 2026-02-12 12:13:01 -08:00
cirrus ASoC: amd: Move to GPIO descriptors 2026-03-16 01:11:23 +00:00
efi efi/libstub: Synchronize instruction cache after kernel relocation 2026-04-29 08:56:16 +02:00
google Merge drm/drm-next into drm-misc-next 2026-02-23 11:48:20 +01:00
imx firmware: imx: sm-misc: Dump syslog info 2026-01-17 10:32:21 +08:00
meson firmware: firmware: meson-sm: fix compile-test default 2025-09-10 09:31:20 +02:00
microchip RISC-V soc fixes for v7.0-rc6 2026-04-01 13:42:51 +02:00
psci Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
qcom firmware: qcom: scm: Allow QSEECOM on Lenovo IdeaCentre Mini X 2026-04-02 16:09:01 -05:00
samsung firmware: exynos-acpm: Drop fake 'const' on handle pointer 2026-02-28 15:47:03 +01:00
smccc Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tegra firmware: tegra: bpmp: Add tegra_bpmp_get_with_id() function 2026-03-27 16:24:36 +01:00
xilinx treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
arm_scpi.c firmware: arm_scpi: Fix device_node reference leak in probe path 2026-03-07 19:49:52 +00:00
arm_sdei.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dmi_scan.c x86/CPU/AMD: Print AGESA string from DMI additional information entry 2026-04-01 20:54:16 +02:00
dmi-id.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dmi-sysfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
edd.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
iscsi_ibft_find.c
iscsi_ibft.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig soc: drivers for 6.16 2025-05-31 07:53:30 -07:00
Makefile soc: driver updates for 6.15, part 1 2025-03-27 09:05:55 -07:00
memmap.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
mtk-adsp-ipc.c firmware: Switch back to struct platform_driver::remove() 2024-11-12 12:55:56 +01:00
qemu_fw_cfg.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
raspberrypi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
stratix10-rsu.c firmware: stratix10-rsu: Fix NULL pointer dereference when RSU is disabled 2026-02-24 21:40:06 -06:00
stratix10-svc.c firmware: stratix10-svc: Add Multi SVC clients support 2026-03-10 11:32:31 -05:00
sysfb_simplefb.c efi: sysfb_efi: Reduce number of references to global screen_info 2025-12-16 14:12:44 +01:00
sysfb.c sysfb: Pass sysfb_primary_display to devices 2025-12-16 14:12:44 +01:00
thead,th1520-aon.c firmware: thead: Fix buffer overflow and use standard endian macros 2026-04-01 13:03:07 +02:00
ti_sci.c firmware: ti_sci: Partial-IO support 2025-11-13 13:03:55 -06:00
ti_sci.h firmware: ti_sci.h: fix all kernel-doc warnings 2025-12-15 07:16:51 -06:00
trusted_foundations.c
turris-mox-rwtm.c firmware: turris-mox-rwtm: Add support for ECDSA signatures with HW private key 2025-03-20 17:56:57 +01:00