From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DE5FC5519F for ; Fri, 13 Nov 2020 01:18:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35E7D221E9 for ; Fri, 13 Nov 2020 01:18:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="M8uOspxh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726174AbgKMBS3 (ORCPT ); Thu, 12 Nov 2020 20:18:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:40024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbgKMBS2 (ORCPT ); Thu, 12 Nov 2020 20:18:28 -0500 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9B6FD216C4; Fri, 13 Nov 2020 01:18:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605230308; bh=+BcndtHMLbCZgLLpKs6+e77sbXfPv6PvkofRyK7eY3Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=M8uOspxhCcy9VaAVIv3ZMu3YJDUTbgLhOzebBywhbY2TH/wJjmC1/jD39XaDs9KBe d1ArDgONxt9UrfRp1ali3MkGTlwo9txQ1uDWHklj5NRB9VBXja+H48nVd2V9PV+xjq Wxo5VhOcV6WSpUrwiDpJN+pWnfW6p5TFql6X8qvs= Date: Thu, 12 Nov 2020 17:18:26 -0800 From: Andrew Morton To: Matteo Croce Cc: Nathan Chancellor , Arnd Bergmann , Kees Cook , linux-kernel@vger.kernel.org, Guenter Roeck , Pavel Tatashin , Petr Mladek , Mike Rapoport , Tyler Hicks , Nick Desaulniers , clang-built-linux@googlegroups.com Subject: Re: [PATCH] reboot: Fix variable assignments in type_store Message-Id: <20201112171826.0fa3c6158f3c2780f90faafe@linux-foundation.org> In-Reply-To: References: <20201110202746.9690-1-mcroce@linux.microsoft.com> <20201112035023.974748-1-natechancellor@gmail.com> <20201112151320.e0153ace2f2eb5b59eabbdcb@linux-foundation.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Nov 2020 01:20:29 +0100 Matteo Croce wrote: > While writing the script I found that in the documentation I left for > 'type' the values from > Documentation/admin-guide/kernel-parameters.txt, which is 'pci' for > cf9_force reboot. > While at it, should we update the doc with the values 'cf9_force' and > 'cf9_safe', or rename to 'pci' and 'pci_safe' to be coherent with the > kernel cmdline? I looked at Documentation/admin-guide/kernel-parameters.txt's "reboot=" section and decided that I don't understand your above words :( Can you please expand on all of this? Simple akpm-compatible words ;) > In any case, kernel-parameters.txt doesn't mention that reboot=q does > the 'cf9_safe' reboot type, so it must be fixed anyway. Thanks for noticing.