From: pavel@ucw.cz (Pavel Machek) Date: Tue, 12 Apr 2011 07:59:58 +0200 Subject: [RFC PATCH] Current status, suspend-to-disk support on ARM In-Reply-To: References: Message-ID: <20110412055958.GA3507@ucw.cz> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi! > There's one ugly thing in this set - I've changed a generic kernel > header, 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