From patchwork Mon Feb 29 12:56:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 8453351 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6B184C0553 for ; Mon, 29 Feb 2016 12:56:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A365420260 for ; Mon, 29 Feb 2016 12:56:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0496F20222 for ; Mon, 29 Feb 2016 12:56:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750957AbcB2M4Q (ORCPT ); Mon, 29 Feb 2016 07:56:16 -0500 Received: from mga09.intel.com ([134.134.136.24]:58348 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbcB2M4N (ORCPT ); Mon, 29 Feb 2016 07:56:13 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 29 Feb 2016 04:56:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,520,1449561600"; d="scan'208";a="926157024" Received: from black.fi.intel.com ([10.237.72.93]) by fmsmga002.fm.intel.com with ESMTP; 29 Feb 2016 04:56:10 -0800 Received: by black.fi.intel.com (Postfix, from userid 1001) id 2FDFF1D1; Mon, 29 Feb 2016 14:56:07 +0200 (EET) From: Mika Westerberg To: Bjorn Helgaas Cc: "Rafael J. Wysocki" , Qipeng Zha , Qi Zheng , Mika Westerberg , linux-pci@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 6/6] PCI: Enable runtime PM for Intel Broxton PCIe root ports Date: Mon, 29 Feb 2016 14:56:06 +0200 Message-Id: <1456750566-116248-7-git-send-email-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456750566-116248-1-git-send-email-mika.westerberg@linux.intel.com> References: <1456750566-116248-1-git-send-email-mika.westerberg@linux.intel.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Intel Broxton PCIe root ports are capable of being suspended runtime so allow runtime PM for these ports. Signed-off-by: Mika Westerberg --- drivers/pci/pcie/portdrv_pci.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index 864c1bdd0e91..43dd23e42c1d 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c @@ -436,6 +436,11 @@ static void pcie_portdrv_err_resume(struct pci_dev *dev) * LINUX Device Driver Model */ static const struct pci_device_id port_pci_ids[] = { + /* Intel Broxton */ + { PCI_VDEVICE(INTEL, 0x1ad6), .driver_data = PCIE_PORT_SPT }, + { PCI_VDEVICE(INTEL, 0x1ad7), .driver_data = PCIE_PORT_SPT }, + { PCI_VDEVICE(INTEL, 0x5ad8), .driver_data = PCIE_PORT_SPT }, + { PCI_VDEVICE(INTEL, 0x5ada), .driver_data = PCIE_PORT_SPT }, /* Intel Sunrisepoint */ { PCI_VDEVICE(INTEL, 0x9d14), .driver_data = PCIE_PORT_SPT }, { PCI_VDEVICE(INTEL, 0x9d15), .driver_data = PCIE_PORT_SPT },