Skip to content

Commit d44fa3d

Browse files
Agustin Vega-FriasMarc Zyngier
authored andcommitted
ACPI: Add support for ResourceSource/IRQ domain mapping
ACPI extended IRQ resources may contain a ResourceSource to specify an alternate interrupt controller. Introduce acpi_irq_get and use it to implement ResourceSource/IRQ domain mapping. The new API is similar to of_irq_get and allows re-initialization of a platform resource from the ACPI extended IRQ resource, and provides proper behavior for probe deferral when the domain is not yet present when called. Acked-by: Rafael J. Wysocki <[email protected]> Acked-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Hanjun Guo <[email protected]> Tested-by: Hanjun Guo <[email protected]> Signed-off-by: Agustin Vega-Frias <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
1 parent fa20b17 commit d44fa3d

File tree

5 files changed

+318
-99
lines changed

5 files changed

+318
-99
lines changed

drivers/acpi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ acpi-$(CONFIG_DEBUG_FS) += debugfs.o
5555
acpi-$(CONFIG_ACPI_NUMA) += numa.o
5656
acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o
5757
acpi-y += acpi_lpat.o
58-
acpi-$(CONFIG_ACPI_GENERIC_GSI) += gsi.o
58+
acpi-$(CONFIG_ACPI_GENERIC_GSI) += irq.o
5959
acpi-$(CONFIG_ACPI_WATCHDOG) += acpi_watchdog.o
6060

6161
# These are (potentially) separate modules

drivers/acpi/gsi.c

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)