Messages in this thread | | | Date | Tue, 19 Oct 2010 15:11:13 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] OLPC: Add XO-1 suspend/resume support |
| |
On 10/19/2010 03:01 PM, Daniel Drake wrote: > Add code needed for basic suspend/resume of the XO-1 laptop. > > swsusp_pg_dir needs to be exposed as it is used by the assembly > code run in the wakeup path. >
Okay... this is Yet Another Reason why we need to unify all the bloody trampoline page tables.
What it comes down to is that there are several users which need a 1:1 mapped pagetable and a chunk of memory < 1 MiB, and they should all be combined and linked together, and share a single pagetable set that sticks around.
Borislav has already been doing some of this work:
[PATCH] x86-32, mm: Add an initial page table for core bootstrapping
I thought that patch was already in -tip, but it looks like it's not... Borislav/Joerg... was there a newer patch or did we just miss the final version? I remember we talked about this at some length, but it looks like I dropped the ball (I was on vacation when the above message was posted.)
-hpa
| |