> Provide an interface for Virtual Machine Monitor like OpenVMM and its > use as OpenHCL paravisor to control VTL0 (Virtual trust Level). > Expose devices and support IOCTLs for features like VTL creation, > VTL0 memory management, context switch, making hypercalls, > mapping VTL0 address space to VTL2 userspace, getting new VMBus > messages and channel events in VTL2 etc. > > Co-developed-by: Roman Kisel <rom...@linux.microsoft.com> > Signed-off-by: Roman Kisel <rom...@linux.microsoft.com> > Co-developed-by: Saurabh Sengar <ssen...@linux.microsoft.com> > Signed-off-by: Saurabh Sengar <ssen...@linux.microsoft.com> > Reviewed-by: Roman Kisel <rom...@linux.microsoft.com> > Signed-off-by: Naman Jain <namj...@linux.microsoft.com> > --- > drivers/hv/Kconfig | 21 + > drivers/hv/Makefile | 7 +- > drivers/hv/mshv_vtl.h | 52 + > drivers/hv/mshv_vtl_main.c | 1783 > +++++++++++++++++++++++++++++++++++ > include/hyperv/hvgdk_mini.h | 81 ++ > include/hyperv/hvhdk.h | 1 + > include/uapi/linux/mshv.h | 82 ++ > 7 files changed, 2026 insertions(+), 1 deletion(-) > create mode 100644 drivers/hv/mshv_vtl.h > create mode 100644 drivers/hv/mshv_vtl_main.c > > diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig > index eefa0b559b73..05f990306d40 100644 > --- a/drivers/hv/Kconfig > +++ b/drivers/hv/Kconfig > @@ -72,4 +72,25 @@ config MSHV_ROOT > > If unsure, say N. > > +config MSHV_VTL > + tristate "Microsoft Hyper-V VTL driver" > + depends on HYPERV && X86_64 > + depends on TRANSPARENT_HUGEPAGE > + depends on OF
I am aware that OpenHCL works only with DeviceTree and hence we have to enable CONFIG_OF, but I am not aware of any dependency in this driver, why we need to enable CONFIG_OF by this driver. We can always enable CONFIG_OF separately in OpenHCL kernel configs. Please check. - Saurabh