On 11/17/2012 09:00 PM, Eric W. Biederman wrote:
The easy way to fix that is to do what we do on 32 bits: we copy it
into the bss before we turn paging on (the 64-bit equivalent is before
we switch to the new page tables.) That way we know where it is, at
least for the bounded-size data items.
Whatever works. It sounds like six of one half a dozen of the other to
me. Last I looked early_ioremap works as soon as paging is enabled on
x86_64.
Well, x86-64 means paging is enabled. Presumably you mean "as son as we
are onl our own page tables". I'm fine either way, *as long as* we
don't touch *any* memory outside text/data/bss/brk before we recover
this content.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec