Re: [PATCH v2] powerpc/32: Remove PAGE_KERNEL_TEXT to fix startup failure
From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2025-09-22 05:44:23
Also in:
lkml
From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2025-09-22 05:44:23
Also in:
lkml
On Tue, 09 Sep 2025 12:03:49 +0200, Christophe Leroy wrote:
PAGE_KERNEL_TEXT is an old macro that is used to tell kernel whether kernel text has to be mapped read-only or read-write based on build time options. But nowadays, with functionnalities like jump_labels, static links, etc ... more only less all kernels need to be read-write at some point, and some combinations of configs failed to work due to innacurate setting of PAGE_KERNEL_TEXT. On the other hand, today we have CONFIG_STRICT_KERNEL_RWX which implements a more controlled access to kernel modifications. [...]
Applied to powerpc/next.
[1/1] powerpc/32: Remove PAGE_KERNEL_TEXT to fix startup failure
https://git.kernel.org/powerpc/c/9316512b717f6f25c4649b3fdb0a905b6a318e9f
Thanks