]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/kernel: remove tboot 1:1 page table creation code
authorXiaoyan Zhang <xiaoyan.zhang@intel.com>
Fri, 7 Sep 2012 18:29:04 +0000 (19:29 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:20 +0000 (10:39 +0000)
commitda5a108d05b4f350be33e62d2db125673823e7ff
treeadae6b32a6c59f4a9d553b1fb6dff720b07a145c
parent185034e72d591f9465e5e18f937ed642e7ea0070
x86/kernel: remove tboot 1:1 page table creation code

For TXT boot, while Linux kernel trys to shutdown/S3/S4/reboot, it
need to jump back to tboot code and do TXT teardown work. Previously
kernel zapped all mem page identity mapping (va=pa) after booting, so
tboot code mem address was mapped again with identity mapping. Now
kernel didn't zap the identity mapping page table, so tboot related
code can remove the remapping code before trapping back now.

Signed-off-by: Xiaoyan Zhang <xiaoyan.zhang@intel.com>
Acked-by: Gang Wei <gang.wei@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/kernel/tboot.c