Even if some one can provide a pointer to any such earlier discussion, or similar implementation in any other driver, it would be very helpful. Regards Pratyush On Wed, Sep 28, 2011 at 10:22 AM, Pratyush Anand <pratyush.linux@xxxxxxxxx> wrote: > 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 > -- 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