Message ID | 20220427224924.592546-1-gpiccoli@igalia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.a=rsa-sha256 header.s=20170329 header.b=reO22ihK; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=<UNKNOWN>) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kpdss1tmGz9s2R for <incoming@patchwork.ozlabs.org>; Thu, 28 Apr 2022 11:52:33 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Kpdsr6Pwtz3fD8 for <incoming@patchwork.ozlabs.org>; Thu, 28 Apr 2022 11:52:32 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.a=rsa-sha256 header.s=20170329 header.b=reO22ihK; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=igalia.com (client-ip=178.60.130.6; helo=fanzine2.igalia.com; envelope-from=gpiccoli@igalia.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.a=rsa-sha256 header.s=20170329 header.b=reO22ihK; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4KpZfD6cFwz3bcp for <linuxppc-dev@lists.ozlabs.org>; Thu, 28 Apr 2022 09:27:16 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bd3LEemhVeb7HF/IIMNoiSMnSaTUMrH2fhcorDNVPOw=; b=reO22ihKOd/dWO6JG74IZyl/Fc ZRgGILhVwwQGIlc0vj0pe06pAIL0f1YnsjmZwa63b3ABCQ9Dxtfk7lOpgjSlBlW3mvUPOXpeDqCPF Rai8aA64fPaaS3uA4lyDgYZD5XuD0ZsHxLRl7fSfIQRGLMJx5CN6hSSRnLDC2sMLyPhnDWIKyd1uN dkM7kUYrK18mk3Ol/CnE0I+ZYy1cZnsseboaTczRU6buuvnTvUyLu0/yD31d9xZSykLYiRZ87DJrn 1QwYj7LfEwisoBpfk6PfijWzaR37ghlKX+i9oyA2xcheBwMVt8x9sPCGngmKdbeGAFrivKg5AfP0H 0Qh1iRoA==; Received: from [179.113.53.197] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1njqTd-0001ws-8P; Thu, 28 Apr 2022 00:49:41 +0200 From: "Guilherme G. Piccoli" <gpiccoli@igalia.com> To: akpm@linux-foundation.org, bhe@redhat.com, pmladek@suse.com, kexec@lists.infradead.org Subject: [PATCH 00/30] The panic notifiers refactor Date: Wed, 27 Apr 2022 19:48:54 -0300 Message-Id: <20220427224924.592546-1-gpiccoli@igalia.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 28 Apr 2022 11:34:03 +1000 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linuxppc-dev/> List-Post: <mailto:linuxppc-dev@lists.ozlabs.org> List-Help: <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe> Cc: Paul Mackerras <paulus@samba.org>, Justin Chen <justinpopo6@gmail.com>, Pavel Machek <pavel@ucw.cz>, Alexander Gordeev <agordeev@linux.ibm.com>, "K. Y. Srinivasan" <kys@microsoft.com>, Wei Liu <wei.liu@kernel.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, fabiomirmar@gmail.com, stern@rowland.harvard.edu, Catalin Marinas <catalin.marinas@arm.com>, xen-devel@lists.xenproject.org, Matt Turner <mattst88@gmail.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, linux-pm@vger.kernel.org, linux-um@lists.infradead.org, Nicholas Piggin <npiggin@gmail.com>, luto@kernel.org, Mihai Carabas <mihai.carabas@oracle.com>, tglx@linutronix.de, Xiaoming Ni <nixiaoming@huawei.com>, Richard Henderson <rth@twiddle.net>, Alex Elder <elder@kernel.org>, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, senozhatsky@chromium.org, d.hatayama@jp.fujitsu.com, mhiramat@kernel.org, linux-hyperv@vger.kernel.org, dave.hansen@linux.intel.com, "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>, Max Filippov <jcmvbkbc@gmail.com>, Thierry Reding <thierry.reding@gmail.com>, Neeraj Upadhyay <quic_neeraju@quicinc.com>, linux-s390@vger.kernel.org, Stefano Stabellini <sstabellini@kernel.org>, Stephen Hemminger <sthemmin@microsoft.com>, Corey Minyard <minyard@acm.org>, Tianyu Lan <Tianyu.Lan@microsoft.com>, Helge Deller <deller@gmx.de>, Suzuki K Poulose <suzuki.poulose@arm.com>, Jonathan Hunter <jonathanh@nvidia.com>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Frederic Weisbecker <frederic@kernel.org>, vgoyal@redhat.com, Sven Schnelle <svens@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, linux-xtensa@linux-xtensa.org, john.ogness@linutronix.de, Scott Branden <scott.branden@broadcom.com>, coresight@lists.linaro.org, Florian Fainelli <f.fainelli@gmail.com>, Markus Mayer <mmayer@broadcom.com>, hidehiro.kawai.ez@hitachi.com, Cong Wang <xiyou.wangcong@gmail.com>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Arjan van de Ven <arjan@linux.intel.com>, linux-arm-kernel@lists.infradead.org, Chris Zankel <chris@zankel.net>, Tony Luck <tony.luck@intel.com>, Mathieu Poirier <mathieu.poirier@linaro.org>, Wang ShaoBo <bobo.shaobowang@huawei.com>, gpiccoli@igalia.com, James Morse <james.morse@arm.com>, kernel-dev@igalia.com, halves@canonical.com, alejandro.j.jimenez@oracle.com, Lai Jiangshan <jiangshanlai@gmail.com>, feng.tang@intel.com, Stephen Brennan <stephen.s.brennan@oracle.com>, zhenwei pi <pizhenwei@bytedance.com>, Joel Fernandes <joel@joelfernandes.org>, will@kernel.org, Doug Berger <opendmb@gmail.com>, corbet@lwn.net, Dexuan Cui <decui@microsoft.com>, Evan Green <evgreen@chromium.org>, bcm-kernel-feedback-list@broadcom.com, Mikko Perttunen <mperttunen@nvidia.com>, keescook@chromium.org, arnd@arndb.de, Haiyang Zhang <haiyangz@microsoft.com>, Josh Triplett <josh@joshtriplett.org>, rostedt@goodmis.org, rcu@vger.kernel.org, Ivan Kokshaysky <ink@jurassic.park.msu.ru>, openipmi-developer@lists.sourceforge.net, Bjorn Andersson <bjorn.andersson@linaro.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, linux-parisc@vger.kernel.org, Sebastian Reichel <sre@kernel.org>, linux-alpha@vger.kernel.org, Brian Norris <computersforpeace@gmail.com>, "David S. Miller" <davem@davemloft.net>, peterz@infradead.org, Sebastian Andrzej Siewior <bigeasy@linutronix.de>, linux-remoteproc@vger.kernel.org, mikelley@microsoft.com, "H. Peter Anvin" <hpa@zytor.com>, sparclinux@vger.kernel.org, Robert Richter <rric@kernel.org>, Lee Jones <lee.jones@linaro.org>, Ard Biesheuvel <ardb@kernel.org>, linux-leds@vger.kernel.org, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Marc Zyngier <maz@kernel.org>, x86@kernel.org, Russell King <linux@armlinux.org.uk>, mingo@redhat.com, dyoung@redhat.com, Valentin Schneider <valentin.schneider@arm.com>, Mike Leach <mike.leach@linaro.org>, paulmck@kernel.org, Heiko Carstens <hca@linux.ibm.com>, Shile Zhang <shile.zhang@linux.alibaba.com>, Richard Weinberger <richard@nod.at>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, David Gow <davidgow@google.com>, Julius Werner <jwerner@chromium.org>, linux-tegra@vger.kernel.org, andriy.shevchenko@linux.intel.com, Johannes Berg <johannes@sipsolutions.net>, Hari Bathini <hbathini@linux.ibm.com>, linux-edac@vger.kernel.org, jgross@suse.com, netdev@vger.kernel.org, kernel@gpiccoli.net, linux-mips@vger.kernel.org, Leo Yan <leo.yan@linaro.org>, bp@alien8.de, vkuznets@redhat.com, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" <linuxppc-dev-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
The panic notifiers refactor
|
expand
|
On Wed, 27 Apr 2022 19:48:54 -0300, Guilherme G. Piccoli wrote: > Hey folks, this is an attempt to improve/refactor the dated panic notifiers > infrastructure. This is strongly based in a suggestion made by Pter Mladek [0] > some time ago, and it's finally ready. Below I'll detail the patch ordering, > testing made, etc. > First, a bit about the reason behind this. > > The panic notifiers list is an infrastructure that allows callbacks to execute > during panic time. Happens that anybody can add functions there, no ordering > is enforced (by default) and the decision to execute or not such notifiers > before kdump may lead to high risk of failure in crash scenarios - default is > not to execute any of them. There is a parameter acting as a switch for that. > But some architectures require some notifiers, so..it's messy. > > [...] Patch 8 applied to powerpc/next. [08/30] powerpc/setup: Refactor/untangle panic notifiers https://git.kernel.org/powerpc/c/e2aa34ce80a26d24a0333da9402d533885f239c9 cheers