Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2148001iof; Tue, 7 Jun 2022 21:20:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcc18WSamBOBwKIJ8wMnbGiXcB5RU56j0RvEKij6KXonyiKxVh9s784vVgsylAPoUQW0Cw X-Received: by 2002:a63:8648:0:b0:3fd:980d:8de4 with SMTP id x69-20020a638648000000b003fd980d8de4mr14283485pgd.198.1654662055792; Tue, 07 Jun 2022 21:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654662055; cv=none; d=google.com; s=arc-20160816; b=glzFd+g9Ste7nImaRv2l95EP622SHht6hot1Nktq6m5OkuJ2s9/EmPpuHGObk0ejb0 1FtDy/Zrjn/C6roj9m0EkGnVrR+0DklVIjYODJ2mDFHhwOq3fabWM3TF9iUsX1E7FJUA RJOVXeA7G3BvhfriHSFiVnrZPreUkSleZnSXZDlSLPENf9CBvaWmJ/effHtjU13dzIo2 LHIMG9CmnoWgczhzAMc5EibqZwWD4jBy/30kHSEXZ6KZrK2K7CVYmQbEiIqYEauehLjF XQcqI+y7KAUqwqrHKcULqvONWn2RXI3S1XNGIjM2yjIUr2uLRn7JIOjNR8/5MGdPVVyi ovlw== 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=qmghc1AxW+c4Ptfwt+g/pDmKStVCT8hlsaOa5i1nqD4=; b=VSR73wIHQmetq34CLIVV1QM/o+sJbVqSulibQt16LFJbkzB61ZZ3xjvyvMjFL9ttYN fPm2CdbeR4SkfDhvFezQmHNPt7pKryCucYIEH9bQsQhXwXl7udYm4gdvBasEzewlU0Un 0/kbnyj7CV5zZseFScZprqLOpPahDZeMucodgYdoTLu5V80tnVF8U1OA/ZJ/cDxngRle W2LF6yr/wmZqqBSOBiRMcsSw75q1fqMdlSf/zGzj9qcigKHZC+VRgFJNT5y8ns0h9R89 J7LeipS0Seja8deN7a3sYW/ydno0foFODk0LSYJRuLaRzlQ+Yk3I1h3rB6LBWIW8UhyX iIEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YTNvPsA/"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 71-20020a63014a000000b003f66d07b6e1si28325432pgb.721.2022.06.07.21.20.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:20:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="YTNvPsA/"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 41F4817C6A4; Tue, 7 Jun 2022 20:52:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382867AbiFGWAZ (ORCPT + 99 others); Tue, 7 Jun 2022 18:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379241AbiFGVCO (ORCPT ); Tue, 7 Jun 2022 17:02:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D012810FDA; Tue, 7 Jun 2022 11:47:06 -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 91E37B8220B; Tue, 7 Jun 2022 18:47:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00AE1C3411F; Tue, 7 Jun 2022 18:47:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654627624; bh=q2Xpkw+onYKKa4/Us+LoQ26hoDxY+NiVrhxSovEPERo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YTNvPsA/wGjRGdOr+24fjmGU7NGIaQUKbpsYFVKQpwfUSL34SUYKq/1nmb+tYz82A Ft6VuTLlRYWXpyyGSSYzeXlFtVTdJ6r55jA3h1GErnlabaNnqVLc+uG6QmvTDrAKe5 6XRnzNK4R3FHfK/x/8IIEehl8uEb4LPqT1EVyfAo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable@kernel.org, Gopal Vamshi Krishna , Mathias Nyman Subject: [PATCH 5.18 035/879] xhci: Allow host runtime PM as default for Intel Alder Lake N xHCI Date: Tue, 7 Jun 2022 18:52:33 +0200 Message-Id: <20220607165003.696732256@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: Mathias Nyman commit 74f55a62c4c354f43a6d75f77dd184c4f57b9a26 upstream. Alder Lake N TCSS xHCI needs to be runtime suspended whenever possible to allow the TCSS hardware block to enter D3 and thus save energy Cc: stable@kernel.org Suggested-by: Gopal Vamshi Krishna Signed-off-by: Mathias Nyman Link: https://lore.kernel.org/r/20220511220450.85367-10-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/xhci-pci.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -59,6 +59,7 @@ #define PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI 0x9a13 #define PCI_DEVICE_ID_INTEL_MAPLE_RIDGE_XHCI 0x1138 #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_AMD_RENOIR_XHCI 0x1639 @@ -268,6 +269,7 @@ static void xhci_pci_quirks(struct devic pdev->device == PCI_DEVICE_ID_INTEL_TIGER_LAKE_XHCI || 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)) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW;