From patchwork Wed Jun 5 14:58:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 10977145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 581D276 for ; Wed, 5 Jun 2019 14:58:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A6E3289A1 for ; Wed, 5 Jun 2019 14:58:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E4F228970; Wed, 5 Jun 2019 14:58:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF58728646 for ; Wed, 5 Jun 2019 14:58:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728486AbfFEO6Z (ORCPT ); Wed, 5 Jun 2019 10:58:25 -0400 Received: from mga11.intel.com ([192.55.52.93]:16351 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728287AbfFEO6Z (ORCPT ); Wed, 5 Jun 2019 10:58:25 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jun 2019 07:58:24 -0700 X-ExtLoop1: 1 Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga007.fm.intel.com with ESMTP; 05 Jun 2019 07:58:22 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id 37C8A2D4; Wed, 5 Jun 2019 17:58:20 +0300 (EEST) From: Mika Westerberg To: Bjorn Helgaas , "Rafael J. Wysocki" Cc: Len Brown , Lukas Wunner , Keith Busch , Alex Williamson , Alexandru Gagniuc , Mika Westerberg , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH 0/3] PCI: Power management improvements Date: Wed, 5 Jun 2019 17:58:17 +0300 Message-Id: <20190605145820.37169-1-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, This series includes a couple of changes to the PCI power management that should make Linux follow the PCIe spec better and also support for sibling PCIe devices sharing ACPI power resources. The issues this series aims to solve came up with Intel Ice Lake Thunderbolt enabling where the controller is first time integrated into the SoC but I think these issues are generic to any platform having similar configuration. Mika Westerberg (3): PCI: Add missing link delays required by the PCIe spec PCI: Do not poll for PME if the device is in D3cold PCI / ACPI: Handle sibling devices sharing power resources drivers/acpi/power.c | 32 ++++++++ drivers/pci/pci-acpi.c | 32 ++++++-- drivers/pci/pci.c | 138 ++++++++++++++++++++++++-------- drivers/pci/pci.h | 6 ++ drivers/pci/pcie/portdrv_core.c | 62 ++++++++++++++ include/acpi/acpi_bus.h | 3 + 6 files changed, 233 insertions(+), 40 deletions(-)