Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2602022rdb; Mon, 4 Dec 2023 02:08:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZOCQmYAlZHLHuH29Az53TaFTvKfyUTdxMebeRZv0yca9fzNS/YvMKlfr5HnhBEDebt4yY X-Received: by 2002:a17:90a:49c9:b0:285:c2db:4a11 with SMTP id l9-20020a17090a49c900b00285c2db4a11mr1094285pjm.3.1701684512758; Mon, 04 Dec 2023 02:08:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701684512; cv=none; d=google.com; s=arc-20160816; b=ExQNaPWLtEgFn8dfnR43kNlBExkrFnwvczQnVrL6CMoLqRXzN+DndIUkKJOHioqNNh bJ73YbBl72ZIYQQhX+CfCbJxAoc83+d6oyl7P7xWHEdABybq4yIx3wVU2XIWksmpz70U Uc5VwL+MgtJAanX6FakWk7hZQhWECas3u/1hEOgrjvrR311Mm1UWZDTHjeheJ2dqKOiu 1T0hgJQ58LfNxzUY9GHePvzUT476kF2it7knKcNeFP9LvpaVsCJJYpDT1Hqoej26khCG J1u3UgZkbjheU8Md6kNejAT/lsxlJw4Zje5g6RPQZz20ALlsjM/NLLQ0A+DZWEDMo3mj 3e7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YtorL1LCTBbcXWRFkJM/SgSBAm/3sldytx4iI0jx9KE=; fh=kFQREZe4wAUURmUHy3mY+Cx7SMBi5ScG+zu7JBzNYUE=; b=UHss/Xs0Mh8CsxdOGBHV3g/8o284P3m90gggZEBXfSrnNdOXcrCx1xG6mVBphVHtnN bCFw0WSNJVRsvg5N8Yd84Y4IY4sgJgv4NBsW5LPBe5+o1+FAJxsLypBWuWoxcy08FkT2 ZfC0u8EoTAqTSM97YXM6I0qePsxDR/y2ca9k0qwP7fbGQfNzusg3AbBY6APrmj8wePcA U+RB8puoP1k6wKqRGjk+RscJI+TedJvocDNqXzsic6BmraFH3OpcDogVST7hU0h8Bhj6 8K92kZtHYufQ1LeLPDOVlHvV5PQQFjcVA3k9XKQLT2ctZTbPKJGP63wbMUmcqKoOyUpM 1+bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LjKQRKLb; spf=pass (google.com: domain of linux-bluetooth+bounces-361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id bf20-20020a17090b0b1400b0028648abac04si6645870pjb.58.2023.12.04.02.08.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 02:08:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LjKQRKLb; spf=pass (google.com: domain of linux-bluetooth+bounces-361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 01248B20992 for ; Mon, 4 Dec 2023 10:08:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD75E1F171; Mon, 4 Dec 2023 10:08:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="LjKQRKLb" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7B78DF; Mon, 4 Dec 2023 02:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701684482; x=1733220482; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=F+phs8HZ/XkWka0qWXx+b0LrCOTF26PluA67cnYvAcI=; b=LjKQRKLb09EhfwirxsO3Wfsc9a93ovwpTWvx8piz16LlP6uCs+ex3UaV 0DOq4/tbBOUvlsLPptLhbWB6Qbe6psdPHwCmDiBQz5E7UeMi4y2wVD9jZ NC86/HDuEXQ1MceVnwOPCX4RXHaEL743gvNWOBQl3ptBnR9yB5tIvuyj0 03THP5B7fgw24ApKgRN9lKM50lkho3gBTz2jH9/IDmVThIKo6T6RWuiyf Vo+iOutpijiZ1pxvDHqDigsu61Go4v4I/O4AbK54IUx8pGuTJLQLPxSr/ pO7XB6TnWqTqwAU5ltImUuf/tlizGQl+MOARxdDGEvkYaQMVDDQ1aZZ9x w==; X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="373898286" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="373898286" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 02:08:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="888481099" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="888481099" Received: from mattu-haswell.fi.intel.com ([10.237.72.199]) by fmsmga002.fm.intel.com with ESMTP; 04 Dec 2023 02:07:59 -0800 From: Mathias Nyman To: Cc: , linux-bluetooth@vger.kernel.org, mario.limonciello@amd.com, regressions@lists.linux.dev, regressions@leemhuis.info, Basavaraj.Natikar@amd.com, pmenzel@molgen.mpg.de, bugs-a21@moonlit-rail.com, Mathias Nyman , stable@vger.kernel.org Subject: [PATCH 2/2] Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1" Date: Mon, 4 Dec 2023 12:08:59 +0200 Message-Id: <20231204100859.1332772-2-mathias.nyman@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231204100859.1332772-1-mathias.nyman@linux.intel.com> References: <3d3b8fd3-a1b9-9793-b709-eda447ebd1ab@linux.intel.com> <20231204100859.1332772-1-mathias.nyman@linux.intel.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This reverts commit 4baf1218150985ee3ab0a27220456a1f027ea0ac. Enabling runtime pm as default for all AMD xHC 1.1 controllers caused regression. An initial attempt to fix those was done in commit a5d6264b638e ("xhci: Enable RPM on controllers that support low-power states") but new issues are still seen. Revert them both and start from a clean slate. This patch went to stable an needs to be reverted from there as well. Fixes: 4baf12181509 ("xhci: Loosen RPM as default policy to cover for AMD xHC 1.1") Link: https://lore.kernel.org/linux-usb/55c50bf5-bffb-454e-906e-4408c591cb63@molgen.mpg.de Cc: Mario Limonciello Cc: Basavaraj Natikar Cc: stable@vger.kernel.org Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-pci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index bde43cef8846..b9ae5c2a2527 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -535,8 +535,6 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) /* xHC spec requires PCI devices to support D3hot and D3cold */ if (xhci->hci_version >= 0x120) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; - else if (pdev->vendor == PCI_VENDOR_ID_AMD && xhci->hci_version >= 0x110) - xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (xhci->quirks & XHCI_RESET_ON_RESUME) xhci_dbg_trace(xhci, trace_xhci_dbg_quirks, -- 2.25.1