[Fwd: Re: via-pmu runs device_power_down in atomic context]

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu May 25 15:46:24 EST 2006


> This requirement to keep interrupts off in there breaks things again and
> again and again and again.  And this time: again.

Where else ?

If you look at this function it's _designed_ for interrupts off ! the
driver suspend have the option of deferring their suspend() callback
until after irqs have been turned off (needed for legacy stuff afaik but
rarely used) and the sysdev's are very low level things whose suspend
and resume callbacks should be called after that point as well. 

Ben.





More information about the Linuxppc-dev mailing list