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 _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm