Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2907158iog; Mon, 27 Jun 2022 05:31:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uM7FOGVWfnrMBgssVcgxKDOmWZwZTvy3WvOKYVX/lGpNBAZLAroHgkpaY5WrVOgKMAKxTZ X-Received: by 2002:a17:903:234c:b0:16a:4d9d:ed09 with SMTP id c12-20020a170903234c00b0016a4d9ded09mr14409202plh.120.1656333111145; Mon, 27 Jun 2022 05:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333111; cv=none; d=google.com; s=arc-20160816; b=N76MVZEziaFdQviMwRqZ+HM37HSoiqSlsywoZ528nODqT9yy8wOWW9bnCMYej2VkaK ONRopaBqozyurTulfQZhQJyMnD+VYGSbHBuXLea81N2FicI27xnslBVf1S0Y68T9Wz6f JfmoBNh2YRdNnOEOlI+y4fALdNugLPd7yT1knQJLcwss/m7cMbeI573RUB+3Lm0qnL60 lIO7ZM6LAiEbvlSX+ziZ/aDzizTLC6OFcv7dMbQgOwVet2562O7YC3aS2n3XdZCi7n8a QDrb8N/0lk1ICp3AVGqWPcGz3MjETrD02gV5S15tVol8Qp83tWYCSnI7LeuGAv0/JN90 BsSQ== 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=tMBqmLCtzvTgQ4cTPndz39l5eTfjC66dNq8YNjUQa/4=; b=X8WzCcWrgPLeZaboY042Ir7rCyEsEhyM89QVWHydjcGke98k5xczOVj6rkNM5vg3re 3Tw4Jff0/SXcOcQ0+3Unv4qCq7JL90E0ovVtmJulumNNZ//G0YFjK49mrmqWDWTGDdEy eucUo8wQCe7TisWwmQM8Ic+rwGbkiolT7+dIinTE1uPaS7xVvDayOF5PSVBYUQfCvyaE zRIe+E6h1zMugF6yoe5bRs9iz1kJa4JjE4L0zf8N479eoiF1KRjJr3y36g5BdL2Kxs2P HqudvnXSCzC13WW5DDQhWQ7/DqhbdJxb6mndP1y6u87CdLIicjau0B60cJ9GqqBLOYPt KEjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jsxO5syY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020a056a00174200b0051872773159si16808523pfc.228.2022.06.27.05.31.38; Mon, 27 Jun 2022 05:31:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jsxO5syY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235156AbiF0L1B (ORCPT + 99 others); Mon, 27 Jun 2022 07:27:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235039AbiF0L0R (ORCPT ); Mon, 27 Jun 2022 07:26:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 650259581; Mon, 27 Jun 2022 04:25:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E717FB81125; Mon, 27 Jun 2022 11:25:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50856C3411D; Mon, 27 Jun 2022 11:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329154; bh=FajuNFq2ddDG2J+EYOw6AB+PK0XkqcMEjnNMEyxORdY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jsxO5syYHa5hGzFENZUtgPpX3BSBEIID96Lk8p3kMLEphdBtFSOYRY6/wzukj6SjX f8eiKbVwPOG2bDtiKAYbmAHcQxhBlmFyVJB8EAI4qhSPUYb/cHJEIEr/Ws4R+9rDLV F3xrlF5zI39kZhs7e+8vzeMfyjIP9ZYg0cQrX5uw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable@kernel.org, Utkarsh Patel , Mathias Nyman Subject: [PATCH 5.10 068/102] xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI Date: Mon, 27 Jun 2022 13:21:19 +0200 Message-Id: <20220627111935.488382448@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111933.455024953@linuxfoundation.org> References: <20220627111933.455024953@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Utkarsh Patel commit 8ffdc53a60049f3930afe161dc51c67959c8d83d upstream. Meteor Lake TCSS(Type-C Subsystem) xHCI needs to be runtime suspended whenever possible to allow the TCSS hardware block to enter D3cold and thus save energy. Cc: stable@kernel.org Signed-off-by: Utkarsh Patel Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20220623111945.1557702-5-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 @@ -62,6 +62,7 @@ #define PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_XHCI 0x464e #define PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI 0x51ed #define PCI_DEVICE_ID_INTEL_RAPTOR_LAKE_XHCI 0xa71e +#define PCI_DEVICE_ID_INTEL_METEOR_LAKE_XHCI 0x7ec0 #define PCI_DEVICE_ID_AMD_PROMONTORYA_4 0x43b9 #define PCI_DEVICE_ID_AMD_PROMONTORYA_3 0x43ba @@ -267,7 +268,8 @@ static void xhci_pci_quirks(struct devic pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_XHCI || pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI || - pdev->device == PCI_DEVICE_ID_INTEL_RAPTOR_LAKE_XHCI)) + pdev->device == PCI_DEVICE_ID_INTEL_RAPTOR_LAKE_XHCI || + pdev->device == PCI_DEVICE_ID_INTEL_METEOR_LAKE_XHCI)) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (pdev->vendor == PCI_VENDOR_ID_ETRON &&