From: Roman Kisel Date: Mon, 28 Apr 2025 21:07:36 +0000 (-0700) Subject: arm64: hyperv: Initialize the Virtual Trust Level field X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1f5538a8e2fd3602cd507897c16ee647360a0423;p=users%2Fdwmw2%2Flinux.git 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 Reviewed-by: Michael Kelley Link: https://lore.kernel.org/r/20250428210742.435282-6-romank@linux.microsoft.com Signed-off-by: Wei Liu Message-ID: <20250428210742.435282-6-romank@linux.microsoft.com> --- diff --git a/arch/arm64/hyperv/mshyperv.c b/arch/arm64/hyperv/mshyperv.c index 21458b6338aa3..43f422a7ef342 100644 --- a/arch/arm64/hyperv/mshyperv.c +++ b/arch/arm64/hyperv/mshyperv.c @@ -117,6 +117,7 @@ static int __init hyperv_init(void) if (ms_hyperv.priv_high & HV_ACCESS_PARTITION_ID) hv_get_partition_id(); + ms_hyperv.vtl = get_vtl(); ms_hyperv_late_init();