]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "[PATCH] paravirt: Add startup infrastructure for paravirtualization"
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 10 May 2007 10:15:36 +0000 (03:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 May 2007 16:26:53 +0000 (09:26 -0700)
commit5fa77244d72b7393fec68f214b9daf06df2850f1
treeee03d8c6ee5d695ea4e548680ab09253f5874685
parent672c13409c6dc7491a4d9ec65b25e0c212cbe12d
Revert "[PATCH] paravirt: Add startup infrastructure for paravirtualization"

This reverts commit cf2b7619c1b9ca332fe80799cb1acabf033e15b7.

Entering the kernel at startup_32 without passing our real mode data in
%esi, and without guaranteeing that physical and virtual addresses are
identity mapped makes head.S impossible to maintain.

The only user of this infrastructure is lguest which is not merged so
nothing we currently support will break by removing this over designed
nightmare, and only the pending lguest patches will be affected.  The
pending Xen patches have a different entry point that they use.

We are currently discussing what Xen and lguest need to do to boot the
kernel in a more normal fashion so using startup_32 in this weird manner is
clearly not their long term direction.

So let's remove this code in head.S before it causes brain damage to people
trying to maintain head.S

Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Zachary Amsden <zach@vmware.com>
CC: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/head.S
arch/i386/kernel/paravirt.c
arch/i386/kernel/vmlinux.lds.S
include/asm-i386/paravirt.h