mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
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>
This commit is contained in:
parent
e7e6902fbd
commit
1f5538a8e2
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue