Re: [PATCH] Complain if driver reenables interrupts during drivers_[suspend|resume] & re-disable

From: Nigel Cunningham
Date: Wed Feb 08 2006 - 19:00:16 EST


Hi Dmitry et al.

On Wednesday 08 February 2006 15:40, Dmitry Torokhov wrote:
> On Tuesday 07 February 2006 04:06, Nigel Cunningham wrote:
> > Hi all.
> >
> > This patch is designed to help with diagnosing and fixing the cause of
> > problems in suspending/resuming, due to drivers wrongly re-enabling
> > interrupts in their .suspend or .resume methods.
> >
> > I nearly forgot about it in sending patches in suspend2 that might help
> > where swsusp fails.
> >
>
> Only sysdevs are guaranteed to be suspebded/resumed with interrupts off,
> other devices are suspended with interrupts on (at least on first pass
> over device list).

Ok. I guess I missed that outcome of that discussion. Sorry for the
bogusness :(. Is the sysdev bit useful at all?

Regards,

Nigel

Attachment: pgp00000.pgp
Description: PGP signature