]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Drivers: hv: Use nested hypercall for post message and signal event
authorNuno Das Neves <nunodasneves@linux.microsoft.com>
Fri, 11 Jul 2025 19:18:50 +0000 (12:18 -0700)
committerWei Liu <wei.liu@kernel.org>
Tue, 15 Jul 2025 06:24:16 +0000 (06:24 +0000)
commit36c46e64c55061623daf214d26e634ae2cfe4a49
tree9eedf3ecc58a85597699aca7081f74feabafb75f
parentfaab52b59b09721edeb8f92eabad3f4d320fb522
Drivers: hv: Use nested hypercall for post message and signal event

When running nested, these hypercalls must be sent to the L0 hypervisor
or VMBus will fail.

Remove hv_do_nested_hypercall() and hv_do_fast_nested_hypercall8()
altogether and open-code these cases, since there are only 2 and all
they do is add the nested bit.

Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1752261532-7225-2-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1752261532-7225-2-git-send-email-nunodasneves@linux.microsoft.com>
arch/x86/include/asm/mshyperv.h
drivers/hv/connection.c
drivers/hv/hv.c