Drivers: hv: Allocate the paravisor SynIC pages when required
authorRoman Kisel <romank@linux.microsoft.com>
Wed, 8 Oct 2025 23:34:09 +0000 (16:34 -0700)
committerWei Liu <wei.liu@kernel.org>
Sat, 15 Nov 2025 06:18:15 +0000 (06:18 +0000)
commit226494e5ee4eb0bae4fc7b525505828271d5047e
tree68f8498260a579f562da2e01e0698da1793174e0
parent163224c189e8b679ce919aa64ccabb7a992ca2d1
Drivers: hv: Allocate the paravisor SynIC pages when required

Confidential VMBus requires interacting with two SynICs -- one
provided by the host hypervisor, and one provided by the paravisor.
Each SynIC requires its own message and event pages.

Refactor and extend the existing code to add allocating and freeing
the message and event pages for the paravisor SynIC when it is
present.

Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Tianyu Lan <tiala@microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h