Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2873338pxu; Sat, 19 Dec 2020 04:59:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJza9xRq/e7IAMYfB+x8jNfqOKBO2Un6e2dPl8aiXQXfRoipw1/IpHQFTsdpMV0iUBX03pul X-Received: by 2002:a05:6402:94c:: with SMTP id h12mr8778386edz.268.1608382773753; Sat, 19 Dec 2020 04:59:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608382773; cv=none; d=google.com; s=arc-20160816; b=lRCfyAjeSUAMqM9xqk6Jrz6cUOXkjEekui2+2kmYq1DhCH3X+AlUpoWmeBThIpflv9 pGbIVI7Ajdw4YL/aHkvRsg61G/hD5RCbm4rALIWnQtTgieaOWIH40oKIvRCPVPyQwLYU 8MrDtbd/omUcMzGJ8Vut0bi8oJqSOWJSv+cuKgulY7hggBI5lAz5sKD3pB555whHP+UK Oe2M2iiCT7rERXB3x1ewZyj/gfcE1mgo3cktsWEVKIeQlE/VfOb/jlHZpQf18gR1AFAn 6MUxVRyht5Z/ZQCev13a/DLc3rYPPvOtk/3judE09fqgOV7XkkUNVR7evN1YD6ch5Lev 8rNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=Fmeq6KuZmNQLhCTxkfLdwWsm6eYjE3SR53cn/ZWeQR0=; b=B7fpPGF3bc0yBWdOeCKUBm8Ho4Ip1m+OAQJWXWhlT8beCFunATirMoFfD94F6RUOiF nMH5ejbmqx8gFisChrvk++dTmTfumd9xEIepDQFvybtxCkZYPrflobYlmBEHUBpnk1HK qjEnbcjX7EFsyPUArKoC5+YOOfIhNOleVFlFOcLjnz6hirgaSq5FwkYkgkyecXh4CvB/ ivJWOGUKfTATiLBl0e6hbmp7PIp27dOBe6hxGfHuV9rK1UK6E9N7qaJlKoCxS4GziQK2 IZcccf6DAkSj2qQSUpWwluW4fCBeem6/WXlsMDnlOIeNEllI1u5oo44o97APEhXTJTq/ 8TCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r23si8093340edw.310.2020.12.19.04.59.11; Sat, 19 Dec 2020 04:59:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727208AbgLSM5h (ORCPT + 99 others); Sat, 19 Dec 2020 07:57:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:44162 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727127AbgLSM5e (ORCPT ); Sat, 19 Dec 2020 07:57:34 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mika Westerberg , Mathias Nyman Subject: [PATCH 5.10 12/16] xhci-pci: Allow host runtime PM as default for Intel Maple Ridge xHCI Date: Sat, 19 Dec 2020 13:57:19 +0100 Message-Id: <20201219125339.673011054@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125339.066340030@linuxfoundation.org> References: <20201219125339.066340030@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mika Westerberg commit 5a8e3229ac27956bdcc25b2709e5d196d109a27a upstream. Intel Maple Ridge is successor of Titan Ridge Thunderbolt controller. As Titan Ridge this one also includes xHCI host controller. In order to safe energy we should put it to low power state by default when idle. For this reason allow host runtime PM for Maple Ridge. Signed-off-by: Mika Westerberg Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20201208092912.1773650-5-mathias.nyman@linux.intel.com Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/xhci-pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -56,6 +56,7 @@ #define PCI_DEVICE_ID_INTEL_ICE_LAKE_XHCI 0x8a13 #define PCI_DEVICE_ID_INTEL_CML_XHCI 0xa3af #define PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI 0x9a13 +#define PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI 0x1138 #define PCI_DEVICE_ID_AMD_PROMONTORYA_4 0x43b9 #define PCI_DEVICE_ID_AMD_PROMONTORYA_3 0x43ba @@ -240,7 +241,8 @@ static void xhci_pci_quirks(struct devic pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_ICE_LAKE_XHCI || - pdev->device == PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI)) + pdev->device == PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI || + pdev->device == PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI)) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (pdev->vendor == PCI_VENDOR_ID_ETRON &&