]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Add support for ResourceSource/IRQ domain mapping
authorAgustin Vega-Frias <agustinv@codeaurora.org>
Thu, 2 Feb 2017 23:23:58 +0000 (18:23 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 3 Feb 2017 15:03:48 +0000 (15:03 +0000)
commita9e26cdef4847568d86a1779976d608b72067250
tree6c2880d745b366a4a024e3048e6727873a43b773
parent3aa8bb67bfc698a1ed51e9307ea7e9b3935c6d81
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 <rafael@kernel.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Agustin Vega-Frias <agustinv@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/acpi/Makefile
drivers/acpi/gsi.c [deleted file]
drivers/acpi/irq.c [new file with mode: 0644]
drivers/base/platform.c
include/linux/acpi.h