Skip to content

Commit 1f5538a

Browse files
romank-msftliuw
authored andcommitted
arm64: hyperv: Initialize the Virtual Trust Level field
Various parts of the hyperv code need to know what VTL the kernel runs at, most notably VMBus needs that to establish communication with the host. Initialize the Virtual Trust Level field to enable booting in the Virtual Trust Level. Signed-off-by: Roman Kisel <romank@linux.microsoft.com> Reviewed-by: Michael Kelley <mhklinux@outlook.com> Link: https://lore.kernel.org/r/20250428210742.435282-6-romank@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org> Message-ID: <20250428210742.435282-6-romank@linux.microsoft.com>
1 parent e7e6902 commit 1f5538a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/hyperv/mshyperv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ static int __init hyperv_init(void)
117117

118118
if (ms_hyperv.priv_high & HV_ACCESS_PARTITION_ID)
119119
hv_get_partition_id();
120+
ms_hyperv.vtl = get_vtl();
120121

121122
ms_hyperv_late_init();
122123

0 commit comments

Comments
 (0)