Re: [PATCH -mm] kexec jump -v9



On Thu, 2008-05-15 at 18:35 -0700, Eric W. Biederman wrote:
Vivek Goyal <vgoyal@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume
    ... Subject: PM: Rework handling of interrupts during suspend-resume ... during suspend and resume. ... The new suspend code does not rely on truly disabling IRQs on ...
    (Linux-Kernel)
  • Reworking suspend-resume sequence (was: Re: PCI PM: Restore standard config registers of all dev
    ... As I said, I tend to prefer the "loop of disable_irq" approach, because it ... suspend devices ... running the "early resume of devices" we have to make sure that the interrupts ... that all devices will either be in low power states, so they won't be able to ...
    (Linux-Kernel)
  • [RFC] Add some hooks to generic suspend code
    ... While consolidating the powermac suspend to ram and suspend to disk ... I use that one to do some housekeeping that I want to do before the interrupts are ... Additionally, I shut interrupts down myself in that callback, ... off as well (and thus become responsible for re-enabling them). ...
    (Linux-Kernel)
  • Re: 8051 BIT
    ... Are you talking about internal or external RAM? ... just such a way that some of the internal RAM is damaged but the core ... Disable all interrupts, so the rest of the POST runs continuously. ... is some boot down loader and application, ...
    (comp.arch.embedded)
  • Re: [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume
    ... Subject: PM: Rework handling of interrupts during suspend-resume ... interrupts during suspend or hibernation ... provided by device drivers and analogously during resume. ... if (err!= APM_SUCCESS) ...
    (Linux-Kernel)