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 <el...@kernel.org>

For "drivers/net/ipa/ipa_smp2p.c":

Acked-by: Alex Elder <el...@kernel.org>

Cc: Alexander Gordeev <agord...@linux.ibm.com>
Cc: Anton Ivanov <anton.iva...@cambridgegreys.com>
Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Cc: Bjorn Andersson <bjorn.anders...@linaro.org>
Cc: Boris Ostrovsky <boris.ostrov...@oracle.com>
Cc: Chris Zankel <ch...@zankel.net>
Cc: Christian Borntraeger <borntrae...@linux.ibm.com>
Cc: Corey Minyard <miny...@acm.org>
Cc: Dexuan Cui <de...@microsoft.com>
Cc: "H. Peter Anvin" <h...@zytor.com>
Cc: Haiyang Zhang <haiya...@microsoft.com>
Cc: Heiko Carstens <h...@linux.ibm.com>
Cc: Helge Deller <del...@gmx.de>
Cc: Ivan Kokshaysky <i...@jurassic.park.msu.ru>
Cc: "James E.J. Bottomley" <james.bottom...@hansenpartnership.com>
Cc: James Morse <james.mo...@arm.com>
Cc: Johannes Berg <johan...@sipsolutions.net>
Cc: Juergen Gross <jgr...@suse.com>
Cc: "K. Y. Srinivasan" <k...@microsoft.com>
Cc: Mathieu Poirier <mathieu.poir...@linaro.org>
Cc: Matt Turner <matts...@gmail.com>
Cc: Mauro Carvalho Chehab <mche...@kernel.org>
Cc: Max Filippov <jcmvb...@gmail.com>
Cc: Michael Ellerman <m...@ellerman.id.au>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Pavel Machek <pa...@ucw.cz>
Cc: Richard Henderson <r...@twiddle.net>
Cc: Richard Weinberger <rich...@nod.at>
Cc: Robert Richter <r...@kernel.org>
Cc: Stefano Stabellini <sstabell...@kernel.org>
Cc: Stephen Hemminger <sthem...@microsoft.com>
Cc: Sven Schnelle <sv...@linux.ibm.com>
Cc: Tony Luck <tony.l...@intel.com>
Cc: Vasily Gorbik <g...@linux.ibm.com>
Cc: Wei Liu <wei....@kernel.org>
Signed-off-by: Guilherme G. Piccoli <gpicc...@igalia.com>
---


. . .

Reply via email to