Re: [RFC][PATCH] PM: Introduce new top level suspend and hibernation callbacks (rev. 3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Wednesday, March 26, 2008 - 1:54 pm

On Wednesday, 26 of March 2008, Alan Stern wrote:

That wouldn't work, because enable_nonboot_cpus() is called before
device_resume() and the notifiers in there may want to unregister devices
if some CPUs fail to go online.

I added two accessor functions device_pm_lock() and device_pm_unlock()
to be called just prior to disabling interrupts and right after enabling them,
respectively, in the higher-level PM core (ie. kernel/power/main(disk).c).

Thanks,
Rafael
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] PM: Introduce new top level suspend and hiber ..., Rafael J. Wysocki, (Mon Mar 24, 10:39 am)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Mon Mar 24, 2:18 pm)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Mon Mar 24, 3:18 pm)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Tue Mar 25, 5:40 am)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Tue Mar 25, 1:35 pm)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Tue Mar 25, 1:39 pm)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Wed Mar 26, 1:26 pm)
Re: [RFC][PATCH] PM: Introduce new top level suspend and h ..., Rafael J. Wysocki, (Wed Mar 26, 1:54 pm)