Blob Blame History Raw
Subject: x86/hyperv: Add constant HV_ISOLATION_TYPE_TDX
From: Dexuan Cui <decui@microsoft.com>
Patch-mainline: Never, wip
References: bsc#1206453, jsc#PED-3247

This is a kABI breaking change.
Introduce the Hyper-V provided constant before kABI freeze.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Acked-by: Olaf Hering <ohering@suse.de>

--- a/arch/x86/include/asm/hyperv-tlfs.h
+++ b/arch/x86/include/asm/hyperv-tlfs.h
@@ -161,7 +161,8 @@
 enum hv_isolation_type {
 	HV_ISOLATION_TYPE_NONE	= 0,
 	HV_ISOLATION_TYPE_VBS	= 1,
-	HV_ISOLATION_TYPE_SNP	= 2
+	HV_ISOLATION_TYPE_SNP	= 2,
+	HV_ISOLATION_TYPE_TDX	= 3
 };
 
 /* Hyper-V specific model specific registers (MSRs) */