Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1861074imm; Sat, 2 Jun 2018 10:44:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKWLJ2hjNjL6zyKMni5q3ttCRF8WLeg8+WCeChKr24tobiK3EqFVgr/QGTx/OuRfciZe65r X-Received: by 2002:a65:6031:: with SMTP id p17-v6mr12647768pgu.311.1527961453956; Sat, 02 Jun 2018 10:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527961453; cv=none; d=google.com; s=arc-20160816; b=pCYWlDR5O6GCsa+ZsGLdlFr+ZhhCuUEsp7X6KLSPyFKCt/U70nssnZkz7h40C0wDRy 2APvwCRwAbBlbYIkYd96Ij5yo+dK/iCbao9xzvQ46vcqs3Zgu04tE2uXI0dilVBn2f1q JmO7GWljXc0Et5d3ixQ2rl5GaVjKvfJBta9u4rPaAOv9xna6aiMHQO992WZyJnqAfl0y LbyYTG05Lf44Z6aaS7h7KJ4AgydQ8BOXQsP3dnEe36OZQ5hhx0GcnrWOpctJej4IxhfW kqBKKbI+rBeLEbtboT8oFWvcK5GR1K9cU3Y+MdmmV6uDk7dZ/tIMHmyfisBqC/8i/IIl faDw== 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:arc-authentication-results; bh=oj9IWB7vWOpJVJgOtJrkVn73NkQcu7G6ypux7husVTE=; b=ificNveICQmacJCvCWAl4PwLg/XruOr3ZJcui7Xcrk95/c15f+nY3jTCD7jjcupxDf YPTV+eWd24JzNrEYJ8Jm/iPzDYY9uIB3Bxg5YfKXqm+r7+TsSbOUn0Axfeve8l5oDD/Y 9WQidMXFu9z4TDEehhNIchm3dBjhrHqlPRsByzxfyfcJOlznvTCVyqTQcYfcaY6R9WK/ TA6fN4GEgXJs2MNQCQICRdyFEHjnn1GVcKqAX59soYVgc34F56NBIFpJRIEnFO0WM2/7 oFW/96IcWggGUwS1q/T5EUNR/xm/rkoiyxNuVpKFTZlZXyXoqPel+W6uyc76qEeg4KhH ySLQ== ARC-Authentication-Results: i=1; mx.google.com; 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 l33-v6si41108063pld.440.2018.06.02.10.43.44; Sat, 02 Jun 2018 10:44:13 -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; 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 S1751775AbeFBRnM (ORCPT + 99 others); Sat, 2 Jun 2018 13:43:12 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33049 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699AbeFBRnJ (ORCPT ); Sat, 2 Jun 2018 13:43:09 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id E0C7380359; Sat, 2 Jun 2018 19:43:07 +0200 (CEST) Date: Sat, 2 Jun 2018 19:43:07 +0200 From: Pavel Machek To: Sinan Kaya Cc: Greg Kroah-Hartman , 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: <20180602174307.GB14870@amd> References: <1527650389-31575-1-git-send-email-okaya@codeaurora.org> <20180530043103.GA19734@kroah.com> <6c317ed8-cca3-8862-5f3b-12cf14e4d53b@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <6c317ed8-cca3-8862-5f3b-12cf14e4d53b@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > And you should explain what exactly in PCI is "optional". Who defines > > this and where is that list and what can go wrong if those options are > > not enabled? >=20 > 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. >=20 > I can add a few words describing them. The goal of this option is to keep > base PCI features with MSI only. Things like PME, AER, ASPM, Extended > Tags, LTR, Relaxed Ordering, SRIOV are all considered optional. safemode > is certainly not intended for production environments.=20 >=20 > I can taint the kernel as a suggestion. I don't think tainting is required. even modern platforms should work in the safe mode. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEUEARECAAYFAlsS1ysACgkQMOfwapXb+vLNGACgvXxEN0Xsaay3KFmc9pcELqNp yN4Al2Wb+Hsizgq51WxdnORdI/5DhSY= =BqMv -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9--