Re: [PATCH 0/2] powerpc: Fix livepatch module re-patching issue

Michael Ellerman
2023-02-05T00:46:28Z

Josh Poimboeuf <jpoimboe@kernel.org> writes:
> On Tue, Jan 24, 2023 at 07:38:03PM -0800, Josh Poimboeuf wrote:
>> Fix a livepatch bug seen when reloading a patched module.
>>
>> This is the powerpc counterpart to Song Liu's fix for a similar issue on
>> x86:
>>
>> https://lkml.kernel.org/lkml/20230121004945.697003-2-song@kernel.org
>>
>> Josh Poimboeuf (2):
>> powerpc/module_64: Improve restore_r2() return semantics
>> powerpc/module_64: Fix "expected nop" error on module re-patching
>>
>> arch/powerpc/kernel/module_64.c | 29 ++++++++++++++++++-----------
>> 1 file changed, 18 insertions(+), 11 deletions(-)
>
> Hi Michael,
>
> Ping? Any objections to this?
>
> The x86 counterpart to this is queued for 6.3, it would be nice if this
> also landed. We could take it through the livepatch tree if needed.

It's in my next since about a week. Sorry I forgot to send the
"accepted" emails (which I still don't have automated :/ ).

337251c7114e1 ("powerpc/module_64: Fix "expected nop" error on module re-patching")

cheers