Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2906443iog; Mon, 27 Jun 2022 05:31:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tM5t+zaeVk2TZiBwA4de7fY3ukDbJvFEa4pEnIuLECYEe36RI11b3yKtnMldoGSgzC/mhE X-Received: by 2002:a17:907:1b07:b0:6fe:2cbc:15c5 with SMTP id mp7-20020a1709071b0700b006fe2cbc15c5mr12858555ejc.677.1656333060543; Mon, 27 Jun 2022 05:31:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333060; cv=none; d=google.com; s=arc-20160816; b=EkOEPww538vKuwKz+50Uw6wUTFs98/z796n8VEPSBfgTDezgvvF0f0Eqxz6wRqY3IR whRGgKJHEku5KR/dVgfAvofpQ7xLW2L5g1D1VwSPufSxbqwlnM/ii+FJcC7aBPi7e3E1 tlCEBuQAczXb1UJWP4l2jNl8DBXxmgS8nosYynn60BHyFL2Zy4eV5dmloGo7MlfE8m8T 1kwhwSiJJhEjojdFUO+RBNUuZuPEVblLXfI6JKXjC/mnA4Ry31tCQxWJkNtyof8t/vZi RfUQ686tHqBrHzmZMJ0m2j3K9skbI/4jJLVtBYOT9tJu3DoWAjwZqAInL8AZzUSWo6Ve 3F6w== 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=lxcNN3xO9McpBLX1mOCN6LEPSbqMLOQ/ALG/+Mxh/1w=; b=qg9SthCUnk4alovlhM+9rjaC7T/gBs/f4tcPjIZlZB0M3ECXzW6tRv2rgW6IFdUGm1 gQlS1YVVtiCRva0YQwpHc3eguiFAG52WO1C2QT+VkYm8ycFw0OrW8xkfc2XUvN5ynxLv 0VjPIqL4R3rusVCKvSs0rGeIlWqstayYxZm6+6LtjV/ECDnkxUWEQ1WuulhzUgeXCkAL ykOK9Y8v2luGYQcVX+nPrLXOxR5oz/kIaLEq5B8Nm7AYzMZ3MAkWKHhpEMfmBZAvPE7j w1L2ClOQrRhqPPi37lSe1lGftexwgmOlPYdlH6odhecMR7P10LZZjLYXVIqBr0P7V73C Xl7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JXjGgIcv; 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 ne8-20020a1709077b8800b007123c7ecf90si33417ejc.476.2022.06.27.05.30.36; Mon, 27 Jun 2022 05:31:00 -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=JXjGgIcv; 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 S235150AbiF0L05 (ORCPT + 99 others); Mon, 27 Jun 2022 07:26:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235035AbiF0L0P (ORCPT ); Mon, 27 Jun 2022 07:26:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD49965C3; Mon, 27 Jun 2022 04:25:52 -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 2EFBF61456; Mon, 27 Jun 2022 11:25:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E353C36AE2; Mon, 27 Jun 2022 11:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329151; bh=2CawkonEHZcFllPVwI2kBu3fA1mCMShdp09CEgSJfus=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JXjGgIcve4Vb3SZ+VymCT4pjeFZsdLOzU88+aRLfGx/WOGymLFDUCPmo4VruUtZQo EnS9n5o+xt18dJewrZRvkxzIf8Ta1MCoVCXaEMcJi3vn/8rOdf8oKoX1G5ZNTMh4mi zeh7MsR2ib6sJPWX3a3wBUWZVLzsvssWy7zIv9y4= 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.10 067/102] xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI Date: Mon, 27 Jun 2022 13:21:18 +0200 Message-Id: <20220627111935.458819907@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: 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_PROMONTORYA_4 0x43b9 #define PCI_DEVICE_ID_AMD_PROMONTORYA_3 0x43ba @@ -265,7 +266,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 &&