Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2909355iog; Mon, 27 Jun 2022 05:34:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uV1cc7W2WDXvtpjkr2OnS6iB9ImCakkCzn8z70/QqzkYugVozz1XAK3xdbf/VQxSyo2P1x X-Received: by 2002:a17:907:6e92:b0:726:c846:591c with SMTP id sh18-20020a1709076e9200b00726c846591cmr57590ejc.428.1656333243684; Mon, 27 Jun 2022 05:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333243; cv=none; d=google.com; s=arc-20160816; b=F6FyM15D20muIECGhjOf1bdu+tPt71p4KjsfBtPnu1rgV4RIcAVI+HFGRTAiThIPmX 4CnGk46ryw38YEHNSb0ApxivtLrIGzFnnU+V694jXMdZecPnvK+IASuTibDUfudieIj5 q0008h3Qgt/akiuQ6iYAOXyGqUxke8X6ap2LEP1K2eBJW+towfSd35AM14hHmUbXqg22 NMwNstBb4sJ9RnVPZaUOGQ0jxf3bLAiGx/ar8rdvSFJ3HXfP9kLU6WpcmTqt9XlqT+Xk Sw04pamQN/5XFmeOyfnpfZ4JweRXUwKUghSCam6OlKbRa3PKJJFhcy6eBncVfxU8vRwd QNGA== 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=JLUVaqEHgpgpNCuHHYcNH3AEHAMceVZdhBxNL2S7xfw=; b=QEyNQSE4kJzDmS/XaxyaMDZq8uK9gpYlbmk/YGTfYO1JzgR5vnCWAwoccBVYoc1S24 ueYI5NbSM1+VxHcM8vvRQGxx5/z2WLGJMhvp9ZXYVfbgE3JP6GatFdjjtZmUJqX945j0 i1qxYRZkUUzSOOcMWtbd/SzvNMEhfPUQh+9zvnRPnE69xuIAktbW2YXfdnkZczl/JYYl 10Ni4wq9Wd9TGquws/hoDh4auFunTfSb8X7og/9fdBOKftJ12XeVkVrxoqUyIK2hiIXI hOfE2ml3cru32dJqCauZG6IAhKZqn45/bh+VlDlulRmppyZ+uDEvLL+iDKHYX01UYKLo fhdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YEr6qAO7; 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 y5-20020a17090668c500b007136091f459si9936366ejr.302.2022.06.27.05.33.38; Mon, 27 Jun 2022 05:34:03 -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=YEr6qAO7; 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 S239317AbiF0L41 (ORCPT + 99 others); Mon, 27 Jun 2022 07:56:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237965AbiF0Lt3 (ORCPT ); Mon, 27 Jun 2022 07:49:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25FE3E02; Mon, 27 Jun 2022 04:43:22 -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 8C56CB80D37; Mon, 27 Jun 2022 11:43:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D04F7C341C8; Mon, 27 Jun 2022 11:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656330200; bh=/yUr5kOLGptxvdwwPg9SpLafIzbLfy8B2/nwoGPtK9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YEr6qAO7pBdzVPwab7jLWAn7cMsKK9nToJYf/cRrpTjmvUPta6+ti+hCth+IML6XB CpRUEUI2c90I3gSoqcESwfZvHdfnBfsseI0hIH45J1f3P+3iwZhHVllZLc2AyLxb6O vRK+eGG8XfL3nqLLgVINYCoJCNMo5Y0WsVwDSaDU= 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.18 117/181] xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI Date: Mon, 27 Jun 2022 13:21:30 +0200 Message-Id: <20220627111948.089219717@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: 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_RENOIR_XHCI 0x1639 #define PCI_DEVICE_ID_AMD_PROMONTORYA_4 0x43b9 @@ -272,7 +273,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 &&