Suspend to RAM behaviour for PCIe root complex driver

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

 



Hi All,

I am working with a PCIe root complex driver on ARM platform.
I wanted to know about behaviour of this driver during suspend to RAM.

My root complex driver is registered on platform bus and called by
subsys_initcall.
subsys_initcall insures that it comes up before any other PCIe device
registered on PCI bus and
called by module_init.

So, this way driver works fine with all sort of PCIe devices.

Now I have implemented suspend and resume function for root complex.
How can I insure that RC's suspend is called
after calling of suspend for each PCI devices connected with this RC.
Also, how will I insure that RC's resume is called before resume of
any of the connected PCI device?

Regards
Pratyush
--
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