RISC-V: make ARCH_THEAD preclude XIP_KERNEL
Randy reported build errors in linux-next where XIP_KERNEL was enabled. ARCH_THEAD requires alternatives to support the non-standard ISA extensions used by the THEAD cores, which are mutually exclusive with XIP kernels. Clone the dependency list from the Allwinner entry, since Allwinner's D1 uses T-Head cores with the same non-standard extensions.
---
A fix for a randconfig issue Randy spotted in linux-next at the weekend. This fix has been in linux-next since Monday. Noticed your PRs hadn't gone out, so figured I should send this, rather than let the issue sneak into mainline.
--- arch/riscv/Kconfig.socs | 1 + 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.socs +1 -0
@@ -43,6 +43,7 @@ config ARCH_SUNXI config ARCH_THEAD bool "T-HEAD RISC-V SoCs" + depends on MMU && !XIP_KERNEL select ERRATA_THEAD help This enables support for the RISC-V based T-HEAD SoCs.
Signature · 1 line
2.40.1
This patch was applied to soc/soc.git (arm/fixes) by Arnd Bergmann <[email protected]>:
Hello:
This patch was applied to soc/soc.git (arm/fixes)
by Arnd Bergmann <[email protected]>:
Quoted 15 lines · On Wed, 28 Jun 2023 08:12:30 +0100 you wrote:
Randy reported build errors in linux-next where
XIP_KERNELwas enabled.ARCH_THEADrequires alternatives to support the non-standard ISA extensions used by the THEAD cores, which are mutually exclusive with XIP kernels. Clone the dependency list from the Allwinner entry, since Allwinner's D1 uses T-Head cores with the same non-standard extensions.Reported-by Randy Dunlap <[email protected]>Reviewed-by Randy Dunlap <[email protected]>Fixes da47ce003963 ("riscv: Add the T-HEAD SoC family Kconfig option")Reviewed-by Palmer Dabbelt <[email protected]>Acked-by Palmer Dabbelt <[email protected]>Signed-off-by Conor Dooley <[email protected]>
Quoted 1 line
[...]
Here is the summary with links:
- [GIT,PULL] RISC-V: make ARCH_THEAD preclude XIP_KERNEL
https://git.kernel.org/soc/soc/c/2fa4139f3e48
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html