diff options
author | Kirill A. Shutemov <[email protected]> | 2024-06-14 12:58:51 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-06-17 17:45:50 +0200 |
commit | de60613173dfd75a10f6aa8e001bbcafa242e623 (patch) | |
tree | b5196b9eb04cdf58e2cc4ee6c7254c6763bdcab0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7b46a8997db27ed70b01458fa4437ec2360feddd (diff) |
x86/kexec: Keep CR4.MCE set during kexec for TDX guest
TDX guests run with MCA enabled (CR4.MCE=1b) from the very start. If
that bit is cleared during CR4 register reprogramming during boot or kexec
flows, a #VE exception will be raised which the guest kernel cannot handle.
Therefore, make sure the CR4.MCE setting is preserved over kexec too and avoid
raising any #VEs.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions