]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM64/irqchip: Update ACPI_IORT symbol selection logic
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 14 Jun 2017 16:37:12 +0000 (17:37 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 15 Jun 2017 10:41:21 +0000 (11:41 +0100)
commitc6bb8f89fa6df7a8d62bad2f66063b4b7433ea59
tree2e1abef68c9f64a889dd2461124c08ff91544dad
parent577dfe16b852a90f26cf677cdc9113ec34199de6
ARM64/irqchip: Update ACPI_IORT symbol selection logic

ACPI IORT is an ACPI addendum to describe the connection topology of
devices with IOMMUs and interrupt controllers on ARM64 ACPI systems.

Currently the ACPI IORT Kbuild symbol is selected whenever the Kbuild
symbol ARM_GIC_V3_ITS is enabled, which in turn is selected by ARM64
Kbuild defaults. This makes the logic behind ACPI_IORT selection a bit
twisted and not easy to follow. On ARM64 systems enabling ACPI the
kbuild symbol ACPI_IORT should always be selected in that it is a kernel
layer provided to the ARM64 arch code to parse and enable ACPI firmware
bindings.

Make the ACPI_IORT selection explicit in ARM64 Kbuild and remove the
selection from ARM_GIC_V3_ITS entry, making the ACPI_IORT selection
logic clearer to follow.

Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Hanjun Guo <hanjun.guo@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig
drivers/irqchip/Kconfig