[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175851974398.1538174.8962787308474262577.b4-ty@linux.ibm.com>
Date: Mon, 22 Sep 2025 11:13:53 +0530
From: Madhavan Srinivasan <maddy@...ux.ibm.com>
To: Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
Erhard Furtner <erhard_f@...lbox.org>
Subject: Re: [PATCH v2] powerpc/32: Remove PAGE_KERNEL_TEXT to fix startup failure
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
Powered by blists - more mailing lists