Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp823659pxb; Tue, 3 Nov 2020 13:34:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLc1HSYLh1p4JoeHdSjO6vHF+Eb6D3DLLtTvG9AuN+uDhVxBDAFjR6gTxi6WcJ1U47vt3s X-Received: by 2002:a17:906:374b:: with SMTP id e11mr9244960ejc.339.1604439258345; Tue, 03 Nov 2020 13:34:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604439258; cv=none; d=google.com; s=arc-20160816; b=kqxGW/B+RzO1QiujDqFXNKS0PNozNrvUoc4UA1PrKUtIxNjnLhL/pKAq943HzgHUeT VIIk28Z0dT9zARCTAYZ69WPHLqC+EGJxLO0QzdcyMniRfF1yiESeDOlpoTzn384Mt0ar YFaLFa3iQH+e7txZiiLRmkI/qe4OgoSTelpmzAeEvidjSyvSVyvGMQ4qiYfnsSBkeZNz EV9VEJBSZD5+WnGdzC4ZEEDADQN5fENK5XzXYSBeQeSjIIA1F5a+PYu6nHkkwmzYzo/O nQLOiXm6LzXQh+pyhsRlfjRbcDKp9kTtbDPXyOSU/vp8RlnhQnOiQfUv1wPfKCNEE7m/ HFqA== 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=zx1gYvlEhqRxg1hW2idVXWBYtt6YGIT/IayUWSUkLmo=; b=Mm5F/QlHFZqmd3SlynkkYOttgPKKvYx21QWVRhIK2GbwZF4BEV599+lIIJzGSFW3gR KeemgMWOw8YyeNJhUno56Qm4AIOwFJ7kOHN3m9wnZCBlWiJZ70wFS6N0L2GOXa8/7jvv GWV6ahJKcMwVx1ZUkMQFB7o1QjKkHqfTAVNovQhGyUp4qkmPntCA/q/98ZZrj5b4b/Vj phcqXmLKJJokM082PLy/5KHjHjmQEyMGe736dvslJAu4jDh04gLik5QXdvn8ccVvWVKo uwQSEetYTGxWub59dQjbwPbxNZchFn47WIgV2dCx3868M3boZzRP/sKJhfkNOmDsozdc d4sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zI7gSVhQ; 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 jz5si61722ejb.728.2020.11.03.13.33.55; Tue, 03 Nov 2020 13:34:18 -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; dkim=pass header.i=@kernel.org header.s=default header.b=zI7gSVhQ; 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 S1731649AbgKCVbL (ORCPT + 99 others); Tue, 3 Nov 2020 16:31:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:60392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731475AbgKCU5w (ORCPT ); Tue, 3 Nov 2020 15:57:52 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C76AE223AC; Tue, 3 Nov 2020 20:57:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437072; bh=i6Il6kjpPM77yfeullmaYgn7IGlIDL4NLgMvuN8Hpnc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zI7gSVhQ4Z6k7RhClzFIRbgIdxezdp1Z+JhdXImqtHOdQ02LUQfVCfjvKDYaxkxLU I1dAQ46CjiKhnxy6gxICKqZdWET/lL6L2RSlRDXasrK0NZFjlnU8szlqq2Z0ZVvc1f pvT9jNmsEkFq5iwl3kCozj6eKANbars7Zz8UlKAA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Raymond Tan , Heikki Krogerus , Felipe Balbi Subject: [PATCH 5.4 134/214] usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality Date: Tue, 3 Nov 2020 21:36:22 +0100 Message-Id: <20201103203303.402427062@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203249.448706377@linuxfoundation.org> References: <20201103203249.448706377@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: Raymond Tan commit a609ce2a13360d639b384b6ca783b38c1247f2db upstream. Similar to some other IA platforms, Elkhart Lake too depends on the PMU register write to request transition of Dx power state. Thus, we add the PCI_DEVICE_ID_INTEL_EHLLP to the list of devices that shall execute the ACPI _DSM method during D0/D3 sequence. [heikki.krogerus@linux.intel.com: included Fixes tag] Fixes: dbb0569de852 ("usb: dwc3: pci: Add Support for Intel Elkhart Lake Devices") Cc: stable@vger.kernel.org Signed-off-by: Raymond Tan Signed-off-by: Heikki Krogerus Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- drivers/usb/dwc3/dwc3-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c @@ -147,7 +147,8 @@ static int dwc3_pci_quirks(struct dwc3_p if (pdev->vendor == PCI_VENDOR_ID_INTEL) { if (pdev->device == PCI_DEVICE_ID_INTEL_BXT || - pdev->device == PCI_DEVICE_ID_INTEL_BXT_M) { + pdev->device == PCI_DEVICE_ID_INTEL_BXT_M || + pdev->device == PCI_DEVICE_ID_INTEL_EHLLP) { guid_parse(PCI_INTEL_BXT_DSM_GUID, &dwc->guid); dwc->has_dsm_for_pm = true; }