Messages in this thread | | | Date | Sat, 22 Feb 2014 10:22:21 +0000 | From | Russell King - ARM Linux <> | Subject | Re: [PATCH RFC v1 3/3] ARM hibernation / suspend-to-disk |
| |
On Fri, Feb 21, 2014 at 10:46:59PM -0800, Russ Dill wrote: > If there is worry about this, you could setup a page mapping in a > __nosave region, preventing it from being overwritten.
Why would we need _another_ set of pages tables? Aren't two (swapper_pg_dir and the idmap one) enough?
You do need to switch to the idmap one if you're going to call cpu_resume at its physical address, because that requires the identity mapping in order to work.
-- FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad. Estimate before purchase was "up to 13.2Mbit".
| |