Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2880093pxu; Sat, 19 Dec 2020 05:09:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyt64ibcd9VlZRZ7vkTprbCO9jWVU+iIaE0yZS7YZp1y2F/WPj4oeqwx2ORvrtYKftiOKk7 X-Received: by 2002:a17:906:f949:: with SMTP id ld9mr2029858ejb.401.1608383353003; Sat, 19 Dec 2020 05:09:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608383352; cv=none; d=google.com; s=arc-20160816; b=qkZS8DUpHuxjNnyTdp99bkIidoagTdfmZDXCzwo3wYLMFbjixdSwYRDzzYxor+V543 sNqMtzGclsf0xbj6hs7RiHvo1mLsnekKKjeuAZb5AvhswEyOk+JMYNUEBqNX6L56Hd4T 6d73uU1tnBANQP/UDLJkBN35flAJOX8tCfCJPnRb4B6RApubTM2kMV0ROBoGjKSnT6gd rZdYkANKXZfdMiNjOpvB3iqKvKKadMG1SM7nyDCifZ+P+EGBZTxckOxRV8NPVZqsTRKB B3qBoIVX3saUj4jMOeFxtm1+M80hExMzhC0ZlBZ46zlKhK1Nj0CSQ2eLIXAlitouuoJc Cuow== 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=lHVXxUzb11utMmOkj+OUYq3IKYlg4mPE5976NSs0ICY=; b=DzJoSB2V26+9l+f+y5S95EN+OF73e2Hw9MDmd6sJIw47AlP7ZoKVrlDEgkzer7TPSK HR+2I2sUq5AZnKC7knOdND6nHXJXnJA9XJZlqy1GezO5/eY94evDRoHYd8GET4g3U0c9 7R+79R0V5aGZP7Ts4/vzKhj9ESB1tL7C2KuXiVO913jeR6siYc7RO67VFsPeJNC7ya60 DM/hby4csJWH02T3hgQJYL9chwaI7j2vtdDoudQrGxVjrg0r535Yruv5l292N/W++395 YGhBZtPepm6wZTk5cRaoJittEKiPgq7EQuOlHbAIggiEGgigMjRN33H2HcHXEwfbbj2W 2aPA== 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 s17si6103953eju.360.2020.12.19.05.08.50; Sat, 19 Dec 2020 05:09:12 -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 S1727179AbgLSM5f (ORCPT + 99 others); Sat, 19 Dec 2020 07:57:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:44160 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbgLSM5c (ORCPT ); Sat, 19 Dec 2020 07:57:32 -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.10 11/16] xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP Date: Sat, 19 Dec 2020 13:57:18 +0100 Message-Id: <20201219125339.627989575@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125339.066340030@linuxfoundation.org> References: <20201219125339.066340030@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 @@ -47,6 +47,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 @@ -232,6 +233,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 ||