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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071103182319.GC13202@elf.ucw.cz>
Date:	Sat, 3 Nov 2007 19:23:19 +0100
From:	Pavel Machek <pavel@....cz>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
Cc:	pm list <linux-pm@...ts.linux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>, Len Brown <lenb@...nel.org>
Subject: Re: [RFC][PATCH 1/3] Suspend: Testing facility

Hi!

> Introduce /sys/power/pm_test_level attribute allowing one to test the suspend
> core code.  Namely, writing a number (1-5) to this file causes the suspend code
> to work in one of the test modes defined as follows:
> 
> 5 - test the freezing of processes
> 4 - test the freezing of processes and suspending of devices
> 3 - test the freezing of processes, suspending of devices and platform global
>     control methods
> 2 - test the freezing of processes, suspending of devices, platform global
>     control methods and the disabling of nonboot CPUs
> 1 - test the freezing of processes, suspending of devices, platform global
>     control methods, the disabling of nonboot CPUs and suspending of
>     platform/system devices
> 
> Then, if a suspend is started by normal means, the suspend core will perform
> its normal operations up to the point indicated by the test level.  Next, it
> will wait for 5 seconds and carry out the resume operations needed to transition
> the system back to the fully functional state.
> 
> Writing 0 to /sys/power/pm_test_level turns the testing off.  The current test
> level may be read from /sys/power/pm_test_level .
> 
> Signed-off-by: Rafael J. Wysocki <rjw@...k.pl>

ACK on whole series, but... should we also remove the old debugging
infrastructure? (Or did I just miss it?)
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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