]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
RISC-V: make ARCH_THEAD preclude XIP_KERNEL
authorConor Dooley <conor.dooley@microchip.com>
Wed, 28 Jun 2023 07:12:30 +0000 (08:12 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 5 Jul 2023 20:21:23 +0000 (22:21 +0200)
commit2fa4139f3e4812de1b827b44ade35a406413f31f
tree89221ed558e5adec7cc27aae191dbf79c00b0ecb
parentbf1fa6f15553df04f2bdd06190ccd5f388ab0777
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.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/all/ab38f6af-cb68-a918-1a63-2e7c927a8ffc@infradead.org/
Fixes: da47ce003963 ("riscv: Add the T-HEAD SoC family Kconfig option")
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230628-left-attractor-94b7bd5fbb83@wendy
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/riscv/Kconfig.socs