Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2874336pxu; Sat, 19 Dec 2020 05:01:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZxUHeOIIN0Bc3fZbCgqIbxUYf0dQoI2Gxp+lcXqDiwvNxLkpLwhS4ssUoff3LgDVKs/gM X-Received: by 2002:a17:906:3953:: with SMTP id g19mr8146008eje.429.1608382875866; Sat, 19 Dec 2020 05:01:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608382875; cv=none; d=google.com; s=arc-20160816; b=c9LgGlAXk+3DWh4gmqUnUhhYlGinnEoR+AfWmajBueeXNGy/W0BaWUL8KKfZrdOwci rB0YmBiGuI2yxKlTLcDVybPaUd1dPyPYtFd1QpODurXv5EY/yAhvhjbZ9rHPq1SJWjD7 sLNMC7i8/TlzatZJQxqbPyHim6fZANDE8sWiMUUyeRNB6mKi2xUw9JBYju+BEgINS23i AKwWy8hunzHpFQTupooceeJH4hY7VuDkpKpnYQ5+nFq14LxHk8Q7l03MKMVUBlin+hal IIWk742swy0fZ2nSBW06k/d7zmBiNnBQ88j87Cd7vLm4ed2ShWzGGHAoiMF7LuRzCl6y XfOA== 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=wH4MnsEm2+C5lFUXY9Al+L3lRi1cbq8scPBft1T/vJA=; b=tnF43Fu1yxIuGSd6BVkh8MWVnlpwkqkWkSFy5h+9anEmR29UJqM3xCqzgymlRAnVWK AabWIcPt1R/kLplhIrnX3ROD70qqMhSryzDtNEHCsKWz2Gl1Vg3tJSJWmOmh5HAAdboW +MLvV9Y8zNyeLNi/Ip1GwZJk+53s6hmn+mYOFFmHjShyYeJTr9G4B2Txkr5SIH+eQKqb CXLKHy2Z0aBLTHhdB0WJAchReX/wZIkM84qIN8+hvzA78wczB1LO42DdaJVBy0mC/8/k +vxWB1x5ogk0Pb0Qw8/pDKnIG6eK2J/twdeUAG/ttgVret3hRbCXIAjRAWqKX2S66lIr Xo7Q== 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 o24si6270321eju.300.2020.12.19.05.00.53; Sat, 19 Dec 2020 05:01:15 -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 S1728163AbgLSM72 (ORCPT + 99 others); Sat, 19 Dec 2020 07:59:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:44848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726552AbgLSM7A (ORCPT ); Sat, 19 Dec 2020 07:59:00 -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 , Hans de Goede , Mathias Nyman Subject: [PATCH 5.9 40/49] xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP Date: Sat, 19 Dec 2020 13:58:44 +0100 Message-Id: <20201219125346.627251411@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: Hans de Goede commit c4d1ca05b8e68a4b5a3c4455cb6ec25b3df6d9dd upstream. The xHCI controller on Alpine Ridge LP keeps the whole Thunderbolt controller awake if the host controller is not allowed to sleep. This is the case even if no USB devices are connected to the host. Add the Intel Alpine Ridge LP product-id to the list of product-ids for which we allow runtime PM by default. Fixes: 2815ef7fe4d4 ("xhci-pci: allow host runtime PM as default for Intel Alpine and Titan Ridge") Cc: Reviewed-by: Mika Westerberg Signed-off-by: Hans de Goede Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20201208092912.1773650-4-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/xhci-pci.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -46,6 +46,7 @@ #define PCI_DEVICE_ID_INTEL_DNV_XHCI 0x19d0 #define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_XHCI 0x15b5 #define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_XHCI 0x15b6 +#define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_LP_XHCI 0x15c1 #define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_XHCI 0x15db #define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI 0x15d4 #define PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI 0x15e9 @@ -231,6 +232,7 @@ static void xhci_pci_quirks(struct devic if (pdev->vendor == PCI_VENDOR_ID_INTEL && (pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_XHCI || + pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_LP_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI ||