EHCI / pci power state / suspend annoying interactions

From: Olivier Galibert (galibert_at_pobox.com)
Date: 07/31/04

  • Next message: Francois Romieu: "Re: ksoftirqd uses 99% CPU triggered by network traffic (maybe RLT-8139 related)"
    Date:	Sat, 31 Jul 2004 14:19:44 +0200
    To: "Hack inc." <linux-kernel@vger.kernel.org>
    
    

    The EHCI on the latitude x300 does not have D2 capability:

    00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
            Subsystem: Dell Computer Corporation: Unknown device 014f
            Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
            Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
            Latency: 0
            Interrupt: pin D routed to IRQ 10
            Region 0: Memory at e0100000 (32-bit, non-prefetchable)
            Capabilities: [50] Power Management version 2
                    Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
       

    That fails suspend-to-ram because dev->suspend which is
    usb_hcd_pci_suspend calls pci_set_power_state to request level D2,
    which fails with -EIO. The error is propagated back and the suspend
    aborts. What should actually happen in that case?

      OG.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Francois Romieu: "Re: ksoftirqd uses 99% CPU triggered by network traffic (maybe RLT-8139 related)"

    Relevant Pages