On June 24, 2026 3:50:27 AM GMT+01:00, Feng Tang
<[email protected]> wrote:
>On Tue, Jun 23, 2026 at 03:35:01PM +0000, Bradley Morgan wrote:
>> panic_other_cpus_shutdown() handles SYS_INFO_ALL_BT before stopping the
>> other CPUs. Do not ask sys_info() to handle that bit again later in the
>> panic path.
>> 
>> Use sys_info_without_all_bt() so panic_print=all_bt does not request
>more
>> output after the CPUs are stopped.
>
>Good catch! Thanks!
>
>Later in panic_other_cpus_shutdown(), it sends IPIs to stop other CPUs,
>and
>this patch does avoid dumping local call trace again!
>
>For the whole serie, feel free to add:
>
>Reviewed-by: Feng Tang <[email protected]>
>
>Thanks,
>Feng

Thanks a lot Feng!

All 4 patches, right?

I'll let the maintainer (whomever will merge it) merge it, and add 
your tag!

If you would like, Feng, if you CC me on any watchdog, etc etc patch,
I'm sure I'll help review! :)

Thanks for your tag.


>> 
>> Fixes: b76e89e50fc3 ("panic: generalize panic_print's function to show
>sys info")
>> Cc: [email protected]
>> Signed-off-by: Bradley Morgan <[email protected]>
>> ---
>> Changes since v1:
>> - New patch using the same helper for panic.
>> 
>>  kernel/panic.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/kernel/panic.c b/kernel/panic.c
>> index d030f88ad4ef..2cf229c7c0cf 100644
>> --- a/kernel/panic.c
>> +++ b/kernel/panic.c
>> @@ -683,7 +683,7 @@ void vpanic(const char *fmt, va_list args)
>>       */
>>      atomic_notifier_call_chain(&panic_notifier_list, 0, buf);
>>  
>> -    sys_info(panic_print);
>> +    sys_info_without_all_bt(panic_print);
>>  
>>      kmsg_dump_desc(KMSG_DUMP_PANIC, buf);
>>  
>> -- 
>> 2.53.0
>

Thanks!

Reply via email to