[RFC][PATCH] ARM: Add initial hibernation support for Cortex A8 and A9
Pavel Machek
pavel at ucw.cz
Tue Dec 21 14:51:06 EST 2010
Hi!
> The same should be true of things like perf.
>
> Things like the control register we already have the value cached, so
> there's little point saving another copy of it.
>
> What we should also have is a callback into the proc-*.S files for
> them to save the processor specific registers such as the TTB registers.
>
> And then, with non-secure mode, we run into issues about which registers
> we _can_ sanely read and write.
>
> What I'm saying is that rather than copying stuff verbatim from the
> ARM ARM, _think_ first and see what is actually necessary.
Well, the patch is not exactly nice, but "simple and stupid" version
that just saves everything might be useful baseline for bisect
etc... and speed should not really be issue here.
Pavel
--
(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