]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Generic GSI: Do not attempt to map non-GSI IRQs during bus scan
authorAgustin Vega-Frias <agustinv@codeaurora.org>
Thu, 2 Feb 2017 23:23:57 +0000 (18:23 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 3 Feb 2017 15:03:40 +0000 (15:03 +0000)
commit3aa8bb67bfc698a1ed51e9307ea7e9b3935c6d81
tree270153e3ec9c6974b584e64350883ea15ed17fef
parenta2323382aa4d62abf3cb3d164d2fc4212fb7f298
ACPI: Generic GSI: Do not attempt to map non-GSI IRQs during bus scan

ACPI extended IRQ resources may contain a Resource Source field to specify
an alternate interrupt controller, attempting to map them as GSIs is
incorrect, so just disable the platform resource.

Since this field is currently ignored, we make this change conditional
on CONFIG_ACPI_GENERIC_GSI to keep the current behavior on x86 platforms,
in case some existing ACPI tables are using this incorrectly.

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/resource.c