Michael Kelley
2021-Feb-04 17:13 UTC
[PATCH v6 09/16] x86/hyperv: provide a bunch of helper functions
From: Wei Liu <wei.liu at kernel.org> Sent: Wednesday, February 3, 2021 7:04 AM> > They are used to deposit pages into Microsoft Hypervisor and bring up > logical and virtual processors. > > Signed-off-by: Lillian Grassin-Drake <ligrassi at microsoft.com> > Signed-off-by: Sunil Muthuswamy <sunilmut at microsoft.com> > Signed-off-by: Nuno Das Neves <nunodasneves at linux.microsoft.com> > Co-Developed-by: Lillian Grassin-Drake <ligrassi at microsoft.com> > Co-Developed-by: Sunil Muthuswamy <sunilmut at microsoft.com> > Co-Developed-by: Nuno Das Neves <nunodasneves at linux.microsoft.com> > Signed-off-by: Wei Liu <wei.liu at kernel.org> > --- > v6: > 1. Address Michael's comments. > > v4: Fix compilation issue when CONFIG_ACPI_NUMA is not set. > > v3: > 1. Add __packed to structures. > 2. Drop unnecessary exports. > > v2: > 1. Adapt to hypervisor side changes > 2. Address Vitaly's comments > > use u64 status > > pages > > major comments > > minor comments > > rely on acpi code > --- > arch/x86/hyperv/Makefile | 2 +- > arch/x86/hyperv/hv_proc.c | 219 ++++++++++++++++++++++++++++++ > arch/x86/include/asm/mshyperv.h | 4 + > include/asm-generic/hyperv-tlfs.h | 67 +++++++++ > 4 files changed, 291 insertions(+), 1 deletion(-) > create mode 100644 arch/x86/hyperv/hv_proc.c >Reviewed-by: Michael Kelley <mikelley at microsoft.com>