Re: PCIe port runtime PM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-09-28 at 01:38 +0800, Rafael J. Wysocki wrote:
> Hi,
> 
> On Tuesday, September 27, 2011, Lin Ming wrote:
> > Hi,
> > 
> > I have a question about PCIe port runtime power management.
> > 
> > 00:1c.0 PCI bridge: Intel Corporation Device 1e10 (rev c0)
> >         Capabilities: [a0] Power Management version 2
> >                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> > PME(D0+,D1-,D2-,D3hot+,D3cold+)
> > 
> > As above output, this PCIe port supports D3hot/D3cold.
> > But currently, PCIe port driver seems does not support runtime PM.
> > 
> > As below, there is no runtime PM callbacks implemented.
> > 
> > static const struct dev_pm_ops pcie_portdrv_pm_ops = {
> >         .suspend        = pcie_port_device_suspend,
> >         .resume         = pcie_port_device_resume,
> >         .freeze           = pcie_port_device_suspend,
> >         .thaw             = pcie_port_device_resume,
> >         .poweroff        = pcie_port_device_suspend,
> >         .restore          = pcie_port_device_resume,
> >         .resume_noirq   = pcie_port_resume_noirq,
> > };
> > 
> > Is there some known reason why PCIe port runtime PM was not supported?
> > Or is it just that we have not implemented it yet?
> 
> It hasn't been implemented.

Thanks.

BTW, AHCI sata controller runtime PM hasn't been implemented either.

> 
> Thanks,
> Rafael


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux