Attached iwl3945_ASPM-enabled_full.txt - Sedat - On Tue, Jun 22, 2010 at 1:09 PM, Sedat Dilek <sedat.dilek@xxxxxxxxxxxxxx> wrote: > I booted now with 'pcie_aspm=force': > > # dmesg | grep -i aspm > [ 0.000000] Kernel command line: > BOOT_IMAGE=/boot/vmlinuz-2.6.35-rc3-iniza-686-kms > root=UUID=b1333729-42ce-4a1b-9669-41c14c42bb81 ro nomodeset 3 > pcie_aspm=force > [ 0.000000] PCIe ASPM is forcedly enabled > > # lspci -vvvv -s 10:00.0 | grep -i aspm > LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 > <128ns, L1 <64us > LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+ > > Full dmesg and lspci for iwl3945 outputs are attached. > > - Sedat - > > On Tue, Jun 22, 2010 at 12:44 PM, Sedat Dilek > <sedat.dilek@xxxxxxxxxxxxxx> wrote: >> Hi, >> >> yesterday, I was playing with PowerTop and my iwl3945 still is in the >> TOP 3 of energy user. >> >> Inspired by the recently published ASPM doc from Luis [2] I played a >> bit with ASPM. >> >> Currently, I am using a 2.6.35-rc3 Linux-kernel with latest >> acpi-2.6/release fixes. >> >> # dmesg | grep -i aspm >> [ 0.226963] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe >> device. You can enable it with 'pcie_aspm=force' >> [ 0.227629] pci 0000:08:00.0: disabling ASPM on pre-1.1 PCIe >> device. You can enable it with 'pcie_aspm=force' >> [ 0.228205] pci 0000:10:00.0: disabling ASPM on pre-1.1 PCIe >> device. You can enable it with 'pcie_aspm=force' >> >> # for i in 01:00.0 08:00.0 10:00.0 ; do lspci -v | grep $i ; done >> 01:00.0 VGA compatible controller: ATI Technologies Inc M52 [Mobility >> Radeon X1300] (prog-if 00 [VGA controller]) >> 08:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5753M >> Gigabit Ethernet PCI Express (rev 21) >> 10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG >> [Golan] Network Connection (rev 02) >> >> # lspci -vvvv -s 10:00.0 | grep -i aspm >> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 >> <128ns, L1 <64us >> LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+ >> >> Before I will try 'pcie_aspm=force' cheat-code I wanted to ask about >> the status of iwlwifi and ASPM. >> Is there code available. yet? Which kernel has it - linux-next, >> wireless-testing GIT, iwlwifi GIT? >> Which user-space apps are required? >> IIRC iw [3] from GIT has already "iw: add set/get power_save commands" [4]. >> Anyone tested ASPM with iwlwifi hardware? Experiences? >> >> Beyond ASPM code, what is the actual status on power-mangement for >> wifi-hardware in general? >> IIRC it was turned off by default (with 2.6.33?)? >> >> Thanks for any help in advance. >> >> >> Kind Regards, >> - Sedat - >> >> >> [1] http://wireless.kernel.org/en/users/Documentation/ASPM >> [2] http://marc.info/?l=linux-wireless&m=127716115227206&w=2 >> [3] http://git.sipsolutions.net/?p=iw.git >> [4] http://git.sipsolutions.net/?p=iw.git;a=commit;h=cf40ef379fd6c74a01092d1dfdd936385ea402b0 >> >
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02) Subsystem: Hewlett-Packard Company Compaq 6710b or nx9420 Notebook Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 45 Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=4K] Capabilities: [c8] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee0300c Data: 41a1 Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset- DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <64us ClockPM+ Surprise- LLActRep- BwNot- LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP+ BadDLLP+ Rollover- Timeout- NonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr- AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn- Capabilities: [140 v1] Device Serial Number 00-19-d2-ff-ff-62-e4-bb Kernel driver in use: iwl3945