From fa784c0f8243ade175e80353fc42e2c1e3a52385 Mon Sep 17 00:00:00 2001 From: Baikal Electronics Date: Thu, 25 Aug 2022 14:11:23 +0300 Subject: [PATCH] arch/mips/lib/bootm.c: do not apply virt_to_phys() to ft_addr since it causes Oops when loading kernel 5.15 --- arch/mips/lib/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 7a4dbfdbe4..0971e4a8c9 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -309,7 +309,7 @@ static void boot_jump_linux(bootm_headers_t *images) trap_restore(); if (images->ft_len) - kernel(-2, virt_to_phys(images->ft_addr), 0, 0); + kernel(-2, images->ft_addr, 0, 0); else kernel(linux_argc, (ulong)linux_argv, (ulong)linux_env, linux_extra); -- 2.39.5