[PATCH v2 04/13] powerpc/ftrace: Add support for livepatch to PPC32

Miroslav Benes mbenes at suse.cz
Thu Dec 23 01:00:46 AEDT 2021


On Mon, 20 Dec 2021, Christophe Leroy wrote:

> PPC64 needs some special logic to properly set up the TOC.
> See commit 85baa095497f ("powerpc/livepatch: Add live patching support
> on ppc64le") for details.
> 
> PPC32 doesn't have TOC so it doesn't need that logic, so adding
> LIVEPATCH support is straight forward.
> 
> Add CONFIG_LIVEPATCH_64 and move livepatch stack logic into that item.
> 
> Livepatch sample modules all work.

Great.
 
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>

FWIW the patch looks good to me.

Miroslav


More information about the Linuxppc-dev mailing list