Draft: MKTME/TDX fixes for boot failures
Merge Request Required Information
Summary of Changes
This fixes boot on TDX-enabled systems, which until now only worked with "disable_mtrr_cleanup". Without the patch, the values written to the MTRRs mask registers were 52-bit wide (e.g. 0x000fffff_80000800) and the writes failed; with the patch, the values are 46-bit wide, which matches the reduced MAXPHYADDR that is shown in /proc/cpuinfo.
Approved Development Ticket
All submissions to CentOS Stream must reference an approved ticket in Red Hat Jira. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.
JIRA: https://issues.redhat.com/browse/RHEL-23426
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Edited by Paolo Bonzini