Re: [PATCH] OLPC: Add XO-1 suspend/resume support

From: H. Peter Anvin
Date: Tue Oct 19 2010 - 18:11:59 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/