[PATCH v2 1/5] powerpc/code-patching: Remove #ifdef CONFIG_STRICT_KERNEL_RWX
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Dec 8 23:40:14 AEDT 2022
On Fri, 2 Dec 2022 09:31:39 +0100, Christophe Leroy wrote:
> No need to have one implementation of patch_instruction() for
> CONFIG_STRICT_KERNEL_RWX and one for !CONFIG_STRICT_KERNEL_RWX.
>
> In patch_instruction(), call raw_patch_instruction() when
> !CONFIG_STRICT_KERNEL_RWX.
>
> In poking_init(), bail out immediately, it will be equivalent
> to the weak default implementation.
>
> [...]
Applied to powerpc/next.
[1/5] powerpc/code-patching: Remove #ifdef CONFIG_STRICT_KERNEL_RWX
https://git.kernel.org/powerpc/c/84ecfe6f38ae4ee779ebd97ee173937fff565bf9
[2/5] powerpc/feature-fixups: Refactor entry fixups patching
https://git.kernel.org/powerpc/c/6076dc349b1c587c74c37027efff76f0fa4646f4
[3/5] powerpc/feature-fixups: Refactor other fixups patching
https://git.kernel.org/powerpc/c/3d1dbbca33a9c6dd3aafd4d14aaea9cc310723e1
[4/5] powerpc/feature-fixups: Do not patch init section after init
https://git.kernel.org/powerpc/c/b988e7797d09379057cf991ae082f9ad7a309a63
[5/5] powerpc/code-patching: Remove protection against patching init addresses after init
https://git.kernel.org/powerpc/c/6f3a81b60091031c2c14eb2373d1937b027deb46
cheers
More information about the Linuxppc-dev
mailing list