On Wed, 27 Jul 2011, Andrew Morton wrote: > On Tue, 26 Jul 2011 22:03:25 +0200 > "Rafael J. Wysocki" <rjw@xxxxxxx> wrote: > > > On Thursday, July 21, 2011, Andrew Morton wrote: > > > > > > who would be an appropriate person to look at this one? > > > > > > The suspend_test warning is Rafael, I guess. But the mwait_idle oops? > > > > The suspend_test warning only means that the resuming of devices took > > too much time. > > OK, but why did mwait_idle() oops? I ran across a similar problem some time ago on a UP system (Bugzilla #15385). It has since been fixed (commit 85a0e7539781d), but maybe this is related. By default, Intel CPUs do not accept the mwait instruction. It has to be enabled specifically by setting a bit in a machine-specific register. Normally the BIOS handles this, but some BIOSes don't when resuming from suspend. As a result, the first mwait executed during the resume causes an invalid instruction exception. The kernel now restores the register value when bringing the primary CPU back up (that was the fix for my bug), but maybe this doesn't happen for secondary CPUs. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm