Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2908663iog; Mon, 27 Jun 2022 05:33:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s3rbgjz363zz0A414itlA5bt18i2fF+ClMjO2w5pf+AiI8GXnEw2tQ/TS7MFUUOR1ugbP+ X-Received: by 2002:a17:907:9488:b0:722:e5c8:c647 with SMTP id dm8-20020a170907948800b00722e5c8c647mr12405771ejc.291.1656333207245; Mon, 27 Jun 2022 05:33:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333207; cv=none; d=google.com; s=arc-20160816; b=IP77XszEHSbFCh8G0j+EAf3Q6RDY9c8sQIVwhGfZ6p5nKo53eMLM6CYVI5vHYuPjsl 4Td27S2FThSe5O7HMxSk1mtRctvvpSdKYB35u1Qb5N2sbGxTWehvBk/tE7C+VmMxHS8S F6R6WWIRvzFKh8izXUvu7YJfvnFmvSKpe6M6myKdkJA7Is/a3mVoZTVlkhshcw+iCmm6 Nq32LrcDnelP+S84i0mFCWd0SNA3DwyBAgvrCCZdBK8SXHLG3oMSnyDVmcr0h3YkhJOo hxFUxYKn1aGFlscKRlS7smQo5DebwwiSft2lzbfpDh8fQkO2GrzTwdU3PVwvqIhDSsYU OHaA== 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=otK10xZpe7V7NgaV9WOqVvlC6dyaVSz+8yLUPxjQiQU=; b=mbcBJdUmZdyEEaIHLXh05LlgPE2Pg68VfBRQH30jBmwt9S8ujYkZQafjEGL9HrGZzD sjrz+i0Y1SIxo42bVso9l6nnA9OCCSjx2nzs9xLoun/+TbvSg58rlU0Fkzm71JzkgI8K /OQrfA697FIik5mYoHy6DtfYeMwEpxvoRxE5YpzeGPP47VPkRlDK8KvVARBFJNZmrnZm 3MnTrAWhSGPBpX0z3XU5VmX9geHY87m9yG9I4nxXuNIxw45gEYh+bJjXpwFeYJ91rvJm qQHtnNGYti3U3eeS4YhJO1qd4oBm4UY0k/MjlZf93x5cVDZQCRyWJvvPMmGfmBaJEcfw tNjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZoVWw2CT; 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 3-20020a508743000000b004358a92e8d9si11535846edv.226.2022.06.27.05.33.01; Mon, 27 Jun 2022 05:33:27 -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=ZoVWw2CT; 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 S239328AbiF0L4f (ORCPT + 99 others); Mon, 27 Jun 2022 07:56:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237937AbiF0LtW (ORCPT ); Mon, 27 Jun 2022 07:49:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 150F6DDE; Mon, 27 Jun 2022 04:43:16 -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 dfw.source.kernel.org (Postfix) with ESMTPS id A5D7F61243; Mon, 27 Jun 2022 11:43:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF9FBC3411D; Mon, 27 Jun 2022 11:43:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656330195; bh=I3QWXVJ9FVedJtIHdTU02ubMeFLjM3USY4KbQkG/yL8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZoVWw2CTYJGEIGD2GJEuY6kCoMlI5bHovhWZKzUZa9WZI56HQFla+YZqgL+PHjZOL 7In0b1dbXG7rDnDgrmSeElpNbwiYTWy+RjXUW3fHpMBndFUc0fCGrw3KF48bBahIk7 f9vfDyv1Pfsty1U6sfYx/XTgih70D3dC752YuXWo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable@kernel.org, Tanveer Alam , Mathias Nyman Subject: [PATCH 5.18 116/181] xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI Date: Mon, 27 Jun 2022 13:21:29 +0200 Message-Id: <20220627111948.060448060@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111944.553492442@linuxfoundation.org> References: <20220627111944.553492442@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: Tanveer Alam commit 7516da47a349e74de623243a27f9b8a91446bf4f upstream. In the same way as Intel Alder Lake TCSS (Type-C Subsystem) the Raptor Lake TCSS 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: Tanveer Alam Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20220623111945.1557702-4-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 @@ -61,6 +61,7 @@ #define PCI_DEVICE_ID_INTEL_ALDER_LAKE_XHCI 0x461e #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_AMD_RENOIR_XHCI 0x1639 #define PCI_DEVICE_ID_AMD_PROMONTORYA_4 0x43b9 @@ -270,7 +271,8 @@ static void xhci_pci_quirks(struct devic pdev->device == PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI || 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_ALDER_LAKE_PCH_XHCI || + pdev->device == PCI_DEVICE_ID_INTEL_RAPTOR_LAKE_XHCI)) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (pdev->vendor == PCI_VENDOR_ID_ETRON &&