lkml.org 
[lkml]   [2004]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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

http://marc.theaimsgroup.com/?l=linux-usb-devel&m=109596905805858&w=2

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

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  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