linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Revert "mt76: mt7921: enable aspm by default"
@ 2022-04-12  9:04 Philippe Schenker
  2022-04-12  9:37 ` Kalle Valo
  0 siblings, 1 reply; 15+ messages in thread
From: Philippe Schenker @ 2022-04-12  9:04 UTC (permalink / raw)
  To: linux-wireless, Felix Fietkau
  Cc: linux, Philippe Schenker, David S. Miller, Deren Wu,
	Jakub Kicinski, Kalle Valo, Lorenzo Bianconi, Matthias Brugger,
	Paolo Abeni, Ryder Lee, Sean Wang, Shayne Chen, YN Chen,
	linux-arm-kernel, linux-kernel, linux-mediatek, netdev

This reverts commit bf3747ae2e25dda6a9e6c464a717c66118c588c8.

This commit introduces a regression on some systems where the kernel is
crashing in different locations after a reboot was issued.

This issue was bisected on a Thinkpad P14s Gen2 (AMD) with latest firmware.

Link: https://lore.kernel.org/linux-wireless/5077a953487275837e81bdf1808ded00b9676f9f.camel@pschenker.ch/
Signed-off-by: Philippe Schenker <dev@pschenker.ch>
---

 drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c
index 1a01d025bbe5..59f9ee089389 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7921/pci.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/pci.c
@@ -20,10 +20,6 @@ static const struct pci_device_id mt7921_pci_device_table[] = {
 	{ },
 };
 
-static bool mt7921_disable_aspm;
-module_param_named(disable_aspm, mt7921_disable_aspm, bool, 0644);
-MODULE_PARM_DESC(disable_aspm, "disable PCI ASPM support");
-
 static void
 mt7921_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q)
 {
@@ -280,8 +276,7 @@ static int mt7921_pci_probe(struct pci_dev *pdev,
 	if (ret)
 		goto err_free_pci_vec;
 
-	if (mt7921_disable_aspm)
-		mt76_pci_disable_aspm(pdev);
+	mt76_pci_disable_aspm(pdev);
 
 	mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt7921_ops,
 				 &drv_ops);
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread
[parent not found: <e93aef5c9f8a97efe23cfb5892f78f919ce328e7.camel@pschenker.ch--annotate>]

end of thread, other threads:[~2022-06-02 10:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12  9:04 [PATCH] Revert "mt76: mt7921: enable aspm by default" Philippe Schenker
2022-04-12  9:37 ` Kalle Valo
2022-04-12  9:55   ` Thorsten Leemhuis
2022-04-12 10:33     ` Kalle Valo
2022-04-12 10:36     ` Kalle Valo
2022-04-27  7:32       ` Thorsten Leemhuis
2022-04-12 11:06   ` Deren Wu
2022-04-12 12:30     ` Philippe Schenker
2022-04-12 12:45       ` Kalle Valo
2022-06-01  8:28     ` Philippe Schenker
2022-06-01  8:58       ` Kalle Valo
2022-06-01 16:55         ` Deren Wu
2022-06-02 10:00           ` Philippe Schenker
     [not found] <e93aef5c9f8a97efe23cfb5892f78f919ce328e7.camel@pschenker.ch--annotate>
2022-06-01 22:23 ` sean.wang
2022-06-02  8:44   ` Philippe Schenker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).