]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI/IORT: Remove linker section for IORT entries probing
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 10 Apr 2017 11:21:06 +0000 (16:51 +0530)
committerJoerg Roedel <jroedel@suse.de>
Thu, 20 Apr 2017 14:31:09 +0000 (16:31 +0200)
commit86ba7a0b5a84b4d4e5b6bcd7ef98bab96569b3f6
treeccfbd18dd6c9817bf4ddfffb0cb8de494ac37a03
parent5f7aaa30cc36466aeb1413cab855a0bd1ffa85f9
ACPI/IORT: Remove linker section for IORT entries probing

The IORT linker section introduced by commit 32a7aa1aac77
("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>
drivers/acpi/arm64/iort.c
include/asm-generic/vmlinux.lds.h
include/linux/acpi_iort.h