[PATCH v4 2/2] riscv: patch: skip fixmap mapping when kernel text is already writable

Paul Walmsley pjw at kernel.org
Thu Aug 13 22:55:35 PDT 2026


On Wed, 12 Aug 2026, Nam Cao wrote:

> Klara Modin <klara at kasm.eu> writes:
> > I have MODULES disabled and thus also STRICT_MODULE_RWX disabled, but
> > still STRICT_KERNEL_RWX enabled. I saw that an earlier version of this
> > patch[1] instead gated the first branch behind STRICT_KERNEL_RWX. That
> > version works fine for me.
> 
> Urgh, I got confused between STRICT_MODULE_RWX and STRICT_KERNEL_RWX, I
> suggested the final version.
> 
> Xiaofeng, can you send a patch?

Just dropped it from riscv/for-next, so, no need to send a revert.  
Xiaofeng, could you send an updated patch?

Thanks to Klara and Prabhakar for reporting the failures promptly!


- Paul



More information about the linux-riscv mailing list