On Thu, Aug 05, 2010 at 04:21:36PM +0530, Raj Kumar wrote: > {RAJ}: Does it mean then PCI bus driver code and ACPI driver will directly communicate > with each other without any linux power management core? Yes, but the bus driver will then call the power management core. > {RAJ}: If system suspend/resumes and runtime_suspend/runtime_resume happens, as linux power management core(static/runtime) > calls the bus driver code so when ACPI will be there, the bus driver will directly call the ACPI driver APIs. When ACPI is available, yes. > But still device driver's suspend and resume(static and runtime) calls will be called by bus driver as normal behaviour > and if ACPI is there, then bus driver will inform the device driver and then inform the device power status to ACPI driver? The device driver may call back into the bus driver, and that may in turn trigger an ACPI call. PCI is the best example of this - check out the pci_platform_pm_ops structure in pci-acpi.c for example. > {RAJ}: Will the ACPI driver code also call the linux power management functions directly? For runtime power management? No. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html