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

From: Nam Cao

Date: Wed Aug 12 2026 - 02:45:10 EST


Klara Modin <klara@xxxxxxx> 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?

Nam