--- zzzz-none-000/linux-4.1.38/kernel/panic.c 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/kernel/panic.c 2020-11-25 10:06:48.000000000 +0000 @@ -121,6 +121,18 @@ if (!crash_kexec_post_notifiers) crash_kexec(NULL); +#if defined(CONFIG_AVM_FASTIRQ) + /*--- der notifier will auch noch was dumpen! ---*/ + atomic_notifier_call_chain(&panic_notifier_list, 0, buf); + kmsg_dump(KMSG_DUMP_PANIC); + + /* + * Note smp_send_stop is the usual smp shutdown function, which + * unfortunately means it may not be hardened to work in a panic + * situation. + */ + smp_send_stop(); +#else /* * Note smp_send_stop is the usual smp shutdown function, which * unfortunately means it may not be hardened to work in a panic @@ -135,6 +147,7 @@ atomic_notifier_call_chain(&panic_notifier_list, 0, buf); kmsg_dump(KMSG_DUMP_PANIC); +#endif/*--- #else ---*//*--- #if defined(CONFIG_AVM_FASTIRQ) ---*/ /* * If you doubt kdump always works fine in any situation, @@ -143,7 +156,7 @@ * Note: since some panic_notifiers can make crashed kernel * more unstable, it can increase risks of the kdump failure too. */ - crash_kexec(NULL); + crash_kexec(NULL); bust_spinlocks(0);