Running pcie_capability_clear_word with
PCI_EXP_LNKCTL_ASPM_L0S|PCI_EXP_LNKCTL_ASPM_L1 indeed makes the link
ASPM state switch to disabled, however as I see there is more than one
call of pci_disable_link_state. If it does not work with ath5k then link
control is supposedly broken for r8169, intel e1000 and some other
drivers.

However, this bit from e1000 is interesting:
#ifdef CONFIG_PCIEASPM
static void __e1000e_disable_aspm(struct pci_dev *pdev, u16 state)
{
        pci_disable_link_state_locked(pdev, state);
}
#else
static void __e1000e_disable_aspm(struct pci_dev *pdev, u16 state)
{
  ... 
  do magic with pcie_capability_clear_word
  ...
}
#endif

CONFIG_PCIEASPM=y in 3.8.0-12-generic

I will test r8169 PCI-X device shortly to see whether it is also
affected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1137513

Title:
  Wireless 168c:001c with ath5k on Acer Aspire One AOA150 download
  checksum fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1137513/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to