Skip to content

Commit 316ca88

Browse files
Lorenzo Pieralisijoergroedel
authored andcommitted
ACPI/IORT: Remove linker section for IORT entries probing
The IORT linker section introduced by commit 34ceea2 ("ACPI/IORT: Introduce linker section for IORT entries probing") was needed to make sure SMMU drivers are registered (and therefore probed) in the kernel before devices using the SMMU have a chance to probe in turn. Through the introduction of deferred IOMMU configuration the linker section based IORT probing infrastructure is not needed any longer, in that device/SMMU probe dependencies are managed through the probe deferral mechanism, making the IORT linker section infrastructure unused, so that it can be removed. Remove the unused IORT linker section probing infrastructure from the kernel to complete the ACPI IORT IOMMU configure probe deferral mechanism implementation. Tested-by: Hanjun Guo <hanjun.guo@linaro.org> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Sricharan R <sricharan@codeaurora.org> Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent f6810c1 commit 316ca88

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

drivers/acpi/arm64/iort.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,4 @@ void __init acpi_iort_init(void)
10001000
}
10011001

10021002
iort_init_platform_devices();
1003-
1004-
acpi_probe_device_table(iort);
10051003
}

include/asm-generic/vmlinux.lds.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@
566566
IRQCHIP_OF_MATCH_TABLE() \
567567
ACPI_PROBE_TABLE(irqchip) \
568568
ACPI_PROBE_TABLE(clksrc) \
569-
ACPI_PROBE_TABLE(iort) \
570569
EARLYCON_TABLE()
571570

572571
#define INIT_TEXT \

include/linux/acpi_iort.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,4 @@ const struct iommu_ops *iort_iommu_configure(struct device *dev)
5252
{ return NULL; }
5353
#endif
5454

55-
#define IORT_ACPI_DECLARE(name, table_id, fn) \
56-
ACPI_DECLARE_PROBE_ENTRY(iort, name, table_id, 0, NULL, 0, fn)
57-
5855
#endif /* __ACPI_IORT_H__ */

0 commit comments

Comments
 (0)