Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2876980pxu; Sat, 19 Dec 2020 05:04:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVoU3jmV029olgNEhmWDlmWy0VepQgYLVZJKAzauf+7sI+C62r6kd72ocXbg0oEB2EyOqU X-Received: by 2002:a17:906:168f:: with SMTP id s15mr8131235ejd.180.1608383083810; Sat, 19 Dec 2020 05:04:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608383083; cv=none; d=google.com; s=arc-20160816; b=wgs3jJqKzvR9HXtj58Th3vnZYA9r5LopwQ8ujYf4hTMCJVx7qtIgIqnOLqduDDtBpU 6ub0EPYF9CdbVbHdjq8wiTx3Yx4WP7KasvPtVhSJ+urxgu1HZWZCu6Pp4QA/SrjvjIfD +YBLMLvDaD26YBdUjg99G5ST2SMGIh0R2E2UskLxZc1uUPNENH+OvvTBjvxyTthfe3fI I5e60895Pm92Li56dVy9JnNvFzjQRbeoupO/OmfEQ/8TFrbPCAEMjxVmQa55GR7Z5JN+ ihGEXnNuEm2cK7NCaSyJX2oJpGvtE24mdqYaL4NpGp6nMUqICvRTogrTq8v2UX7jbi+S pzDQ== 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=vQ+Nkz+9QJZtfrYzNzKMoDqVlXc1opMrUbHXIroBiBI=; b=0c0C6Nqdlu7ErKvwmz2FIo8taTuwbzRMSwz96ka4BMjZANRD2GZvAnFaIKsDbMu5p3 pHcXJpGm1BEkxx59mUd4g2sb1oGPTSe/n5kFPEn69R93RLxOmW1H9Y2zsD3VpTw0LnYS /iDWWk18PcHZaZ7EeN33lR+kpPdzVmzXgH7HrKeEESiR2dHzqNerjvbF99A80n+uyyrW x3CopxR7SoYjJ1g3+LRdKFfO5B493aTgrS1c7bwJ+80aBUxy25pH+Lo7NAkYJ6mggxy0 XdqqLk24G53LBZaBpMfEhulc+kN7czexcbCr1gvuOgM4PlaowH4zXgF+g38tOKt5TSHB eNXg== 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 v21si7766034edx.3.2020.12.19.05.04.20; Sat, 19 Dec 2020 05:04:43 -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 S1726866AbgLSNCd (ORCPT + 99 others); Sat, 19 Dec 2020 08:02:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:45422 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727945AbgLSM7C (ORCPT ); Sat, 19 Dec 2020 07:59:02 -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.9 41/49] xhci-pci: Allow host runtime PM as default for Intel Maple Ridge xHCI Date: Sat, 19 Dec 2020 13:58:45 +0100 Message-Id: <20201219125346.676548195@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125344.671832095@linuxfoundation.org> References: <20201219125344.671832095@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 @@ -55,6 +55,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 @@ -239,7 +240,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 &&