On Fri, Feb 07, 2025 at 11:03:20AM -0800, Nuno Das Neves wrote: > 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 drivers/hv. > > Signed-off-by: Nuno Das Neves <nunodasneves@xxxxxxxxxxxxxxxxxxx> > --- > Changes in v3: > * Just use percpu input page for the hypercall [Michael Kelley] > * Move the calls to hv_get_partition_id() back to arch code [Michael Kelley] > * Rename struct hv_get_partition_id to hv_output_get_partition_id > [Michael Kelley] > > Changes in v2: > * Fix dependence on percpu output page by using a stack variable for the > hypercall output [Michael Kelley] > * Remove unnecessary WARN()s [Michael Kelley] > * Define hv_current_partition_id in hv_common.c [Michael Kelley] > * Move entire hv_proc.c to drivers/hv [Michael Kelley] > > Nuno Das Neves (2): > hyperv: Move hv_current_partition_id to arch-generic code > hyperv: Move arch/x86/hyperv/hv_proc.c to drivers/hv Applied to hyperv-next. Thanks.