Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp141649pxj; Mon, 17 May 2021 23:21:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrYadxunnInA3ONutX1I/ZJkQw250cQAc8jgRSTPXyTjDUdnvL3aikTVnHYODVSoXltoSB X-Received: by 2002:aa7:d65a:: with SMTP id v26mr2388162edr.185.1621318877333; Mon, 17 May 2021 23:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621318877; cv=none; d=google.com; s=arc-20160816; b=OmJD7x3ZScSMUsBGjMyuROmoLgqxNGkF72yfsyt6sl3TwY5U7ihpH51qj6/eAwcy3W BmGXsYOyQbuNHwyhcWcIybzVTWQtZA4IeqlxtfkibJ1NErZcw/wND2IPfh4+5O6x2yxW oQsmN118mlt7luMnMNEMl3zVU5KkjU/bXTu5Fi5/OFOPocxtFXVf/Y/tdC1okocIgEK1 fIqP6T3coNhy5JolNcX1BhGVr+V+8T3cm9Z0WXT5CWeNIj3r83Ro+SvURPuws5KtMZmP ixUHMD/XlRvCUonEdZP6651qPnJoXCibkx18X6uxVxVTj6sSxZJNrGdHs6+CQskQy1YT AatA== 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=MhVz7PVkcmiPGY9zy79RtYKsH5lsF4ta3hX59n3OwCi4h/xB220na+5iuD71wWKhQd LWvzOguyRrtuqmN2NlQ13eoADLnmzM4O1zMJRycRqoeRlfyLSNplgFHZYMDEHpQCrll4 qqfhzxYJYPnSS9srS32nqvmyW4tGrEraoK0ZJ6ESIQAmp1vOiJ5mdKaS2g96DRtelnZt JTqBiPH3PwDmzqOEOKzPr29iJzwUjSE36kra/yuZbYMtkqVz1B07xbfPoIY5EYmlyTUM NGRqIc6JkyYkRBI5/YJ6Gsqs2LiLHJp6S9c9Njo4FEed7Clryl7Tx/YStP0VVXu3WruP T7jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NOChc3lR; 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 w24si7909013eje.665.2021.05.17.23.20.53; Mon, 17 May 2021 23:21:17 -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=NOChc3lR; 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 S242161AbhEQOuB (ORCPT + 99 others); Mon, 17 May 2021 10:50:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:52916 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241041AbhEQOnM (ORCPT ); Mon, 17 May 2021 10:43:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 54F0361414; Mon, 17 May 2021 14:19:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621261183; bh=nLZfFLfIMSjb7iPWswJhagxZlOp3+CzraNRrZ9kLpAQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NOChc3lR4XdYhz8kvXvyzYIzR0eJxgNHtIMcve35BMVfnAbt9OukS3z1kWmxOgfp1 UvgM/GaY6B/Df+SsYYe1FH/JKf0ybYsaXUU5/jKehkMCKZCSQVX5ntZNbGYcTV+1u8 Of8Q9KE51/L+DZUssCo4wELkjaW0atvMTrGhxLek= 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.12 319/363] xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI Date: Mon, 17 May 2021 16:03:05 +0200 Message-Id: <20210517140313.390751952@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@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 &&