We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6bee4 commit 189e8d4Copy full SHA for 189e8d4
arch/x86/virt/vmx/tdx/tdx.c
@@ -33,7 +33,7 @@
33
#include <asm/msr.h>
34
#include <asm/cpufeature.h>
35
#include <asm/tdx.h>
36
-#include <asm/intel-family.h>
+#include <asm/cpu_device_id.h>
37
#include <asm/processor.h>
38
#include <asm/mce.h>
39
#include "tdx.h"
@@ -1426,9 +1426,9 @@ static void __init check_tdx_erratum(void)
1426
* private memory poisons that memory, and a subsequent read of
1427
* that memory triggers #MC.
1428
*/
1429
- switch (boot_cpu_data.x86_model) {
1430
- case INTEL_FAM6_SAPPHIRERAPIDS_X:
1431
- case INTEL_FAM6_EMERALDRAPIDS_X:
+ switch (boot_cpu_data.x86_vfm) {
+ case INTEL_SAPPHIRERAPIDS_X:
+ case INTEL_EMERALDRAPIDS_X:
1432
setup_force_cpu_bug(X86_BUG_TDX_PW_MCE);
1433
}
1434
0 commit comments