lkml.org 
[lkml]   [2008]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/3] Fix hibernation regression on Toshiba Portege R500
    Date
    Hi,

    The following three patches address the hibernation/suspend issue described in
    http://bugzilla.kernel.org/show_bug.cgi?id=12121 and in the very long thread at
    http://lkml.org/lkml/2008/12/1/382.

    In short, the problem is that resume (from hibernation and/or suspend-to-RAM)
    occasionally fails (approximately 20-25% of attempts) in the middle of resuming
    PCI devices. We were able to find a specific layout of devices within the
    memory address space in which the failure appeared to be extremely unlikely,
    but this layout was no really valid for other reasons. We also found out that
    using the NMI watchdog decreased the probablitily of failure which indicated
    that the problem could be timing-related.

    Next, we started to look at the PCI resume code and we generally agreed that
    it would be a good idea to restore the standard PCI configuration registers
    with interrupts disabled. Also, we thought we could move the saving of those
    registers for some devices into functions executed with interrupts disabled.

    I have followed these observations and created the three following patches.
    With all of these patches applied, I'm not able to reproduce the problem.

    Thanks,
    Rafael



    \
     
     \ /
      Last update: 2008-12-06 15:13    [W:2.499 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site