Introduce CONFIG_HYPERV_VSM, the top-level switch that gates VTL0-side support for Microsoft Hyper-V's Virtual Secure Mode (VSM). Enabling it lets the VTL0 kernel load a small secure kernel into VTL1 and stand up the VTL0<->VTL1 interfaces needed to request VSM services.
Depends on HYPERV and on X86_64 which is the only architecture currently implemented. Signed-off-by: Thara Gopinath <[email protected]> --- drivers/hv/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig index aa11bcefddf2c..a325fc61be604 100644 --- a/drivers/hv/Kconfig +++ b/drivers/hv/Kconfig @@ -40,6 +40,15 @@ config HYPERV_VTL_MODE If unsure, say N +config HYPERV_VSM + bool "Microsoft Hyper-V VSM driver" + depends on HYPERV && X86_64 + help + Select this option to enable Hyper-V Virtual Secure Mode. + Enabling this option will load a secure kernel in VTL1 and + establish an interface between VTL0 and VTL1 to request for + VSM services. + config HYPERV_TIMER def_bool HYPERV && X86 -- 2.34.1

