riscv: Make XIP bootable again
authorFrederik Haxel <haxel@fzi.de>
Tue, 12 Dec 2023 13:01:12 +0000 (14:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:31 +0000 (20:14 +0000)
commite792a03d06b3f334725c025f930b700fb628b8ed
treef8f32f4249a255298ec8b22ef28f3f487bc7b78a
parentaca8d2587223c4be7adac2fbb31d28db38c97ad3
riscv: Make XIP bootable again

[ Upstream commit 66f1e68093979816a23412a3fad066f5bcbc0360 ]

Currently, the XIP kernel seems to fail to boot due to missing
XIP_FIXUP and a wrong page_offset value. A superfluous XIP_FIXUP
has also been removed.

Signed-off-by: Frederik Haxel <haxel@fzi.de>
Link: https://lore.kernel.org/r/20231212130116.848530-2-haxel@fzi.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/kernel/head.S
arch/riscv/mm/init.c