[RFC PATCH] Current status, suspend-to-disk support on ARM

Pavel Machek pavel at ucw.cz
Tue Apr 12 01:59:58 EDT 2011


Hi!

> There's one ugly thing in this set - I've changed a generic kernel
> header, <linux/suspend.h> to #define save/restore_processor_state()
> on ARM so that it only does preempt_disable/enable(). It's
> surprising that this isn't the default behaviour; all platforms need
> swsusp_arch_suspend/resume anyway so why force the existance of
> _two_ arch-specific hooks ?

Can you submit separate patch cleaning it up?

> @@ -195,6 +195,14 @@ config VECTORS_BASE
>  	help
>  	  The base address of exception vectors.
>  
> +config ARCH_HIBERNATION_POSSIBLE
> +	bool
> +	help
> +	  If the machine architecture supports suspend-to-disk
> +	  it should select this automatically for you.
> +	  Otherwise, say 'Y' at your own peril.
> +

Good for debugging, but not good for mainline.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the linux-arm-kernel mailing list