x86 setup: initialize LDTR and TR to make life easier to Intel VT
authorH. Peter Anvin <hpa@zytor.com>
Wed, 30 Jan 2008 12:33:02 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:02 +0000 (13:33 +0100)
commit88089519f302f1296b4739be45699f06f728ec31
treea0ffb023be68d0b83503e77ba4a9d9b43acea88b
parentc4d9ba6da9f050ebb7e0d70769e3dca0fd45334f
x86 setup: initialize LDTR and TR to make life easier to Intel VT

Intel VT doesn't like to engage when the protected-mode state isn't
fully initialized.  Make life easier for it by initializing LDTR (to
null) and TR (to a dummy hunk of low memory which will never actually
be touched.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/boot/pm.c
arch/x86/boot/pmjump.S
include/asm-x86/segment.h