]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: irq: Introduce acpi_get_gsi_dispatcher()
authorRoman Kisel <romank@linux.microsoft.com>
Mon, 28 Apr 2025 21:07:41 +0000 (14:07 -0700)
committerWei Liu <wei.liu@kernel.org>
Fri, 23 May 2025 16:30:55 +0000 (16:30 +0000)
commitab7e531a8212394608838c31e9dfac69fafa6c8a
tree83b45e7e52bf491b816310f19f977104b29f8db1
parent18a34bb5221e2b79dbcba5bb50d92beb45b68e15
ACPI: irq: Introduce acpi_get_gsi_dispatcher()

Using acpi_irq_create_hierarchy() in the cases where the code
also handles OF leads to code duplication as the ACPI subsystem
doesn't provide means to compute the IRQ domain parent whereas
the OF does.

Introduce acpi_get_gsi_dispatcher() so that the drivers relying
on both ACPI and OF may use irq_domain_create_hierarchy() in the
common code paths.

No functional changes.

Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20250428210742.435282-11-romank@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250428210742.435282-11-romank@linux.microsoft.com>
drivers/acpi/irq.c
include/linux/acpi.h