Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 9 Jun 2023 13:03:52 +0300 | From | kirill.shutemov@linux ... | Subject | Re: [PATCH v11 16/20] x86/virt/tdx: Initialize all TDMRs |
| |
On Mon, Jun 05, 2023 at 02:27:29AM +1200, Kai Huang wrote: > 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 <kai.huang@intel.com> > Reviewed-by: Isaku Yamahata <isaku.yamahata@intel.com>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
-- Kiryl Shutsemau / Kirill A. Shutemov
| ![\](/images/icornerr.gif) |