Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2877901pxu; Sat, 19 Dec 2020 05:05:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLQGv4Rv3fz9KICIHT7TH9TPmlDQ6z2KTzNShnQBuRa3GeCVxcQ+UPxxPL5s5yW+RqFQF8 X-Received: by 2002:a50:955b:: with SMTP id v27mr8604941eda.324.1608383154533; Sat, 19 Dec 2020 05:05:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608383154; cv=none; d=google.com; s=arc-20160816; b=clkPJX2SEj0zz4JSj4b/Wz/Cyf/ZLNgLRwNBF7ArG4Rj8rYOIntN8LIiUgDOMP348y 1YDvrtW5/9qKe5oQ2HS4xk5CdbWMUM+GSnR++bM9Zbzi9gsXq5azTP6pVWVFsKCIOMet b/DBLb1iDlwKg34B8ea+S+olOC6J0JEB6fW2vBULAaJepFEFuwQqRMxfBxQZ4uiLTE7q v0LUeIPkg6Si5My8eQddYGVxMWuKtGDaeZVzJjBKI3b+xPBS2VsnPRL5nRu1XKMOG4EQ bfbHzxwaO7gn9KNH7jD22SNQfpaRZCQSuwOKk6CmgDF7RsVeMlXqYoCxGU0bd41YcQWL PZFQ== 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=dEdVpPrOGaOoTF/aUyhiOVCedTRhh0TzLN+NzL1fDRI=; b=RDHWkTN585tqAOg6JeTmRryOcCDEzaVIou1AJaH+gHn08h3lHcB8vDaxaekB37F3/6 7o7zN58FDwoUrKxUUSTZrMwi33+cmGmlpxp7zokhURgCQtTvfSsFxlNpjJPrC/yZNTQa U0oBZ2dCoQZS3ohBpSZFaQtZBMW7LSZxxxw/cVLQXcQcS1egvdFcqk2Ydq+pLnMo3eGF 2ltpboHSZkheek31oNEifVUsCzk7Yp7R34/kjLKh4gimKRnQZTLKnkbJDgBzhig6QwaZ YBWPf6JJlS6/TgCyl+YfYm6xmc0os2iRqrG8VXJC/IV1ph5EjjyD2wWvsxjzwBDvrF1U aaWw== 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 dn3si7359883edb.35.2020.12.19.05.05.31; Sat, 19 Dec 2020 05:05:54 -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 S1728656AbgLSNEI (ORCPT + 99 others); Sat, 19 Dec 2020 08:04:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:51094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728554AbgLSNDt (ORCPT ); Sat, 19 Dec 2020 08:03:49 -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.4 25/34] xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP Date: Sat, 19 Dec 2020 14:03:22 +0100 Message-Id: <20201219125342.632188309@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125341.384025953@linuxfoundation.org> References: <20201219125341.384025953@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 @@ -45,6 +45,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 @@ -220,6 +221,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 ||