lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1240217307.8867.53.camel@nigel-laptop>
Date:	Mon, 20 Apr 2009 18:48:27 +1000
From:	Nigel Cunningham <ncunningham-lkml@...a.org.au>
To:	Russell King <rmk+lkml@....linux.org.uk>
Cc:	"Rafael J. Wysocki" <rjw@...k.pl>, Len Brown <lenb@...nel.org>,
	Linux Kernel List <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	pm list <linux-pm@...ts.linux-foundation.org>,
	ACPI Devel Maling List <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH] PM/Suspend: Introduce two new platform callbacks to
 avoid breakage (Re: 900af0d breaks some embedded suspend/resume)

Hi.

On Mon, 2009-04-20 at 09:35 +0100, Russell King wrote:
> On Mon, Apr 20, 2009 at 09:31:47AM +1000, Nigel Cunningham wrote:
> > >  	}
> > >  
> > > -	if (suspend_ops->prepare) {
> > > -		error = suspend_ops->prepare();
> > > +	if (suspend_ops->prepare_late) {
> > > +		error = suspend_ops->prepare_late();
> > >  		if (error)
> > >  			goto Power_up_devices;
> > >  	}
> > 
> > Doesn't this invalidate testing that's already been done? Drivers
> > implementing prepare() (arm omap1, pxa, omap2, s3c and powerpc mpc52xx
> > and lite5200) are now going to have it called pre device_power_down.
> 
> ... which is the way it has always been done prior to the change which
> broke stuff.  So this patch is putting the ordering back the way it was
> which has been well proven to work on these platforms.
> 
> So we're not invalidating any testing.

Ah, okay. I didn't look at anything but current HEAD. :)

Nigel

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ