]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
efi/loongarch: Implement efi_cache_sync_image()
authorWANG Rui <r@hev.cc>
Mon, 27 Apr 2026 08:47:20 +0000 (16:47 +0800)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 29 Apr 2026 06:56:16 +0000 (08:56 +0200)
commitad6f4f3ea72f866176f9dd6031c8778da088c686
tree6bdb36f7fd47166e471790a95595b6d13743ae0c
parent883a32793c86091ea37bb84f88cc697d019e7a5d
efi/loongarch: Implement efi_cache_sync_image()

Provide a LoongArch implementation of efi_cache_sync_image() to ensure
instruction cache coherency after the kernel image is relocated.

Signed-off-by: WANG Rui <r@hev.cc>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/loongarch.c