Drivers: hv: Functions for setting up and tearing down the paravisor SynIC
authorRoman Kisel <romank@linux.microsoft.com>
Wed, 8 Oct 2025 23:34:14 +0000 (16:34 -0700)
committerWei Liu <wei.liu@kernel.org>
Sat, 15 Nov 2025 06:18:15 +0000 (06:18 +0000)
commite096fe2bd623f77d5407f1d9a40f5d8d2a596680
tree30c75664c8a210060abb24f3c7af7ca2212e8c78
parent74fa5d7e5fbdecdff64f149d9c14c74baa5cb27b
Drivers: hv: Functions for setting up and tearing down the paravisor SynIC

The confidential VMBus runs with the paravisor SynIC and requires
configuring it with the paravisor.

Add the functions for configuring the paravisor SynIC. Update
overall SynIC initialization logic to initialize the SynIC if it
is present. Finally, break out SynIC interrupt enable/disable
code into separate functions so that SynIC interrupts can be
enabled or disabled via the paravisor instead of the hypervisor
if the paravisor SynIC is present.

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