tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Add NULL power handler to x86/ipmi(4)

On Fri, 16 Jul 2010, David Young wrote:

On Fri, Jul 16, 2010 at 04:43:02PM -0700, Paul Goyette wrote:
Is there any reason anyone can think of to not add a NULL power
handler to the ipmi(4) driver?  I can't see any reason for anything
special to happen either at suspend or resume, and the lack of a
power handler prevents the system from going to sleep at all.

ipmi(4) should probably not suspend if its watchdog timer is active.

Would it be sufficient for ipmi(4) to refuse to suspend (return false from the suspend method) if the watchdog is active?

Or should it make some sort of effort to disable the watchdog, and attempt to reenable the watchdog during the subsequent resume?

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index