[PATCHv10 05/18] x86/kexec: Keep CR4.MCE set during kexec for TDX guest

Huang, Kai kai.huang at intel.com
Tue Apr 9 05:38:04 PDT 2024


On Tue, 2024-04-09 at 14:29 +0300, Kirill A. Shutemov wrote:
> Depending on setup, TDX guests might be allowed to clear CR4.MCE.
> Attempt to clear it leads to #VE.
> 
> Use alternatives to keep the flag during kexec for TDX guests.
> 
> The change doesn't affect non-TDX-guest environments.
> 
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>

Reviewed-by: Kai Huang <kai.huang at intel.com>



More information about the kexec mailing list