Inspired by commit d57d6fe5bf34 ("drivers: hv: log when enabling crash_kexec_post_notifiers"), a good idea is to signal on dmesg about unconditionally enabling the kernel parameter crash_kexec_post_notifiers, which affects how kdump works. By checking the source code, found 2 more cases besides Hyper-V, so let's print that on dmesg for them as well. Signed-off-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx> --- arch/powerpc/kernel/fadump.c | 1 + arch/x86/virt/svm/sev.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c index a612e7513a4f..37dee89a0bf2 100644 --- a/arch/powerpc/kernel/fadump.c +++ b/arch/powerpc/kernel/fadump.c @@ -1819,6 +1819,7 @@ int __init setup_fadump(void) * notifiers are invoked. */ crash_kexec_post_notifiers = true; + pr_info("PPC/fadump: enabling crash_kexec_post_notifiers\n"); return 1; } diff --git a/arch/x86/virt/svm/sev.c b/arch/x86/virt/svm/sev.c index 0ce17766c0e5..ac445ad2fcc8 100644 --- a/arch/x86/virt/svm/sev.c +++ b/arch/x86/virt/svm/sev.c @@ -257,6 +257,7 @@ static int __init snp_rmptable_init(void) * notifier is invoked to do SNP IOMMU shutdown before kdump. */ crash_kexec_post_notifiers = true; + pr_info("AMD/SEV: enabling crash_kexec_post_notifiers\n"); return 0; -- 2.46.0 _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec