[PATCH v3 1/2] vmcore: remove dependency with is_kdump_kernel() for exporting vmcore
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Sep 21 02:30:00 PDT 2023
On Tue, 12 Sep 2023 13:59:49 +0530, Hari Bathini wrote:
> Currently, is_kdump_kernel() returns true when elfcorehdr_addr is set.
> While elfcorehdr_addr is set for kexec based kernel dump mechanism,
> alternate dump capturing methods like fadump [1] also set it to export
> the vmcore. Since, is_kdump_kernel() is used to restrict resources in
> crash dump capture kernel and such restrictions may not be desirable
> for fadump, allow is_kdump_kernel() to be defined differently for such
> scenarios. With this, is_kdump_kernel() could be false while vmcore is
> usable. So, remove unnecessary dependency with is_kdump_kernel(), for
> exporting vmcore.
>
> [...]
Applied to powerpc/next.
[1/2] vmcore: remove dependency with is_kdump_kernel() for exporting vmcore
https://git.kernel.org/powerpc/c/86328b338c3996b814417dd68e3f899a1a649059
[2/2] powerpc/fadump: make is_kdump_kernel() return false when fadump is active
https://git.kernel.org/powerpc/c/b098f1c32365304633077d73e4ae21c72d4241b3
cheers
More information about the kexec
mailing list