Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp648434pxj; Tue, 18 May 2021 11:00:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzmy8EHD6HrElMvGsX255ITEyNNKdl0AvHjgaHYtxXdteX6MqEGhmArzwZXPOMomeH9/vs X-Received: by 2002:a92:340a:: with SMTP id b10mr5487700ila.301.1621360823309; Tue, 18 May 2021 11:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621360823; cv=none; d=google.com; s=arc-20160816; b=o01DoldlsEFwDufx3/1kmqkFVMWPNDUywmBwyNkriH69uk0wnA7i31ma+1HWhSsfkE 4kjCboyFPXtD0Dn0IYRZEzFAwe5GJ1rpcGrA6+AmlTw3XLmltFb6Wz+ltoKv82qVLSiG 9EJcDSOuvoJUva5n4ChkdjbjF0i3PuOXuzyUwpOhtHjwS35IsWmg8vEivb1Gk0Wts1K5 nxrBPtz0ZqGjG4PlJAkOPgaTqPiIjSv2ZIiCTodHySmsw4zhtkm9imeuxr218xBux7HS dqAodqJ2rHZlf4woRLIKcbgnLKoe/5sAAR/9CbsKy7Z4iWNNk1ja7zqzySK1IcNqptpS CQ0w== 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:dkim-signature; bh=pTleFumBQ0TDZ5xrDOt2bIGyarg1YDnlf/V91FlmoBI=; b=aCkXU0AEmM4S6muEsrS8VZWaH2qNJBZXtAypNkMhTh40rgJpheF2Zt8wzJUBbceD1I n3H6MGmApQllhd3FhIyIE8bRyJALXXNW868khm3bisKXRGumj87uE7AESwnj8oGVR6um tTZOhoY1AlTFOk2Tyl/AV3RyEq6UUfFSruRkTWRoZc9boWqzugG7kr+Nd+92/s/M6NGY YIyUI952rpfQP8DfvvKVrbPWIQxv40Dosp5P9HHSqINikC12PP0WfK0UfgA1rBZs1Lyv oaqUOWi32K9i9cL8rYWVGCCuTPLnANZ+uLSiOILXXnFYUJU2QRTM4+ShRsCtTQTqDjmI 0NlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gJnZJu9k; 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=pass (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 s7si25854994ilu.0.2021.05.18.10.59.44; Tue, 18 May 2021 11:00:23 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gJnZJu9k; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346835AbhEQQKD (ORCPT + 99 others); Mon, 17 May 2021 12:10:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:35610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345030AbhEQPqO (ORCPT ); Mon, 17 May 2021 11:46:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A22E46194C; Mon, 17 May 2021 14:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621262657; bh=nLZfFLfIMSjb7iPWswJhagxZlOp3+CzraNRrZ9kLpAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gJnZJu9kX4I8oxOBT+citu45DlDm2gcqYv1cy+VMlwXNx0z7VNzvOUKooG+qaIzgA hMGA39gkeX13U3ev24Hj4bdlMW34eYgKtNDdMSXQgODv2eAZ2Ft9rv15N9FsRjupvC pYRIB74g7X6F6QkfcQZlMwFSql2xBnJsO5+TdO3M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Abhijeet Rao , "Nikunj A. Dadhania" , Azhar Shaikh , Mathias Nyman Subject: [PATCH 5.10 249/289] xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI Date: Mon, 17 May 2021 16:02:54 +0200 Message-Id: <20210517140313.525241648@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140305.140529752@linuxfoundation.org> References: <20210517140305.140529752@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: Abhijeet Rao commit b813511135e8b84fa741afdfbab4937919100bef upstream. In the same way as Intel Tiger Lake TCSS (Type-C Subsystem) the Alder Lake TCSS xHCI needs to be runtime suspended whenever possible to allow the TCSS hardware block to enter D3cold and thus save energy. Cc: stable@vger.kernel.org Signed-off-by: Abhijeet Rao Signed-off-by: Nikunj A. Dadhania Signed-off-by: Azhar Shaikh Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20210512080816.866037-2-mathias.nyman@linux.intel.com 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 @@ -57,6 +57,7 @@ #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_INTEL_ALDER_LAKE_XHCI 0x461e #define PCI_DEVICE_ID_AMD_PROMONTORYA_4 0x43b9 #define PCI_DEVICE_ID_AMD_PROMONTORYA_3 0x43ba @@ -243,7 +244,8 @@ static void xhci_pci_quirks(struct devic 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_MAPLE_RIDGE_XHCI)) + pdev->device == PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI || + pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_XHCI)) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (pdev->vendor == PCI_VENDOR_ID_ETRON &&