mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.30 enabling cpu1 on resume fails after suspend to memory
@ 2009-06-14 10:09 Benjamin S.
  2009-06-14 10:35 ` Rafael J. Wysocki
  0 siblings, 1 reply; 22+ messages in thread
From: Benjamin S. @ 2009-06-14 10:09 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-kernel, js


Hi,

I think I have the same problem Johannes has posted there:

http://marc.info/?l=linux-kernel&m=124475174614672&w=2

My motherboard is a Gigabyte GA-MA78G-DS3H rev. 1.0 (chipset SB700 - the 
same as Johannes' chipset) and my CPU is a AMD 4850e (also the same
as Johannes' CPU). Thus I see the same error on resume after suspend
to memory:

Initializing CPU#1
Stuck ??
Error taking CPU#1 up: -5


After bisecting all revisions between 2.6.29 and 2.6.30 the first bad 
revision seems to be:

commit 2ed8d2b3a81bdbb0418301628ccdb008ac9f40b7
Author: Rafael J. Wysocki <rjw@sisk.pl>
Date:   Mon Mar 16 22:34:06 2009 +0100

    PM: Rework handling of interrupts during suspend-resume

    Use the functions introduced in by the previous patch,
    suspend_device_irqs(), resume_device_irqs() and check_wakeup_irqs(),
    to rework the handling of interrupts during suspend (hibernation) and
    resume.  Namely, interrupts will only be disabled on the CPU right
    before suspending sysdevs, while device drivers will be prevented
    from receiving interrupts, with the help of the new helper function,
    before their "late" suspend callbacks run (and analogously during
    resume).

    In addition, since the device interrups are now disabled before the
    CPU has turned all interrupts off and the CPU will ACK the interrupts
    setting the IRQ_PENDING bit for them, check in sysdev_suspend() if
    any wake-up interrupts are pending and abort suspend if that's the
    case.

    Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
    Acked-by: Ingo Molnar <mingo@elte.hu>



Best Regards, 

Benjamin

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-06-15 13:13 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-14 10:09 2.6.30 enabling cpu1 on resume fails after suspend to memory Benjamin S.
2009-06-14 10:35 ` Rafael J. Wysocki
2009-06-14 10:57   ` Benjamin S.
2009-06-14 11:19     ` Rafael J. Wysocki
2009-06-14 11:48       ` Benjamin S.
2009-06-14 12:00         ` Rafael J. Wysocki
2009-06-14 12:09           ` Thomas Gleixner
2009-06-14 12:15             ` Rafael J. Wysocki
2009-06-14 12:37               ` Benjamin S.
2009-06-14 12:43                 ` Thomas Gleixner
2009-06-14 12:59                   ` Benjamin S.
2009-06-14 13:05                     ` Thomas Gleixner
2009-06-14 13:35                       ` Benjamin S.
2009-06-14 12:46                 ` Thomas Gleixner
     [not found]                   ` <7E82351C108FA840AB1866AC776AEC4669244187@orsmsx505.amr.corp.intel.com>
2009-06-14 13:17                     ` Thomas Gleixner
     [not found]                       ` <7E82351C108FA840AB1866AC776AEC466924418A@orsmsx505.amr.corp.intel.com>
2009-06-14 13:49                         ` Thomas Gleixner
2009-06-14 14:45                           ` Thomas Gleixner
2009-06-14 15:03                             ` Benjamin S.
2009-06-14 15:41                               ` Thomas Gleixner
2009-06-14 16:12                                 ` Greg KH
2009-06-14 16:19                                   ` Thomas Gleixner
2009-06-15 13:12                               ` Johannes Stezenbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®