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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7C2DC54EAA for ; Fri, 27 Jan 2023 13:48:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232842AbjA0Ns6 (ORCPT ); Fri, 27 Jan 2023 08:48:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230257AbjA0Nsz (ORCPT ); Fri, 27 Jan 2023 08:48:55 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B757975C for ; Fri, 27 Jan 2023 05:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674827294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kw/UexsSySmCBQfo+jBXXjDxKL8QdcF+X/4S+iGj/Pc=; b=O3AxQckdV5q6H71wQ2a7UXUmPqtmV2J7Fv318SESDx2kJIdSXlPDOIBCP6jjCOxHBLVbxF 335uBcVqW50z13HZcAXLgeWlZFwYZHhz0b0uO/2U7j5gKx2GPh5l8TQRfJv1bPB9l/rp4f odZFBVtpHkqz3x9LFAXQ00mi1EIQ4pg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-553-4jfb2mIeMtO6M4x2NXRfrg-1; Fri, 27 Jan 2023 08:48:09 -0500 X-MC-Unique: 4jfb2mIeMtO6M4x2NXRfrg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B97D585A588; Fri, 27 Jan 2023 13:48:08 +0000 (UTC) Received: from redhat.com (unknown [10.22.33.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8BFD640C141B; Fri, 27 Jan 2023 13:48:07 +0000 (UTC) Date: Fri, 27 Jan 2023 08:48:06 -0500 From: Joe Lawrence To: Josh Poimboeuf Cc: Michael Ellerman , live-patching@vger.kernel.org, Nicholas Piggin , Christophe Leroy , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Song Liu Subject: Re: [PATCH 0/2] powerpc: Fix livepatch module re-patching issue Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) > > -- > 2.39.0 > For the series, Reviewed-and-tested-by: Joe Lawrence -- Joe