[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220412090415.17541-1-dev@pschenker.ch>
Date: Tue, 12 Apr 2022 11:04:14 +0200
From: Philippe Schenker <dev@...henker.ch>
To: linux-wireless@...r.kernel.org, Felix Fietkau <nbd@....name>
Cc: linux@...mhuis.info, Philippe Schenker <dev@...henker.ch>,
"David S. Miller" <davem@...emloft.net>,
Deren Wu <deren.wu@...iatek.com>,
Jakub Kicinski <kuba@...nel.org>,
Kalle Valo <kvalo@...nel.org>,
Lorenzo Bianconi <lorenzo.bianconi83@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Paolo Abeni <pabeni@...hat.com>,
Ryder Lee <ryder.lee@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>,
Shayne Chen <shayne.chen@...iatek.com>,
YN Chen <YN.Chen@...iatek.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org, netdev@...r.kernel.org
Subject: [PATCH] Revert "mt76: mt7921: enable aspm by default"
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@...henker.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
Powered by blists - more mailing lists