[lkml]   [2004]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Proposed fix for PM deadlock on dpm_sem
On Mon, 11 Oct 2004, Paul Mackerras wrote:

> I have been having trouble with deadlocks on dpm_sem when suspending
> and resuming, particularly if I remove a usb device while my powerbook
> is suspended. The dpm_sem deadlocks also mean that USB can't deal
> with devices whose drivers don't have suspend/resume callbacks by
> simply disconnecting the device, as it did in the past. This meant
> that while I can get my dual G4 powermac desktop machine to suspend
> to ram and resume (using the powerbook sleep code), its USB keyboard
> wouldn't work after resume.

A while ago I posted some thoughts on locking in the driver model which
are somewhat relevant here. Please take a look at

It doesn't address exactly the same issues you're concerned with, but it
does concern the way suspend/resume interacts with device

Alan Stern

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.031 / U:3.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site