diff options
author | Kai Huang <[email protected]> | 2023-12-08 09:07:35 -0800 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2023-12-08 09:12:45 -0800 |
commit | 0b2bc38131f02d6fd38695f191bbd8c6109ecffc (patch) | |
tree | 5877c12d7027ecd614179d90d37483f30ee52b29 /scripts/gdb/linux/utils.py | |
parent | e56d28df2f666af9ce0c27d8d204ad813d3766f4 (diff) |
x86/virt/tdx: Initialize all TDMRs
After the global KeyID has been configured on all packages, initialize
all TDMRs to make all TDX-usable memory regions that are passed to the
TDX module become usable.
This is the last step of initializing the TDX module.
Initializing TDMRs can be time consuming on large memory systems as it
involves initializing all metadata entries for all pages that can be
used by TDX guests. Initializing different TDMRs can be parallelized.
For now to keep it simple, just initialize all TDMRs one by one. It can
be enhanced in the future.
Signed-off-by: Kai Huang <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Isaku Yamahata <[email protected]>
Reviewed-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Yuan Yao <[email protected]>
Reviewed-by: Dave Hansen <[email protected]>
Link: https://lore.kernel.org/all/20231208170740.53979-15-dave.hansen%40intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions