summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
authorNam Cao <namcao@linutronix.de>2025-07-18 21:57:50 +0200
committerWei Liu <wei.liu@kernel.org>2025-09-30 22:50:48 +0000
commit4691db0704ac1c266377c99f00288a014fdb7af1 (patch)
tree4860b0d37b2599c1839ff670ba8cfde23f38838a /drivers/hv
parentc5eebe075e1129748f74e567da7bd8fbe77e485b (diff)
downloadlwn-4691db0704ac1c266377c99f00288a014fdb7af1.tar.gz
lwn-4691db0704ac1c266377c99f00288a014fdb7af1.zip
x86/hyperv: Switch to msi_create_parent_irq_domain()
Move away from the legacy MSI domain setup, switch to use msi_create_parent_irq_domain(). While doing the conversion, I noticed that hv_irq_compose_msi_msg() is doing more than it is supposed to (composing message content). The interrupt allocation bits should be moved into hv_msi_domain_alloc(). However, I have no hardware to test this change, therefore I leave a TODO note. Signed-off-by: Nam Cao <namcao@linutronix.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Nuno Das Neves <nunodasneves@linux.microsoft.com> Reviewed-by: Nuno Das Neves <nunodasneves@linux.microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
index cdb210cd3710..e24f6299c376 100644
--- a/drivers/hv/Kconfig
+++ b/drivers/hv/Kconfig
@@ -10,6 +10,7 @@ config HYPERV
select X86_HV_CALLBACK_VECTOR if X86
select OF_EARLY_FLATTREE if OF
select SYSFB if EFI && !HYPERV_VTL_MODE
+ select IRQ_MSI_LIB if X86
help
Select this option to run Linux as a Hyper-V client operating
system.