Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp772974ybl; Sat, 18 Jan 2020 10:35:08 -0800 (PST) X-Google-Smtp-Source: APXvYqz1aanowaNObbDk2nwoXrrSkg6E9yUNNOHREUPXLqppxMa4BpFsjKUccyGyzqlAMON40Mp3 X-Received: by 2002:a9d:c02:: with SMTP id 2mr10644444otr.183.1579372508061; Sat, 18 Jan 2020 10:35:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579372508; cv=none; d=google.com; s=arc-20160816; b=tqBcCleu8adWUnwdI07f5C1kw6y846+DtLdt3s8ETeOA4RKnCLD2QO/GrOgvtpBu/l bWSR/HMkQ4ifcQX0uuowejL8uFgoFtSZTUT/Ity3o/zhJ5tlczcqpFjUDPxDYnxj9Atg BJ4RBl6dhOfnTdkcLdJSN3/woYkhvWoISU7Vu+jFCDmZqUnHqNvq8sCnzQxi+i/arIc7 gcjMNGdFApC65fHrJ/YryLrMZXT9Q7RoZ43Jl2oL2kqBmzRsdTf5H5Tra3ryEZDQFd1/ AqUmpK/+5wiJEUPCaFSG0VE2pnrYMUJTxpYnQPKdT3TF5Bn0s6pQB33Cb6G1gesCjob9 EnaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=O0FvQU1+LL+nY/awXfWm1zOJdSt4kxBeR65IPQXUBzQ=; b=M4sio9LEmd7seEL1IXs2/1sTAKJ2rmmFNdvTq8Tu4gVny2PQbG6H/UNda8RnunTS7S uDEJQRFQIkx9LcCqFuT0BoRfh0oErw8yUz3Bb4U398tNcty9ZCHCfKDMVwVdZtA11CXb ggKGvo9jlqd1nST2jOzEbLTcwdcpI7ZwR9kgl4Y/lS36nDD4UHEed80Osf7xoaqk9djt 619RJrbIhQu07nzfBju7Rz1oqy8hD4PE2YrhVVMXN3bT41y5jl5ZshcsQKVJDOzzsWVl BpaHVrk+Rcw4kAeDMmbkzXviPX8z1q+vgzYcGOh79ry1gbCLk3gloxZZRFdvz4HUDE55 674A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HKrlvjMU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g22si15533171otp.55.2020.01.18.10.34.53; Sat, 18 Jan 2020 10:35:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=HKrlvjMU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726806AbgARSd5 (ORCPT + 99 others); Sat, 18 Jan 2020 13:33:57 -0500 Received: from [198.137.202.133] ([198.137.202.133]:44030 "EHLO bombadil.infradead.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1726490AbgARSd5 (ORCPT ); Sat, 18 Jan 2020 13:33:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=O0FvQU1+LL+nY/awXfWm1zOJdSt4kxBeR65IPQXUBzQ=; b=HKrlvjMUQYbnZqM268AjtmGso VEUfPKnFUvFb9/dyAxD4OjzdeuQnC0z9arbqs6pt4TMCnOXand+EwQC9JqCgpVgGkVTSt1qeMTsL7 hZ9sa1FOilpIQqome3sGu1z/NCOGLTL1X7/hm6/2pgHLC7ZoDtVJDYW2JEMd7AHeZddj0AbJ+DrX9 AqiAnVmL5JvZAOUxarOKTcnL29YWznUVjDlxqHAU1s/uQgGeECBoJ5I4ricMU3DFTsbuabhH0sNGq UOO8eln4QXe06l2ugRVaWK/cBK5Z15YNvcQJpRtWqZd8uX3Y/wkdCH5lrFSrBu+8JMkVc7RPdFu+j hdxReIfjw==; Received: from [2603:3004:32:9a00::ce80] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1issu6-0003uP-6e; Sat, 18 Jan 2020 18:33:04 +0000 Subject: Re: [PATCH v6 01/22] bootconfig: Add Extra Boot Config support To: Masami Hiramatsu , Steven Rostedt Cc: Ingo Molnar , Frank Rowand , Namhyung Kim , Tim Bird , Jiri Olsa , Arnaldo Carvalho de Melo , Tom Zanussi , Rob Herring , Andrew Morton , Thomas Gleixner , Greg Kroah-Hartman , Alexey Dobriyan , Jonathan Corbet , Linus Torvalds , linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <157867220019.17873.13377985653744804396.stgit@devnote2> <157867221257.17873.1775090991929862549.stgit@devnote2> From: Randy Dunlap Message-ID: Date: Sat, 18 Jan 2020 10:33:01 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <157867221257.17873.1775090991929862549.stgit@devnote2> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/10/20 8:03 AM, Masami Hiramatsu wrote: > diff --git a/init/Kconfig b/init/Kconfig > index a34064a031a5..63450d3bbf12 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -1215,6 +1215,17 @@ source "usr/Kconfig" > > endif > > +config BOOT_CONFIG > + bool "Boot config support" > + select LIBXBC > + default y > + help > + Extra boot config allows system admin to pass a config file as > + complemental extension of kernel cmdline when booting. > + The boot config file is usually attached at the end of initramfs. Is there some other location where it might be attached? Please explain. > + > + If unsure, say Y. > + > choice > prompt "Compiler optimization level" > default CC_OPTIMIZE_FOR_PERFORMANCE -- ~Randy