2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/x86/hyperv
Michael Kelley 09beefefb5 x86/hyperv: Fix output argument to hypercall that changes page visibility
The hypercall in hv_mark_gpa_visibility() is invoked with an input
argument and an output argument. The output argument ostensibly returns
the number of pages that were processed. But in fact, the hypercall does
not provide any output, so the output argument is spurious.

The spurious argument is harmless because Hyper-V ignores it, but in the
interest of correctness and to avoid the potential for future problems,
remove it.

Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250226200612.2062-2-mhklinux@outlook.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250226200612.2062-2-mhklinux@outlook.com>
2025-03-10 00:21:07 +00:00
..
hv_apic.c hyperv: Clean up unnecessary #includes 2025-01-08 08:18:27 +00:00
hv_init.c hyperv: Do not overlap the hvcall IO areas in get_vtl() 2025-01-10 00:54:21 +00:00
hv_proc.c hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h 2025-01-10 00:54:21 +00:00
hv_spinlock.c x86/hyperv: Cosmetic changes for hv_spinlock.c 2024-03-18 21:56:19 +00:00
hv_vtl.c x86/hyperv/vtl: Stop kernel from probing VTL0 low memory 2025-02-12 02:16:56 +00:00
irqdomain.c x86/apic: Convert to IRQCHIP_MOVE_DEFERRED 2025-01-15 21:38:53 +01:00
ivm.c x86/hyperv: Fix output argument to hypercall that changes page visibility 2025-03-10 00:21:07 +00:00
Makefile x86/hyperv: VTL support for Hyper-V 2023-04-18 17:29:52 +00:00
mmu.c hyperv: Clean up unnecessary #includes 2025-01-08 08:18:27 +00:00
nested.c hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h 2025-01-10 00:54:21 +00:00