Linux hibernation support for loadable drivers

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

 



Hi,

 

I am working with the linux hibernation code( swsusp hibernation framework) on an ARM based custom SOC. I am using some drivers like Nand Flash Controller driver as loadable modules.

As per my understanding , during hibernation kernel calls suspend for all the drivers while creating a snapshot. During resume, after the kernel resumes the snapshot (from late_initcall – software_resme) , the kernel calls resume for all the drivers.

As nand and some other drivers do not support suspend/resume, thus they fail to work on system resume. So is it fine to call driver_unregister/driver_register during hibernation/resume for the drivers which do not support suspend/resume. I do not want the user to manually remove/insert the drivers on suspend/resume.

 

Regards,

Ayan Kumar Halder

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux