On Thu, 2008-05-15 at 18:35 -0700, Eric W. Biederman wrote: > Vivek Goyal <vgoyal at redhat.com> writes: > > > ioapic_suspend() is not putting APICs in Legacy mode and that's why > > we are seeing the issue. It only saves the IOAPIC routing table entries > > and these entries are restored during ioapic_resume(). > > > > But I think somebody has to put APICs in legacy mode for normal > > hibernation also. Not sure who does it. May be BIOS, so that during > > resume, second kernel can get the timer interrupts. > > I doubt anything cares in the suspend to ram case. There should just > be a small BIOS trampoline to get back to linux when the processor > restarts. And you don't need interrupts for any of that. As far as I know, in suspend to ram, interrupt is used as waking up event, such as, keyboard interrupt. Best Regards, Huang Ying