summaryrefslogtreecommitdiff
path: root/include/linux/tboot.h
AgeCommit message (Collapse)AuthorFilesLines
2010-05-19KVM: VMX: enable VMXON check with SMX enabled (Intel TXT)Shane Wang1-0/+1
Per document, for feature control MSR: Bit 1 enables VMXON in SMX operation. If the bit is clear, execution of VMXON in SMX operation causes a general-protection exception. Bit 2 enables VMXON outside SMX operation. If the bit is clear, execution of VMXON outside SMX operation causes a general-protection exception. This patch is to enable this kind of check with SMX for VMXON in KVM. Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
2009-09-02x86, intel_txt: clean up the impact on generic code, unbreak non-x86Shane Wang1-0/+162
Move tboot.h from asm to linux to fix the build errors of intel_txt patch on non-X86 platforms. Remove the tboot code from generic code init/main.c and kernel/cpu.c. Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>