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

2021-12-22 Thread Miroslav Benes
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

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

2021-12-20 Thread Christophe Leroy
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 livep