[PATCH 0/2] hyperv: Move some features to common code

Nuno Das Neves posted 2 patches 1 year ago
There is a newer version of this series
arch/arm64/hyperv/mshyperv.c    |   3 +
arch/x86/hyperv/hv_init.c       |  25 +----
arch/x86/hyperv/hv_proc.c       | 144 ---------------------------
arch/x86/include/asm/mshyperv.h |   4 -
drivers/hv/hv_common.c          | 168 ++++++++++++++++++++++++++++++++
include/asm-generic/mshyperv.h  |   4 +
6 files changed, 176 insertions(+), 172 deletions(-)
[PATCH 0/2] hyperv: Move some features to common code
Posted by Nuno Das Neves 1 year ago
There are several bits of Hyper-V-related code that today live in
arch/x86 but are not really specific to x86_64 and will work on arm64
too.

Some of these will be needed in the upcoming mshv driver code (for
Linux as root partition on Hyper-V). So this is a good time to move
them to hv_common.c.

Signed-off-by: Nuno Das Neves <nudasnev@microsoft.com>

Nuno Das Neves (2):
  hyperv: Move hv_current_partition_id to arch-generic code
  hyperv: Move create_vp and deposit_pages hvcalls to hv_common.c

 arch/arm64/hyperv/mshyperv.c    |   3 +
 arch/x86/hyperv/hv_init.c       |  25 +----
 arch/x86/hyperv/hv_proc.c       | 144 ---------------------------
 arch/x86/include/asm/mshyperv.h |   4 -
 drivers/hv/hv_common.c          | 168 ++++++++++++++++++++++++++++++++
 include/asm-generic/mshyperv.h  |   4 +
 6 files changed, 176 insertions(+), 172 deletions(-)

-- 
2.34.1