Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3101928pxb; Mon, 1 Nov 2021 07:55:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywV+zpVdQE87tOdUfoLl42Qc4bclwpt/HYGmBEilbFdVjQpnSgB9jNvy8v8i9NbcAZbd2V X-Received: by 2002:a17:907:6e16:: with SMTP id sd22mr23995035ejc.542.1635778520185; Mon, 01 Nov 2021 07:55:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635778520; cv=none; d=google.com; s=arc-20160816; b=vjGVu9OaNlHcdrvFPkS+SAkX1h7Guds8d98LPJxgImzIKoG/5ug3d5S0xhDxsREPlu KtoZkn64g3mU9K74YC07oWd1OJv6c1wP/Cv+8h91WKgE0mdo2cAd4s4O0FVtOgvtCyTr Tr3EDmxxwpbCJRJQBB/8HZUdif9TsrxK7fNXVfDbo35nYYrSmt6Rp6uCRFNbAClLWgRS kXthv8QBBlydMmRtFZ1wVKMfkw7jMkucf5VI4q0gU0j9jI9Vquonxlgcmekth0QNfxHW ymkxaHv8l+HTtZEemmqrnlWs5kq3n1AHwF0sVYgmhkAncGNX/UbHn8ZBS66PZIq1feCu +Z3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature:dkim-signature; bh=S57HysUOBDmaPPkxy9xFNLNnV0qtuzg356ms8vO+zDs=; b=OjtShM6Jr+MGTDD7Xg9FTMxsWlVyLRmfwjzKVWuEkYfqC+CyMXkMgK1eYUXg5mH368 1nc6Dirob34nN5J/DI+/Pz2/QEdjnibjyBmZosky6bYbKQLfCdd6+EqqLQfMYDsHdx/y 85WUGqzy2avXgZ/L61xjtZOtnRUMtCmIdNMpESnDVqpRLeewry/yD05/kJQZIuWluK9y sB2hCxKpc0bvYLynbj1bQxN+4oMrUDenHXTkPOoBSvlubnyO66sQ1V33i/7Bnaqy6MiC 0DNyyC+mmbqb1aeX9PVlPiQD1jyEIpPs0N4NbNkclB/81byTik7TatE/QDp9kl1ZG1UZ JQfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="nLv/ytfi"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp2si9406710ejc.328.2021.11.01.07.54.55; Mon, 01 Nov 2021 07:55:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="nLv/ytfi"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231741AbhKAOxf (ORCPT + 99 others); Mon, 1 Nov 2021 10:53:35 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:56310 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbhKAOxe (ORCPT ); Mon, 1 Nov 2021 10:53:34 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 3667E212C4; Mon, 1 Nov 2021 14:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1635778259; h=from:from:reply-to: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=S57HysUOBDmaPPkxy9xFNLNnV0qtuzg356ms8vO+zDs=; b=nLv/ytfioPKJ2E5inNqVfktlCIOh/RPq/TlUvEwD1rgVLFbnikQWvgIYm0r/+YenHEb510 +FNTcadrc/mOf1cy8uwCKQFzWvFzNJzejuqTos3otALVjlqAO/6KIk7tU5rWWsiWl115uS 1Bxs+rsKmQbL/dmXmw8WUxxmkKl2z7U= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1635778259; h=from:from:reply-to: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=S57HysUOBDmaPPkxy9xFNLNnV0qtuzg356ms8vO+zDs=; b=iyf/3iVAxxHKP+6EEdNXf4jPP4/47uaCQuTqXGFTdNiJUg/ClccGZ5pHL+GGYn0EppdCQC bsi3/nLwLHHiOmCg== Received: from pobox.suse.cz (pobox.suse.cz [10.100.2.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 8FBF4A3B83; Mon, 1 Nov 2021 14:50:58 +0000 (UTC) Date: Mon, 1 Nov 2021 15:50:58 +0100 (CET) From: Miroslav Benes To: Christophe Leroy cc: Josh Poimboeuf , Jiri Kosina , Petr Mladek , Joe Lawrence , Steven Rostedt , Ingo Molnar , "Naveen N . Rao" , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, live-patching@vger.kernel.org Subject: Re: [PATCH v1 0/5] Implement livepatch on PPC32 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, 28 Oct 2021, Christophe Leroy wrote: > This series implements livepatch on PPC32. > > This is largely copied from what's done on PPC64. > > Christophe Leroy (5): > livepatch: Fix build failure on 32 bits processors > powerpc/ftrace: No need to read LR from stack in _mcount() > powerpc/ftrace: Add module_trampoline_target() for PPC32 > powerpc/ftrace: Activate HAVE_DYNAMIC_FTRACE_WITH_REGS on PPC32 > powerpc/ftrace: Add support for livepatch to PPC32 > > arch/powerpc/Kconfig | 2 +- > arch/powerpc/include/asm/livepatch.h | 4 +- > arch/powerpc/kernel/module_32.c | 33 +++++ > arch/powerpc/kernel/trace/ftrace.c | 53 +++----- > arch/powerpc/kernel/trace/ftrace_32.S | 187 ++++++++++++++++++++++++-- > kernel/livepatch/core.c | 4 +- > 6 files changed, 230 insertions(+), 53 deletions(-) thanks for the patch set! I wondered whether the reliability of stack traces also applies to PPC32. This was obviously resolved by accdd093f260 ("powerpc: Activate HAVE_RELIABLE_STACKTRACE for all"). Did the patch set pass the selftests in tools/testing/selftests/livepatch/ ? Regards Miroslav