From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com ([192.55.52.93]:19631 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885AbcDVJKe (ORCPT ); Fri, 22 Apr 2016 05:10:34 -0400 Date: Fri, 22 Apr 2016 12:10:26 +0300 From: Mika Westerberg To: "Rafael J. Wysocki" Cc: Andreas Noever , "Rafael J. Wysocki" , Lukas Wunner , Bjorn Helgaas , Qipeng Zha , Qi Zheng , Dave Airlie , Mathias Nyman , Greg Kroah-Hartman , Linux PCI , "linux-pm@vger.kernel.org" Subject: Re: [PATCH v2 4/4] PCI: Add runtime PM support for PCIe ports Message-ID: <20160422091026.GG1725@lahna.fi.intel.com> References: <1460111790-92836-1-git-send-email-mika.westerberg@linux.intel.com> <20160421131224.GY1725@lahna.fi.intel.com> <2823801.fOoJOI22FZ@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-pci-owner@vger.kernel.org List-ID: On Fri, Apr 22, 2016 at 02:26:22AM +0200, Rafael J. Wysocki wrote: > On Fri, Apr 22, 2016 at 1:25 AM, Andreas Noever > wrote: > > On Thu, Apr 21, 2016 at 9:19 PM, Rafael J. Wysocki wrote: > >> On Thursday, April 21, 2016 04:12:24 PM Mika Westerberg wrote: > >>> On Wed, Apr 20, 2016 at 10:23:33PM +0200, Rafael J. Wysocki wrote: > >>> > Breaking any systems that work today is not an option. if that > >>> > happens, the commit that has done that is a clear candidate for > >>> > reverting. > >>> > >>> Understood, thanks. > >>> > >>> BTW, do you have any preference regarding the cut-off date? > >> > >> Some time around when machines with Windows 10 started to ship should be > >> relatively safe. > >> > >> I guess we can just pick a reasonable date in the initial patch and then > >> try to move it back to the past subsequently and see if that breaks things > >> for anyone. > > > > Maybe add a boot option to overwrite the heuristic (in both > > directions) to allow people to test this on older machines and > > pinpoint breakage on newer machines? > > Yes, a kernel command line override would be fine by me. OK, so to summarize: - Use cut-off date 2015 which is the year Windows 10 was released - Add command line parameter that allows this to be overridden. Something like: pcie_port_pm= [PCIE] PCIe port power management handling: off Disable power management off all PCIe ports force Forcibly enable power management of all PCIe ports