Received: by 10.223.171.82 with SMTP id r18csp2932867wrc; Mon, 19 Feb 2018 15:14:50 -0800 (PST) X-Google-Smtp-Source: AH8x224Vd8MZ73nXtDTv4UJ6UFHG5m/kNv3ImNiKi8+s/2sv39aX4KRDa1YuU52iKrqWhEwIzM+W X-Received: by 10.98.242.65 with SMTP id y1mr4811127pfl.232.1519082090011; Mon, 19 Feb 2018 15:14:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519082089; cv=none; d=google.com; s=arc-20160816; b=Re5RiTXm3e69ejrjbynHEJ50tGeCFaFOsJd6szoeE5jfzE5vxiAyWIa4ZDYLUMRoGi Jg8wvRajt6SqKHRyZQuU3VGLZZ9HHUXzHaf3zOTbAZVs51KKhfSPTwOh9fN2zapxFIk6 QHnQOwIrSacxitzb0bUC+XpRrdvQetoT3DnON6yYsgt4Cx6AFA/ikM1AImk73zPgSLnY kaBkznFlNEsMPGoNe+ARphXg3QTF+iQdxFbGm9qnLa7JSK1Hiab98UgDnkSCGEHlClmM mhv+C3uOYlvrHX6aT5lMgQTUw6c3I03Fa4FKHwS29FGbYDde59YkNnYBn1kRSCgiFgp8 h5kQ== 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:mime-version :user-agent:message-id:date:cc:to:from:subject:dmarc-filter :arc-authentication-results; bh=zEfHI6X1iPsWpGf8ZGnjNNhvvsUCnlgMXXX8bSU9VJM=; b=R2lZ7c4FQvuCrocEGCwGmfOEjWUEynBC390otO4upwgOxAAX7VQJYrXAFxIvhA0PAr sL03vhUPmFiGiJ4M1M7t/KFpRS8xas2ez0afYfk69x88R8hvPOgDoLzp9ygTKCBdadwy 2EW3JAqnhP3uEYI6f9AioSum+rn7EB8SC419balgyXQKSRDVhbZRRq1BnJoZL00JUqum BpqwI0ySCqX+8oelrQJnsz4Q23J6MOi2pAWAGxS2PsQ8wmvSdWBJohnGv+FyZqUlYpc/ fAn2LXGBoiV/45K79qNzFP0vcnO+n2sQ8OGMoEefnrOXBx5AeZVa3dytf+++1DvZYbPr jhdQ== 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 o19-v6si5461736pll.7.2018.02.19.15.14.35; Mon, 19 Feb 2018 15:14:49 -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 S932262AbeBSXN4 (ORCPT + 99 others); Mon, 19 Feb 2018 18:13:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:36888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932169AbeBSXNz (ORCPT ); Mon, 19 Feb 2018 18:13:55 -0500 Received: from localhost (unknown [69.55.156.246]) (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 ABE8121104; Mon, 19 Feb 2018 23:13:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABE8121104 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Subject: [PATCH v1 0/2] PCI/PM: Add comments, allow PM of conventional & hotplug bridges From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Valdis Kletnieks , Mathias Nyman , linux-pm@vger.kernel.org, Mika Westerberg , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Lukas Wunner , Peter Wu , Qipeng Zha , Greg Kroah-Hartman , Andreas Noever , Dave Airlie , Qi Zheng Date: Mon, 19 Feb 2018 17:13:53 -0600 Message-ID: <151908155159.37696.9710083237704994886.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add comments to help explain why the code in pci_bridge_d3_possible() doesn't match the spec (we disallow D3 for conventional PCI bridges and for hotplug bridges, and the spec seems to suggest that D3 could work in both of those situations). Make "pcie_port_pm=force" and "pcie_port_pm=off" apply to all PCI bridges including conventional PCI bridges and hotplug bridges. This is a little speculative. Those parameters are risky to begin with (otherwise "pcie_port_pm=force" would be the default); this would make them more general-purpose but obviously also even more risky. --- Bjorn Helgaas (2): PCI: Add PCIe port runtime suspend details PCI: Allow user to request power management of conventional and hotplug bridges Documentation/admin-guide/kernel-parameters.txt | 8 ++--- drivers/pci/pci.c | 40 +++++++++++++++++------ 2 files changed, 34 insertions(+), 14 deletions(-)