From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 60A7721CFFA for ; Sat, 16 Aug 2025 07:15:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755328514; cv=none; b=U8JlEmDF9oMoLWIMtGsp8p9Kd9csLX3W+PGEm1crGlcA07z5Iig4GYTTw698w+8p/eqoJOnOS8luvd6FuY7AVE6Zf0bq6pq6wGgG7epbcjm7yMleBRGQdT4kjgHXW1q2PvCfmNKKpCfNTXPRX2wCqoXf4K0RKekMRv8fFFhDNig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755328514; c=relaxed/simple; bh=4kdK8KRIdwVEijB7pz4TeZV8tCyaZ93W7tdUhPIaeIo=; h=Date:To:From:Subject:Message-Id; b=QZVOtBlQwtlSse3CDwragwduZBMSDTQ9e/l6px4wTPSm332nrRi7+bbFNG2gTztMx6ngeItjX1Dxf+AifPb/wgzYlUMF2qQjmJTKUu0TG745Im+LJ4T+ymKI0YyquIKoKwl8VxjkC/WpRGL+UeHCzXCKQSz0kjhTUex65qAZneI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=CCyRrl04; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="CCyRrl04" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0585C4CEEF; Sat, 16 Aug 2025 07:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1755328513; bh=4kdK8KRIdwVEijB7pz4TeZV8tCyaZ93W7tdUhPIaeIo=; h=Date:To:From:Subject:From; b=CCyRrl04GZa1LR4jOmnsgqTVNgEf1pWEENUx/TAymTLfCFU0D9NFYTQYg/FW1ni7C Z2YQ7bDU4GPxZ/giiMzqAaH2ipWwjHTwWWi06lc4Ee5WKEm8lDwcxLf4LlwqBCAO5Z /EzgbEdIJ+Y+FWSurWKoaraPcbjDYQinMrmAPQhQ= Date: Sat, 16 Aug 2025 00:15:13 -0700 To: mm-commits@vger.kernel.org,safinaskar@zohomail.com,rostedt@goodmis.org,pmladek@suse.com,paulmck@kernel.org,lance.yang@linux.dev,john.ogness@linutronix.de,corbet@lwn.net,feng.tang@linux.alibaba.com,akpm@linux-foundation.org From: Andrew Morton Subject: + panic-refine-the-document-for-panic_print.patch added to mm-nonmm-unstable branch Message-Id: <20250816071513.C0585C4CEEF@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The patch titled Subject: panic: refine the document for 'panic_print' has been added to the -mm mm-nonmm-unstable branch. Its filename is panic-refine-the-document-for-panic_print.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/panic-refine-the-document-for-panic_print.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Feng Tang Subject: panic: refine the document for 'panic_print' Date: Fri, 15 Aug 2025 15:14:27 +0800 User reported current document about SYS_INFO_PANIC_CONSOLE_REPLAY is confusing, that people could expect all user space console messages to be replayed. Specify that only 'kernel' messages will be replayed to solve the confusion. Link: https://lkml.kernel.org/r/20250815071428.98041-3-feng.tang@linux.alibaba.com Signed-off-by: Feng Tang Reported-by: Askar Safin Cc: John Ogness Cc: Jonathan Corbet Cc: Lance Yang Cc: "Paul E . McKenney" Cc: Petr Mladek Cc: Steven Rostedt Signed-off-by: Andrew Morton --- Documentation/admin-guide/kernel-parameters.txt | 2 +- Documentation/admin-guide/sysctl/kernel.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Documentation/admin-guide/kernel-parameters.txt~panic-refine-the-document-for-panic_print +++ a/Documentation/admin-guide/kernel-parameters.txt @@ -4589,7 +4589,7 @@ bit 2: print timer info bit 3: print locks info if CONFIG_LOCKDEP is on bit 4: print ftrace buffer - bit 5: replay all messages on consoles at the end of panic + bit 5: replay all kernel messages on consoles at the end of panic bit 6: print all CPUs backtrace (if available in the arch) bit 7: print only tasks in uninterruptible (blocked) state *Be aware* that this option may print a _lot_ of lines, --- a/Documentation/admin-guide/sysctl/kernel.rst~panic-refine-the-document-for-panic_print +++ a/Documentation/admin-guide/sysctl/kernel.rst @@ -890,7 +890,7 @@ bit 1 print system memory info bit 2 print timer info bit 3 print locks info if ``CONFIG_LOCKDEP`` is on bit 4 print ftrace buffer -bit 5 replay all messages on consoles at the end of panic +bit 5 replay all kernel messages on consoles at the end of panic bit 6 print all CPUs backtrace (if available in the arch) bit 7 print only tasks in uninterruptible (blocked) state ===== ============================================ _ Patches currently in -mm which might be from feng.tang@linux.alibaba.com are lib-sys_info-handle-sys_info_mask==0-case.patch panic-refine-the-document-for-panic_print.patch panic-add-note-that-panic_print-parameter-is-deprecated.patch