Received: by 10.223.185.116 with SMTP id b49csp3668492wrg; Mon, 26 Feb 2018 04:07:16 -0800 (PST) X-Google-Smtp-Source: AH8x227rPCNrJAL5Q9HScLVX8O0sAQ98+8kFvB5/AqzU/Z9g4JrYLlNKPUzKbEWj90M0alKHBhzV X-Received: by 10.98.66.89 with SMTP id p86mr10291647pfa.228.1519646836574; Mon, 26 Feb 2018 04:07:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519646836; cv=none; d=google.com; s=arc-20160816; b=d9kCLN2XxIpxru03PSFlvRE/5H+hpi708dVI/hV34av78cyadFEQS05kXPqX/YOSRY 11uc3vpSh4jhqxz8w7eF0lER98lR5amn1bKfbxED7sKbabONtLtIue4dHRJIVFCndVrP /Y1FP+r3GamwT+pJuqjcsVKnaa8Auhp2wm+7R+8kMMl2ZvIPGOV5U7mNAn2ysQIzRM8W TzKelpPk47gg2xWarnjAe+9mhpiNa7N1YTwSg4DeDIdhUlZIg13lP389XH7TEfyLY449 SbBXv7f1fB4AykanACcw/2E+TGnGEqJ3gel2G/PVblp6zXiL5Nhhelq6XAv8A0vocITw eHcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Z8pp8UJXveblnSuQG9DRYUIVg1T8hYsbtsz172yu5xA=; b=sxXw1Df28M07RJ9H8lGL/Lwo6iTPrUY4O990tHGc72Ywi0Lgh3sK+kfFOywQGxzpdd bB80umueQABX+8Ied9JON6wrgdIdMQx27FP24/a6OpcIbf2b3lB9bFYvVBHjCpvBiLTW FRz4ufkOprQDARzuKfaaZAke2vyzyGmHLQkuLBfyFOLu742H3i6nTvieGiFFe6wKWgTu jXPoqFVosVtbsZg6QGNUC0wzUeB7q8lVyLtLvrYfWCWgTi83z9djKj4LCbwBUeqbW+mC M4OvFx0NG6+42KOEycRrunh26nHGiFahBDpy87PpBiS6ZJiBBOeIiPQt4cZWEzZsUpnp 8SGA== 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 c16si1640847pgv.729.2018.02.26.04.07.01; Mon, 26 Feb 2018 04:07:16 -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; 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 S1752956AbeBZMFy (ORCPT + 99 others); Mon, 26 Feb 2018 07:05:54 -0500 Received: from mga09.intel.com ([134.134.136.24]:10488 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbeBZMFu (ORCPT ); Mon, 26 Feb 2018 07:05:50 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2018 04:05:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,396,1515484800"; d="scan'208";a="23198994" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by fmsmga002.fm.intel.com with SMTP; 26 Feb 2018 04:05:35 -0800 Received: by lahna (sSMTP sendmail emulation); Mon, 26 Feb 2018 14:05:34 +0200 Date: Mon, 26 Feb 2018 14:05:34 +0200 From: Mika Westerberg To: Lukas Wunner Cc: Bjorn Helgaas , "Rafael J. Wysocki" , Linux PCI , Valdis Kletnieks , Mathias Nyman , Linux PM , "Rafael J. Wysocki" , Linux Kernel Mailing List , Peter Wu , Qipeng Zha , Greg Kroah-Hartman , Andreas Noever , Dave Airlie , Qi Zheng Subject: Re: [PATCH v1 2/2] PCI: Allow user to request power management of conventional and hotplug bridges Message-ID: <20180226120534.GO27191@lahna.fi.intel.com> References: <151908155159.37696.9710083237704994886.stgit@bhelgaas-glaptop.roam.corp.google.com> <151908204614.37696.12828004282495415825.stgit@bhelgaas-glaptop.roam.corp.google.com> <20180220181554.GA32228@bhelgaas-glaptop.roam.corp.google.com> <20180222131834.GA5527@wunner.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180222131834.GA5527@wunner.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 02:18:34PM +0100, Lukas Wunner wrote: > We do need runtime PM on hotplug ports to power off Thunderbolt > controllers when nothing is plugged in. That saves 1.5 W, so a > noticeable amount of power. I was going to respin the series one > of these days, I think the best I can do is continue to forbid > runtime PM on hotplug ports by default, but whitelist it for > Thunderbolt and allow manually enabling it on other platforms via > the command line. That way, vendors are put in a position to > validate their platforms for runtime PM of hotplug ports, and > perhaps someday we can enable it for all platforms by default, > but with a BIOS cut-off date. AFAIK Windows started to enable runtime PM (RTD3) for native PCIe hotplug ports with the latest release (I guess it's the RS3 release) but only when there is a special ACPI _DSD property ("HotPlugSupportInD3") associated with the root port. I think we can take advantage of that in Linux as well and I already have a patch series to enable runtime PM for such ports but I haven't been able to test it properly yet.