]> Gentwo Git Trees - linux/.git/commit
x86/hyperv: Switch to msi_create_parent_irq_domain()
authorNam Cao <namcao@linutronix.de>
Fri, 18 Jul 2025 19:57:50 +0000 (21:57 +0200)
committerWei Liu <wei.liu@kernel.org>
Tue, 30 Sep 2025 22:50:48 +0000 (22:50 +0000)
commit4691db0704ac1c266377c99f00288a014fdb7af1
tree4860b0d37b2599c1839ff670ba8cfde23f38838a
parentc5eebe075e1129748f74e567da7bd8fbe77e485b
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>
arch/x86/hyperv/irqdomain.c
drivers/hv/Kconfig