Re: [lm-sensors] broken suspend [Was: 2.6.24-rc2-mm1]

2007-11-26 Thread Jiri Slaby
On 11/21/2007 01:00 AM, Rafael J. Wysocki wrote: > On Tuesday, 20 of November 2007, Mark M. Hoffman wrote: >> commit ce9c7b78c839a6304696d90083eac08baad524ce >> Author: Mark M. Hoffman <[EMAIL PROTECTED]> >> Date: Tue Nov 20 07:51:50 2007 -0500 >> >> hwmon: (coretemp) fix suspend/resume hang

Re: [lm-sensors] broken suspend [Was: 2.6.24-rc2-mm1]

2007-11-21 Thread Rafael J. Wysocki
On Wednesday, 21 of November 2007, Alan Stern wrote: > On Wed, 21 Nov 2007, Rafael J. Wysocki wrote: > > > > Is it possible to unregister a driver on CPU_DOWN_PREPARE_FROZEN? > > > > No. In that case the suspend core is holding the device's mutex and your > > attempt to unregister it will deadlo

Re: [lm-sensors] broken suspend [Was: 2.6.24-rc2-mm1]

2007-11-21 Thread Alan Stern
On Wed, 21 Nov 2007, Rafael J. Wysocki wrote: > > Is it possible to unregister a driver on CPU_DOWN_PREPARE_FROZEN? > > No. In that case the suspend core is holding the device's mutex and your > attempt to unregister it will deadlock with it. > > Do you _have_ _to_ unregister the device at all?

Re: [lm-sensors] broken suspend [Was: 2.6.24-rc2-mm1]

2007-11-20 Thread Rafael J. Wysocki
On Tuesday, 20 of November 2007, Mark M. Hoffman wrote: > Hi all: > > * Alan Stern <[EMAIL PROTECTED]> [2007-11-19 15:27:14 -0500]: > > On Mon, 19 Nov 2007, Rudolf Marek wrote: > > > > > Hello all, > > > >>> gives coretemp_cpu_callback -> coretemp_device_remove -> > > > >>> platform_device_unregi

Re: [lm-sensors] broken suspend [Was: 2.6.24-rc2-mm1]

2007-11-20 Thread Mark M. Hoffman
Hi all: * Alan Stern <[EMAIL PROTECTED]> [2007-11-19 15:27:14 -0500]: > On Mon, 19 Nov 2007, Rudolf Marek wrote: > > > Hello all, > > >>> gives coretemp_cpu_callback -> coretemp_device_remove -> > > >>> platform_device_unregister, so coretemp seems to be what I have and you > > >>> don't. > > >