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 123E4C2D0A3 for ; Fri, 6 Nov 2020 22:33:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9F19208C7 for ; Fri, 6 Nov 2020 22:33:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604702000; bh=Eh/4W7NEPV1VldWDlxVKg4wANk1kTBVCNkvRmrQbIj4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=Fe8N/UklVygbg34M850UakP1vBm9SlVUKh0UTBAgPFzAkWwGkVRH+KvQyDO+pHZ/M SWmyETyracxQCfh1kw65FzphNyCh29k3OP1HGfkEAVOCit295BBD+L+l17JO0hLpq5 csh8gHNJmb2OTcj0z5t3UiF8RJ1jT+HVEhKO7Tcc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728821AbgKFWdS (ORCPT ); Fri, 6 Nov 2020 17:33:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:47244 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728408AbgKFWdO (ORCPT ); Fri, 6 Nov 2020 17:33:14 -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 540D020882; Fri, 6 Nov 2020 22:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604701993; bh=Eh/4W7NEPV1VldWDlxVKg4wANk1kTBVCNkvRmrQbIj4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=a59RwQdF30Qx2/1yARH0BcRGOLF3VrNRovLw3yP6xrCyGGVJOV2hpvG8PPvYWEv0r jr3iZBJL6HOLaywmfcRaxYB/ZB5aPy207J/7VqgjB5ozANPAXmPepimoCgdabpdQno FF68Pp2cPC12LsFcqOh6WKnoHjRCueYYiylwGqqo= Date: Fri, 6 Nov 2020 14:33:12 -0800 From: Andrew Morton To: Matteo Croce Cc: linux-kernel@vger.kernel.org, Mike Rapoport , Guenter Roeck , Arnd Bergmann , Petr Mladek , Pavel Tatashin , Kees Cook , Tyler Hicks Subject: Re: [PATCH v2] reboot: allow to specify reboot mode via sysfs Message-Id: <20201106143312.830f2a7410efcf397614b9d4@linux-foundation.org> In-Reply-To: <20201106200704.192894-1-mcroce@linux.microsoft.com> References: <20201106200704.192894-1-mcroce@linux.microsoft.com> 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, 6 Nov 2020 21:07:04 +0100 Matteo Croce wrote: > The kernel cmdline reboot= option offers some sort of control > on how the reboot is issued. > Add handles in sysfs to allow setting these reboot options, so they > can be changed when the system is booted, other than at boot time. Please include a description of why you believe the kernel needs this feature. Use cases, end-user benefits, etc. We've survived this long without it - what changed?