From nobody Sun Feb 8 04:33:59 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC73DEB64DC for ; Sat, 15 Jul 2023 03:48:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229984AbjGODsU (ORCPT ); Fri, 14 Jul 2023 23:48:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjGODsQ (ORCPT ); Fri, 14 Jul 2023 23:48:16 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0589530FB; Fri, 14 Jul 2023 20:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=8aCWMj77QZ8ONW03YRtoGFYKcph9Q/SLzHgp+bEd3EY=; b=J3CzbnJ5LuguUHhMs7M3kxNxmE qHha+Wga7hF6k//BYHTBnvdKTTFV+SXANERUEA31UAcWIUyVzjXI6u4zDR9WIIKpkwqLHYKC9ZF0M 2QCFNv7qVrp/1UrZ8XtVO7ntplNj5r7kWz3nnXWoqNbRG5dwcuizS2PavkdNDwaHLjuOVvX2vfCuT tFh45e26UUVv4JD5vkaXtAZp0ko6xOVnydjIj8EVSlqHdQRUfgPyeabbtbZ+qzIsSV0Wi+bEmS/mq ICCSjnDVR4O4Z+Bui39d9NEk9k5AjezfcicrVFhDNp4fJKiMY/ELbjxQJNoTr0f073XLt16FCHDFB r/+8ejOQ==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qKWGT-007pkC-1Z; Sat, 15 Jul 2023 03:48:13 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH v2] docs: panic: cleanups for panic params Date: Fri, 14 Jul 2023 20:48:11 -0700 Message-ID: <20230715034811.9665-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Move 'panic_print' to its correct place in alphabetical order. Add parameter format for 'pause_on_oops'. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- v2: rebase/resend since v1 did not apply cleanly; Documentation/admin-guide/kernel-parameters.txt | 30 +++++++------- 1 file changed, 15 insertions(+), 15 deletions(-) diff -- a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/a= dmin-guide/kernel-parameters.txt --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4037,20 +4037,6 @@ timeout < 0: reboot immediately Format: =20 - panic_print=3D Bitmask for printing system info when panic happens. - User can chose combination of the following bits: - bit 0: print all tasks info - 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: print all printk messages in buffer - bit 6: print all CPUs backtrace (if available in the arch) - *Be aware* that this option may print a _lot_ of lines, - so there are risks of losing older messages in the log. - Use this option carefully, maybe worth to setup a - bigger log buffer with "log_buf_len" along with this. - panic_on_taint=3D Bitmask for conditionally calling panic() in add_taint() Format: [,nousertaint] Hexadecimal bitmask representing the set of TAINT flags @@ -4067,6 +4053,20 @@ panic_on_warn=3D1 panic() instead of WARN(). Useful to cause kdump on a WARN(). =20 + panic_print=3D Bitmask for printing system info when panic happens. + User can chose combination of the following bits: + bit 0: print all tasks info + 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: print all printk messages in buffer + bit 6: print all CPUs backtrace (if available in the arch) + *Be aware* that this option may print a _lot_ of lines, + so there are risks of losing older messages in the log. + Use this option carefully, maybe worth to setup a + bigger log buffer with "log_buf_len" along with this. + parkbd.port=3D [HW] Parallel port number the keyboard adapter is connected to, default is 0. Format: @@ -4186,7 +4186,7 @@ mode 0, bit 1 is for mode 1, and so on. Mode 0 only allowed by default. =20 - pause_on_oops=3D + pause_on_oops=3D Halt all CPUs after the first oops has been printed for the specified number of seconds. This is to be used if your oopses keep scrolling off the screen.