[PATCH 21/30] panic: Introduce the panic pre-reboot notifier list
Alex Elder
elder at ieee.org
Thu Apr 28 07:13:19 PDT 2022
On 4/27/22 5:49 PM, Guilherme G. Piccoli wrote:
> This patch renames the panic_notifier_list to panic_pre_reboot_list;
> the idea is that a subsequent patch will refactor the panic path
> in order to better split the notifiers, running some of them very
> early, some of them not so early [but still before kmsg_dump()] and
> finally, the rest should execute late, after kdump. The latter ones
> are now in the panic pre-reboot list - the name comes from the idea
> that these notifiers execute before panic() attempts rebooting the
> machine (if that option is set).
>
> We also took the opportunity to clean-up useless header inclusions,
> improve some notifier block declarations (e.g. in ibmasm/heartbeat.c)
> and more important, change some priorities - we hereby set 2 notifiers
> to run late in the list [iss_panic_event() and the IPMI panic_event()]
> due to the risks they offer (may not return, for example).
> Proper documentation is going to be provided in a subsequent patch,
> that effectively refactors the panic path.
>
> Cc: Alex Elder <elder at kernel.org>
For "drivers/net/ipa/ipa_smp2p.c":
Acked-by: Alex Elder <elder at kernel.org>
> Cc: Alexander Gordeev <agordeev at linux.ibm.com>
> Cc: Anton Ivanov <anton.ivanov at cambridgegreys.com>
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Bjorn Andersson <bjorn.andersson at linaro.org>
> Cc: Boris Ostrovsky <boris.ostrovsky at oracle.com>
> Cc: Chris Zankel <chris at zankel.net>
> Cc: Christian Borntraeger <borntraeger at linux.ibm.com>
> Cc: Corey Minyard <minyard at acm.org>
> Cc: Dexuan Cui <decui at microsoft.com>
> Cc: "H. Peter Anvin" <hpa at zytor.com>
> Cc: Haiyang Zhang <haiyangz at microsoft.com>
> Cc: Heiko Carstens <hca at linux.ibm.com>
> Cc: Helge Deller <deller at gmx.de>
> Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
> Cc: "James E.J. Bottomley" <James.Bottomley at HansenPartnership.com>
> Cc: James Morse <james.morse at arm.com>
> Cc: Johannes Berg <johannes at sipsolutions.net>
> Cc: Juergen Gross <jgross at suse.com>
> Cc: "K. Y. Srinivasan" <kys at microsoft.com>
> Cc: Mathieu Poirier <mathieu.poirier at linaro.org>
> Cc: Matt Turner <mattst88 at gmail.com>
> Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
> Cc: Max Filippov <jcmvbkbc at gmail.com>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Pavel Machek <pavel at ucw.cz>
> Cc: Richard Henderson <rth at twiddle.net>
> Cc: Richard Weinberger <richard at nod.at>
> Cc: Robert Richter <rric at kernel.org>
> Cc: Stefano Stabellini <sstabellini at kernel.org>
> Cc: Stephen Hemminger <sthemmin at microsoft.com>
> Cc: Sven Schnelle <svens at linux.ibm.com>
> Cc: Tony Luck <tony.luck at intel.com>
> Cc: Vasily Gorbik <gor at linux.ibm.com>
> Cc: Wei Liu <wei.liu at kernel.org>
> Signed-off-by: Guilherme G. Piccoli <gpiccoli at igalia.com>
> ---
>
. . .
More information about the kexec
mailing list