Skip to content

Commit c6bb8f8

Browse files
Lorenzo Pieralisiwildea01
authored andcommitted
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>
1 parent 577dfe1 commit c6bb8f8

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ config ARM64
33
select ACPI_CCA_REQUIRED if ACPI
44
select ACPI_GENERIC_GSI if ACPI
55
select ACPI_GTDT if ACPI
6+
select ACPI_IORT if ACPI
67
select ACPI_REDUCED_HARDWARE_ONLY if ACPI
78
select ACPI_MCFG if ACPI
89
select ACPI_SPCR_TABLE if ACPI

drivers/irqchip/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ config ARM_GIC_V3_ITS
3939
bool
4040
depends on PCI
4141
depends on PCI_MSI
42-
select ACPI_IORT if ACPI
4342

4443
config ARM_NVIC
4544
bool

0 commit comments

Comments
 (0)