[RESEND PATCH v2] powerpc/fadump: register for fadump as early as possible

Michael Ellerman patch-notifications at ellerman.id.au
Wed Mar 2 23:41:47 AEDT 2022


On Tue, 1 Feb 2022 16:23:05 +0530, Hari Bathini wrote:
> Crash recovery (fadump) is setup in the userspace by some service.
> This service rebuilds initrd with dump capture capability, if it is
> not already dump capture capable before proceeding to register for
> firmware assisted dump (echo 1 > /sys/kernel/fadump/registered). But
> arming the kernel with crash recovery support does not have to wait
> for userspace configuration. So, register for fadump while setting
> it up itself. This can at worst lead to a scenario, where /proc/vmcore
> is ready afer crash but the initrd does not know how/where to offload
> it, which is always better than not having a /proc/vmcore at all due
> to incomplete configuration in the userspace at the time of crash.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/fadump: register for fadump as early as possible
      https://git.kernel.org/powerpc/c/607451ce0aa9bdff590db4d087173edba6d7a29d

cheers


More information about the Linuxppc-dev mailing list