From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DFDD8C636CC for ; Sun, 5 Feb 2023 16:22:57 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4P8vnX1qFCz3cd4 for ; Mon, 6 Feb 2023 03:22:56 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=R8sbsyni; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=139.178.84.217; helo=dfw.source.kernel.org; envelope-from=jpoimboe@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=R8sbsyni; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4P8vmV1vWlz3bTs for ; Mon, 6 Feb 2023 03:22:02 +1100 (AEDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 51BBD60BAA; Sun, 5 Feb 2023 16:21:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6072DC433EF; Sun, 5 Feb 2023 16:21:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675614118; bh=Ah7JsMso/gKSKfSDC+u0iMmehdce+I9oIrEIjZfxS0M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R8sbsyniUgXIUWBXc5BCiFKfBly8y1P9daSadDPzyWh0yLZxiCqNn4fvTcbigmqli 74h9cjYiPyc+sfvEguC8rT1B1y483Xo5ff7ktYgksIA7hP4VFbjte+aksSnPyr1TG4 gNunv0n5yKFUl3DkK/u48gu9c2rB5+Jb9mmEeLBQdbnqrNINyBQKlYzUXbE9ljurrW VOXtnav+63pHox1hkL4UmBIk7tPlRRern9yUP/0kn74hspxZUuKcaeRbapzCuj8kT8 0fzX1ypuWSVUXqOa9wKmgNeSKQcaR8gCbE0W86Nf6tgRuKUw4ZLSI1wXQbU9PSf6mU vjkkjDb2SCCNA== Date: Sun, 5 Feb 2023 08:21:56 -0800 From: Josh Poimboeuf To: Michael Ellerman Subject: Re: [PATCH 0/2] powerpc: Fix livepatch module re-patching issue Message-ID: <20230205162156.zganuowqio4kva6o@treble> References: <20230204172357.mbudvbtv7tc7vhf3@treble> <87357ley7f.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87357ley7f.fsf@mpe.ellerman.id.au> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, Song Liu , Nicholas Piggin , live-patching@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sun, Feb 05, 2023 at 11:46:12AM +1100, Michael Ellerman wrote: > Josh Poimboeuf 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") Ah, I didn't think to look in -next. Thanks! -- Josh