Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4204773imm; Wed, 30 May 2018 00:50:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKFaLWM9ZTwefRSihFxskw7YJynkb0PvO2JsUi1rUMnrPmr9sGNxnk15r6thHISDKkDnbwy X-Received: by 2002:a65:610d:: with SMTP id z13-v6mr1403099pgu.260.1527666635015; Wed, 30 May 2018 00:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527666634; cv=none; d=google.com; s=arc-20160816; b=gfijzTk31VUjJ23n5adq+OP+FWR6BURttaEzwuRLIpKyn1C3VTW5dCvWRBp7d4EWuS EsjKblfIXuBJkL8nuquM329dVjV0pJm3Yalbd+qVALRg6hzSGK1kB/uRGyDoAIAUViOX ujmlH/kmCn8lEgOn43nnwKhj2uFFCvl2r8nAGIUh0YUXqHLAH5QltcaFw+VHAs+2/iin HHcsg5zzbNbhh8jyHPjGw/+WJ8SlaefrSHNZMmGQxs107euus5oZQG9DY/XSWmtzw3II gX4Of0KW0RrnZ+mBx8D8cKRZRISfQnFzLg+XaNgu/1uehPU5uPoSyyLS/ym22ukHuaVN s0Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Mhv6T90PMOs2lgS13GoxK1+WVYbmDfUdGETYKWRIrEM=; b=RJlEbPD9p7VmNPV7n9Ny1xUm9NHXchtznk14/LarqV8a1LMv8NS0HD3R89K7FmW2NG QzTKaItLvLdy/6xE9CoRsHbdnReDGj644kw02jjpSfThtYfg2DUNIpB5uUTjNobyaCxS 7VfWP8x7Kh1HcE56rng8aP/dUSabmIxFxNcDwJml0vcrPHjrYlu2wjmYV8GBvPWh7k+f s8to9ogM/sxmP0ldVpVU+bncGsmE4jv3/YV7d7WGDb3sx74529zc/IquIY4FTEQyIvYC ZKmZsoIcDhdyracUyeFjos8l8nYv/IaOoGyPBOowfBk8XXP7i5GBcLho5l3WoLdexlA8 /79A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KgGx205Y; 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 e125-v6si234056pfc.336.2018.05.30.00.50.21; Wed, 30 May 2018 00:50:34 -0700 (PDT) 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=pass header.i=@kernel.org header.s=default header.b=KgGx205Y; 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 S937191AbeE3Hss (ORCPT + 99 others); Wed, 30 May 2018 03:48:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:60814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934903AbeE3Hsq (ORCPT ); Wed, 30 May 2018 03:48:46 -0400 Received: from localhost (unknown [37.173.62.116]) (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 449A72087D; Wed, 30 May 2018 07:48:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527666525; bh=fWQABMSDwJbrrPV/pBW/z7kDvjbNc7sBySBcwfb9OAg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KgGx205Y1iAAGnmQ8B6Wsdhtwk5fB1fMthkdzxA389L6xlbQ0XjqMsnIUmeWYvkFa sr6EpuDLbYotae/l5ietpiWfcY0cVsB1ksP0MG1DmWlNVH/YWnSQaP2SS+zHEf6Ger CEral6vABYf9ktXbu1Yy2wlA+yQ9SdppEHsHhTXA= Date: Wed, 30 May 2018 09:48:22 +0200 From: Greg Kroah-Hartman To: okaya@codeaurora.org Cc: Christoph Hellwig , linux-pci@vger.kernel.org, timur@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jonathan Corbet , Bjorn Helgaas , Thomas Gleixner , Ingo Molnar , Christoffer Dall , "Paul E. McKenney" , Marc Zyngier , Kai-Heng Feng , Thymo van Beers , Frederic Weisbecker , Konrad Rzeszutek Wilk , David Rientjes , "Rafael J. Wysocki" , Keith Busch , Dongdong Liu , Frederick Lawler , Oza Pawandeep , Gabriele Paoloni , "open list:DOCUMENTATION" , open list Subject: Re: [PATCH] PCI: Add pci=safemode option Message-ID: <20180530074822.GB30177@kroah.com> References: <1527650389-31575-1-git-send-email-okaya@codeaurora.org> <20180530043103.GA19734@kroah.com> <6c317ed8-cca3-8862-5f3b-12cf14e4d53b@codeaurora.org> <20180530073735.GA28793@infradead.org> <6dfe2db8f974d94c9867f30ec83d9333@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6dfe2db8f974d94c9867f30ec83d9333@codeaurora.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 30, 2018 at 12:44:29AM -0700, okaya@codeaurora.org wrote: > On 2018-05-30 00:37, Christoph Hellwig wrote: > > On Tue, May 29, 2018 at 09:41:33PM -0700, Sinan Kaya wrote: > > > Bjorn and I discussed the need for such a "safe" mode feature when you > > > want to bring up PCI for a platform. You want to turn off everything > > > as > > > a starter and just stick to bare minimum. > > > > Can we please make it a config option the instead of adding code > > to every kernel? Also maybe the bringup should be in the name > > to make this more clear? > > One other requirement was to have a runtime option rather than compile time > option. > > When someone reported a problem, we wanted to be able to say "use this > option and see if system boots" without doing any bisects or recompilation. > > This would be the first step in troubleshooting a system to see if > fundamental features are working. That makes sense, people can not rebuild their kernels for the most part. Putting it behind a config option would not make sense as it would always have to be enabled. > I don't mind changing the name Bjorn mentioned safe option. I made it > safemode. I am looking at Bjorn for suggestions at this moment. "minimal"? "basic"? "crippled"? "my_hardware_is_so_borked_it_needs_this_option"? :) Naming is hard... greg k-h