On Sun, May 18, 2014 at 09:29:08PM -0300, Arkh4mKn1ght wrote:
> Hi
> 
> I'm still testing but the issue reappeared again with the ASPM disabled on
> the card. This ocurred after starting the computer from hibernation and as i
> mentioned before ASPM was disabled only on the card and not on the root
> complex. I found these messages on the log:
> 
> May 18 10:42:56 localhost kernel: mei_me 0000:00:16.0: suspend
> May 18 10:42:57 localhost kernel: ath: phy0: RX failed to go idle in 10 ms
> RXSM=0xdeadbeef
> May 18 10:42:57 localhost kernel: ath: phy0: DMA failed to stop in 10 ms
> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
> 
> After rebooting the computer everything worked fine again.
> 
> Now i have disabled ASPM on both the root complex and the atheros card so
> i'm still testing to see if the issue happens again. until now (7+ hours
> everything is fine).
> I will let you know if the issue reappears after these changes
> 
Oskar,

Generally the boot argument pcie_aspm=off disables ASPM in both root
complex and device. Im not sure why it is not working in your m/c. I
think there could be some option in BIOS to disable PCI powersave.
Please check that.

Can you please test with attached patch?

-Rajkumar
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c
index c1e82f7..4e706b1 100644
--- a/drivers/net/wireless/ath/ath9k/pci.c
+++ b/drivers/net/wireless/ath/ath9k/pci.c
@@ -237,6 +237,11 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
 	{ PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
 			 0x0032,
 			 PCI_VENDOR_ID_FOXCONN,
+			 0xE044),
+	  .driver_data = ATH9K_PCI_NO_PLL_PWRSAVE },
+	{ PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
+			 0x0032,
+			 PCI_VENDOR_ID_FOXCONN,
 			 0xE04E),
 	  .driver_data = ATH9K_PCI_NO_PLL_PWRSAVE },
 	{ PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to