Skip to content
Snippets Groups Projects
Commit da5a108d authored by Xiaoyan Zhang's avatar Xiaoyan Zhang Committed by Matt Fleming
Browse files

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: default avatarXiaoyan Zhang <xiaoyan.zhang@intel.com>
Acked-by: default avatarGang Wei <gang.wei@intel.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 185034e7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment