Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp835052pxb; Thu, 12 Nov 2020 18:48:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfokXTadAyqPXsT/Vp6YoCrya9Kz/dQL1zuyqroE/uIqSxJZYApYcV2LQOkgbrA0/8PpTl X-Received: by 2002:a17:906:cb0f:: with SMTP id lk15mr2135022ejb.431.1605235733855; Thu, 12 Nov 2020 18:48:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605235733; cv=none; d=google.com; s=arc-20160816; b=ShFIHmi8tsw0FePvA2Jb6avTqZ/Xpy6gX9hFgkeq0ZOAtbZn5/But/o7t9nFLeSChv hRo8aMVXUi80kIiNhU4sG4KBFD2S5YsfBoZUii2dpyagORj5owNAwcfA2rSiYJrrpwl1 +8VzfkIcfCtI83ryhYXBfDxt8b7kFcCJdTWszwvoa+9fc/+XD2hkDcUwMTEClRQKeo/v 8PiRnJ+cCdispES30g8Q9cX+7sFl7rKNDQT/zb5Qg4Rvnrb9RuvglEk8f6xelOmjAirY 0S3UOTwILSoSKG13oz56q9F54VTsRcpqNuSlrRpgn26k4NUsA9g3HdBudXw2nvrCTasI pbRA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=xVN4M3CyFKBDcLKo0zurUbZBLyWsTUoKL6br5htOmbk=; b=xZSQjCwkTGQoPBpE/JsZVtef8rM664oZtTv1FFX+Uy0DOQHXMst8Bqc6qYmT9DDycl oR4rjahOpavO3ZAOO53FS14iZmOUqro1lBxnTRVwnFhzpCjs9OBHAsWc7Kvy+wOpAury VHCKYPTRdnJluw0QzQibpj1Ugw/gqyH2cxybL4k86I7hNs8vX9G3KRg/8uxOA2S4pS9C VMHxylt7BVHR8HFrNTgARfs8AjJfUL0U8MuPc9rS4djYBVR5HH52934jJqWk0rNpJDcQ vwOPpCdqpdJdSk39As/BNIBecgooKhPYnmcEy+1II3WkiWwDtfXgyaU0R5Bz/LRqPU/H 9ftg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="U/1UCboz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si5305106edm.477.2020.11.12.18.48.29; Thu, 12 Nov 2020 18:48:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="U/1UCboz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726299AbgKMCqj (ORCPT + 99 others); Thu, 12 Nov 2020 21:46:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:53302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgKMCqj (ORCPT ); Thu, 12 Nov 2020 21:46:39 -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 431DF204EF; Fri, 13 Nov 2020 02:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605235598; bh=ctaQ3C6ggnwKYCfwEzYPswDn+1kfv0MOILMIiYSgbZI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=U/1UCbozzNbr0RF+VQOf1xGEEgdfVNrcviaWlWEMw7QS3jTtVZ8PAqn7P4mFldPrN GWKMMKUXdIhBGveD+FCTXm1ghWd+1oUl97fxCUReNzOlSf3wrDlSBTNN3xluZj38xd 7TFINNL3dsMPQlJjX5NobcDO0lK/mRqFfExFCW5Y= Date: Thu, 12 Nov 2020 18:46:37 -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: <20201112184637.de44afedf0ce0dcab36dd0ad@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> <20201112171826.0fa3c6158f3c2780f90faafe@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 02:38:18 +0100 Matteo Croce wrote: > At this point, since 'pci' enables BOOT_CF9_FORCE type and > BOOT_CF9_SAFE is not user selectable, should I simply leave only > 'pci'? > This way, we'll have the same set of options for both sysfs and kernel cmdline. Well, you're the reboot expert ;) But my $0.02 is yes, let's keep the command-line and sysfs interfaces in sync and cover it all in documentation. It would of course be problematic to change the existing reboot= interface. I assume that means doing this? - #define BOOT_CF9_FORCE_STR "cf9_force" + #define BOOT_CF9_FORCE_STR "pci" - #define BOOT_CF9_SAFE_STR "cf9_safe"