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

From: Miroslav Benes
Date: Wed Dec 22 2021 - 09:00:50 EST


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@xxxxxxxxxx>

FWIW the patch looks good to me.

Miroslav