From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-101.freemail.mail.aliyun.com (out30-101.freemail.mail.aliyun.com [115.124.30.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E014137923; Thu, 25 Jun 2026 03:33:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782358430; cv=none; b=ARk0EXdiKhevmzvtXzvKHxLQ+2CPWl36YEnNjH/RnmWkcudmmyLG/SEqJ9rf9KtKW1i5n8gTmnbki5S1Qd5Bz7bpXk0TYROciSsng5/Tp7RUt1bBpW0StrAEDD5jnq5wi9P2loPepCgAdmpgLMxLUzVOAbOSGzReTo9ho41mqxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782358430; c=relaxed/simple; bh=QsU0U+WQKr9miZ/DK3ZXIbamguJ9Ru8aExrjHQJgKSg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F88Ozp6qVac/CGhXtskm+JV1rP/N3Qg/x9MNRdG0rNDWgEZaAXMHt+UsORfYDuVb9uimrYLE4mA72bQyeJaimDIsXzViOG1GG4zqjfjeSFPr+d1GTqEiujitLckDQpfijJJKb3+2CcMveOFyEEtYYi0OpGkfHAFJImGdL9ytc0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=Ap1gpSmX; arc=none smtp.client-ip=115.124.30.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="Ap1gpSmX" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1782358419; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; bh=QK/WgekjtjSCmNGa+5JxIa5FygQOjUBbLChzAd+upEE=; b=Ap1gpSmXeO8nEU8qqcpht2qRb34oHEok9ft9xWN5WYG3T9vMbh5GtulnAOEp6nE3f4ygaeuupR4m2SMZn6GzHuMaAGRhOvgvfkzBppvfcpqn50cVUAvvczM1B6WDEaYBbnjTlqWDXw+lkenDLFlEGJ+e3vzQwrKbZfZm9yVhdqo= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033045098064;MF=feng.tang@linux.alibaba.com;NM=1;PH=DS;RN=24;SR=0;TI=SMTPD_---0X5a-j0z_1782358416; Received: from localhost(mailfrom:feng.tang@linux.alibaba.com fp:SMTPD_---0X5a-j0z_1782358416 cluster:ay36) by smtp.aliyun-inc.com; Thu, 25 Jun 2026 11:33:37 +0800 Date: Thu, 25 Jun 2026 11:33:36 +0800 From: Feng Tang To: Bradley Morgan Cc: Petr Mladek , Andrew Morton , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Mukesh Kumar Chaurasiya , Andy Shevchenko , Jinchao Wang , Kees Cook , Rio , Joel Granados , Pnina Feder , Petr Pavlu , Sergey Senozhatsky , Douglas Anderson , Mayank Rungta , Tejun Heo , Zhenguo Yao , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 4/4] panic: avoid duplicate all CPU backtraces from sys_info Message-ID: References: <9b8c96e291696815d3c7de5d3e199298dee0279d.1782228656.git.include@grrlz.net> <2199a8b4da8700b9f27e61486293e9c26ab107ef.1782228656.git.include@grrlz.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Wed, Jun 24, 2026 at 05:12:28PM +0100, Bradley Morgan wrote: > On June 24, 2026 3:50:27 AM GMT+01:00, Feng Tang > 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 > > > >Thanks, > >Feng > > Thanks a lot Feng! > > All 4 patches, right? Yes. > > 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. No problem. Thanks for fixing the bug I introduced! :) - Feng