[PATCH] riscv: Remove support for XIP kernel
Conor Dooley
conor at kernel.org
Fri Feb 13 02:43:48 PST 2026
On Fri, Feb 13, 2026 at 05:37:45PM +0800, Kunwu Chan wrote:
> On 2/2/26 19:54, Nam Cao wrote:
> > XIP has a history of being broken for long periods of time. In 2023, it was
> > broken for 18 months before getting fixed [1]. In 2024 it was 4 months [2].
> >
> > And now it is broken again since commit a44fb5722199 ("riscv: Add runtime
> > constant support"), 10 months ago.
> >
> > These are clear signs that XIP feature is not being used.
> >
> > I occasionally looked after XIP, but mostly because I was bored and had
> > nothing better to do.
> >
> > Remove XIP support. Revert is possible if someone shows up complaining.
> >
> > Link: https://lore.kernel.org/linux-riscv/20231212-customary-hardcover-e19462bf8e75@wendy/ [1]
> > Link: https://lore.kernel.org/linux-riscv/20240526110104.470429-1-namcao@linutronix.de/ [2]
> > Signed-off-by: Nam Cao <namcao at linutronix.de>
> Hi,
>
> Please don't remove CONFIG_XIP_KERNEL.
>
> Zhouyi Zhou zhouzhouyi at gmail.com <mailto:zhouzhouyi at gmail.com>and I are
> willing to take over
> maintainership and keep it build-tested and maintained going forward.
>
> We will send a MAINTAINERS patch shortly.
I dunno what a MAINTAINERS patch for something like this would even look
like, since XIP stuff is scattered all over the place. More meaningful
would be fixing the purported break due to runtime constants? Sounds
like it would something that could demonstrate your ability to do what
you claim.
Cheers,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260213/e6e1c82d/attachment.sig>
More information about the linux-riscv
mailing list