From patchwork Tue Jul 4 00:19:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 115528 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp881724vqx; Mon, 3 Jul 2023 17:41:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlGGZR7wl/9q++yFUnQf3jHz198xIz3icWeVatcG12YxS0iPdsAIMX1HL6qX9YWcbna/HoDh X-Received: by 2002:a25:a2c2:0:b0:c00:3434:f63a with SMTP id c2-20020a25a2c2000000b00c003434f63amr11714879ybn.16.1688431277869; Mon, 03 Jul 2023 17:41:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688431277; cv=none; d=google.com; s=arc-20160816; b=W8FjwvOsPYY/XefPA5VR5zci8DKGvN2Hwi6SNyeDYCLU3s9Uuq7VTJIp4QfHjL0Vhl ZgDBo+e1EnP7U0rn9//yn6ux4RHcOu73+Ua4O/RQCswLCwii5WEavrYaapT1zxnv07cz VY/Mc5FMGzFDHBl9JjpVhCXmcIoHowVAZmhoWnTgpV5cK6bA2A4wItXVWpIUN1bU709l EVJxzLhoboYHpkhOdb0/iE2U3adnKU3JI9bRRKitkn75vpjvfa52NAlV7eA/7mIT533p AcAjjGT08No0YcswB92vxVU9cM3VZfbX5hMxH6/Nh0Tsc5lNOBJLcIE7Flvc8Arfa7w2 dByQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GZ2o4xCGeoGC59blIkDg8t7pr1dFfxoXJHHg/nPdT/4=; fh=Gt5JS598BYSpTXO95MfIQFb7GsHjBSuareMMdhO+8I8=; b=MYusLgZdk2wFqpz7nNQ5pnIcpGLxeHi3kgIlgvjm0kQuZHDvPuHYYsXSOYy7kvzUW7 lE89yKgO/EeFEA67y3yY/h4aptfQ0peQMVSM4HSRqLMR+POjZOtzOHBR0HqJ+I5hCpy/ Q6fwnUvf1SnWKUUWHj2ItZPYdhl8oJGdO/6goGFNbfgJNm+i5urMqKm05pyQow4cI3Wi LlcCuFuLjrr/Dqinz0lByreJB0uRPg9dEsCuJEjUOuFxYTLKLG9CJGE7u6Mx7RvYtfJ7 uSf059Y63RSrm/XpiLLAJVns6C1drp8EKjpOyA9tKHqplIugJ6jtjXjDw/QMTwaJZSmI N1qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="kY2jcs//"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a634c10000000b0055b635d97adsi7895512pga.619.2023.07.03.17.41.02; Mon, 03 Jul 2023 17:41:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="kY2jcs//"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231287AbjGDAT6 (ORCPT + 99 others); Mon, 3 Jul 2023 20:19:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbjGDAT4 (ORCPT ); Mon, 3 Jul 2023 20:19:56 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B13E3B2; Mon, 3 Jul 2023 17:19:55 -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=GZ2o4xCGeoGC59blIkDg8t7pr1dFfxoXJHHg/nPdT/4=; b=kY2jcs///rQumVDs589v/pWbzp NUTjmNmDsUEqR6JsTpe5/r8r0l7NmNWWgSM6QG7Y4ZYZbgMqAC4CnrEhp5jgs72NWgpHEMQtglYQN KRsrDevH48DNm701IewRN0m19ZX/2oeJPHu07Kb3eYeLgRLqC6cqF5Lwkl4tEeuqqf7hjqIBQ53bA 8P4d6HqM/zyJbTw0oQ76iCFvS7Y0AO5cO8pTNKSajH5UbHKKzmEmRusnOo293gFsT1Ts6CiRQqo8D gaHef0Xl0EbZn5OhyoqjY9yHOJV+phKVWmpky3Bg9k2NxYuSOZL9yw+pmyF79yDxE/7Iavbn9pM61 sYqWpJnw==; 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 1qGTlr-00BjFU-1h; Tue, 04 Jul 2023 00:19:55 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] docs: panic: cleanups for panic params Date: Mon, 3 Jul 2023 17:19:54 -0700 Message-ID: <20230704001954.20518-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770448515741391859?= X-GMAIL-MSGID: =?utf-8?q?1770448515741391859?= 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 --- Documentation/admin-guide/kernel-parameters.txt | 30 +++++++------- 1 file changed, 15 insertions(+), 15 deletions(-) diff -- a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-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: - panic_print= 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= 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 panic() instead of WARN(). Useful to cause kdump on a WARN(). + panic_print= 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= [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. - pause_on_oops= + pause_on_oops= 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.