powerpc/fadump: Unregister fadump on kexec down path.
Michael Ellerman
patch-notifications at ellerman.id.au
Wed May 9 00:52:38 AEST 2018
On Fri, 2018-04-27 at 06:23:18 UTC, Mahesh J Salgaonkar wrote:
> From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
>
> Unregister fadump on kexec down path otherwise the fadump registration in
> new kexec-ed kernel complains that fadump is already registered. This
> makes new kernel to continue using fadump registered by previous kernel
> which may lead to invalid vmcore generation. Hence this patch fixes this
> issue by un-registering fadump in fadump_cleanup() which is called during
> kexec path so that new kernel can register fadump with new valid values.
>
> Fixes: b500afff11f6 ("fadump: Invalidate registration and release reserved memory for general use.")
> Cc: stable at vger.kernel.org
> Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/722cde76d68e8cc4f3de42e71c82fd
cheers
More information about the Linuxppc-dev
mailing list