Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp555909pxr; Mon, 11 Apr 2022 00:43:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTmEpi5SYCql9um2HoXmhVBnpzyFtO1eHHbxVFRQBiTMNXStvkxMOnsS6KnLeI/qvBsn7V X-Received: by 2002:a17:907:168a:b0:6da:9167:47dc with SMTP id hc10-20020a170907168a00b006da916747dcmr28512485ejc.126.1649662984835; Mon, 11 Apr 2022 00:43:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649662984; cv=none; d=google.com; s=arc-20160816; b=HyB3faYlMYV0k9CwPmzeupZSyQJ+7WfyXCTIcX/Xts4thqgyaMMWk4mfYyMqQZ+PSz PPndvlPJ9XlXVOOeZB2sK1IgJ9MWZtIJz04XGGvkuQuymsupV3RFoledV9mGiOBw6/ux +i9nY4e6Q1PBG7ULG20/uX8Vd34DDyxdVpbKjvbMWGaTLCVF3SEStjRKtPbxcG9VLmmT vesZth0ouxet6PeFi8I79EtHu7/uPC5dEd/ZdouxredzY5bVg9G+3Iw9+xF3WhaXJ84n 1aaDMFwbZIHZF+BdLCsP7TyTdgb5fleIYHD88R7iov/YHBgJAP6PvOTE6nY2pujSf9oF A7pg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=7bnZPItrf/OuYXtsSpA6GbFrZ9ruz5AGfVA3JhHbTYg=; b=t9AOPWwBzbcoP015rPswYL8GESFwzk/aWvZSXS4OcqE6am5Jf7cqQvBAjuSx8nckIH Ebv0TGMHxrQC9IuREb/gis9333+8s1xKx0IdmpX92w/1Z3tcPDGB9170TDM1pWGwP7EV Q5WqbpOdR1QB41pz/6icOnfwvK3SqanL40D4zGRR2p7jB1Bc4A9yHc7PGdo9gFQDHl+9 xkntCwKLiRgbidngi3JFoqFiaZp6rgUK3qLd2iKTJ8ZRzZhrkDIWgQYIUDa87YIrojsY IquuWl/XbSEO/METHMOgdpCkRWMmQB9Sc7GZZ0XPfvFrAu0C8twZF9cbHS9gDnLtJaRj zgsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PP6PYy7y; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y19-20020a056402441300b0041d6147352bsi7328273eda.528.2022.04.11.00.42.40; Mon, 11 Apr 2022 00:43:04 -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=@chromium.org header.s=google header.b=PP6PYy7y; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239050AbiDHSqs (ORCPT + 99 others); Fri, 8 Apr 2022 14:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238952AbiDHSqh (ORCPT ); Fri, 8 Apr 2022 14:46:37 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C02B1D66C1 for ; Fri, 8 Apr 2022 11:44:04 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id y8so3926599pfw.0 for ; Fri, 08 Apr 2022 11:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7bnZPItrf/OuYXtsSpA6GbFrZ9ruz5AGfVA3JhHbTYg=; b=PP6PYy7y7MFUeH857olAI/cYmO3NiifPtKjjkkECaRFx7D3/0FXZPooBLilzlJHeG3 axfuukjVUfOTFbexucHgTpc5tBTdbVWmgunrizZcNj4gAT2SAztSVzPjIIFmkcMkLWEc ixtkGJmFWmb4lI2sMZKG5savEb98lmH/BLzDg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7bnZPItrf/OuYXtsSpA6GbFrZ9ruz5AGfVA3JhHbTYg=; b=2c2OfhMr06hZJfZDM6WYYAYK/f26z4bubc6fdSZZc0rXR+RV3rCcecLsrY6u6AOU5K vjdQDsS0bsgNC4qrS3xJHE2rzHA0Gv6L+7C53oh+VSs5eNsHBYnFWWOZQIqBZf9ucasr zCNUFqijECHyz//ZcBBNOVHDjWsC7Wny91pG+cxABMnhrWVrz+u32mvKodTbd1RvNp9X fsAEVBSZALKKNe8sAohJ0sYLl42WJrcxcTxrZosz1RvJk5Rbzg0eUZgnBZlm6n1TBL0b TG60iB0vnqg+pzFQX63jgPIhHDGtuyHAZ0UhmdWH8AqeznsYBG0WSn+pv1zSZRsw5zkF bwTQ== X-Gm-Message-State: AOAM531WYS4h++CR3Eo+WN1tIDu5wd2Jcs6Hsn5ZqFSZlMt7ZcWFsuvr C1Q1caW7SxcjfaXBDHqCrbuNoQ== X-Received: by 2002:a63:2f03:0:b0:398:b2fc:250c with SMTP id v3-20020a632f03000000b00398b2fc250cmr16464042pgv.75.1649443388591; Fri, 08 Apr 2022 11:43:08 -0700 (PDT) Received: from evgreen-glaptop.lan ([98.47.98.87]) by smtp.gmail.com with ESMTPSA id w129-20020a628287000000b004fdc453b49asm26882487pfd.39.2022.04.08.11.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 11:43:08 -0700 (PDT) From: Evan Green To: Greg Kroah-Hartman Cc: Rajat Jain , Mika Westerberg , Evan Green , Mathias Nyman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH] xhci: Enable runtime PM on second Alderlake controller Date: Fri, 8 Apr 2022 11:42:50 -0700 Message-Id: <20220408114225.1.Ibcff6b86ed4eacfe4c4bc89c90e18416f3900a3e@changeid> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Alderlake has two XHCI controllers with PCI IDs 0x461e and 0x51ed. We had previously added the quirk to default enable runtime PM for 0x461e, now add it for 0x51ed as well. Signed-off-by: Evan Green --- Someone at Intel can correct me on the proper name for this define. --- drivers/usb/host/xhci-pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 5c351970cdf1ce..d7e0e6ebf0800e 100644 --- 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_PCH_XHCI 0x51ed #define PCI_DEVICE_ID_AMD_RENOIR_XHCI 0x1639 #define PCI_DEVICE_ID_AMD_PROMONTORYA_4 0x43b9 @@ -266,7 +267,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) pdev->device == PCI_DEVICE_ID_INTEL_ICE_LAKE_XHCI || 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_XHCI || + pdev->device == PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI)) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (pdev->vendor == PCI_VENDOR_ID_ETRON && -- 2.31.0