Merge patch series "Fix XIP boot and make XIP testable in QEMU"
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 10 Jan 2024 03:33:25 +0000 (19:33 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 10 Jan 2024 04:10:39 +0000 (20:10 -0800)
commit2bf8acbf542bbc83a72a1c9d3f4f87aab7f2d2c1
treeaad20181183a1f01a7139b7afb5665eb2f793cc2
parenta7565f4d068b2e60f95c3223c3167c40b8fe83ae
parent6c4a2f6329f0925161a80d2fd90aa8438c1ca82f
Merge patch series "Fix XIP boot and make XIP testable in QEMU"

Frederik Haxel <haxel@fzi.de> says:

XIP boot seems to be broken for some time now. A likely reason why no one
seems to have noticed this is that XIP is more difficult to test, as it is
currently not easily testable with QEMU.

These patches fix the XIP boot and allow an XIP build without BUILTIN_DTB,
which in turn makes it easier to test an image with the QEMU virt machine.

* b4-shazam-merge:
  riscv: Allow disabling of BUILTIN_DTB for XIP
  riscv: Fixed wrong register in XIP_FIXUP_FLASH_OFFSET macro
  riscv: Make XIP bootable again

Link: https://lore.kernel.org/r/20231212130116.848530-1-haxel@fzi.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/kernel/head.S