arm64/smmu: Move smmu later

We need to wait for the interrupt drivers to attach before the smmu
driver. As both of these happened at BUS_PASS_INTERRUPT +
BUS_PASS_ORDER_MIDDLE there was no guarantee this would happen in the
correct order.

Fix by moving the smmu driver to BUS_PASS_ORDER_LATE.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D59485
This commit is contained in:
Andrew Turner committed 2026-09-18 12:28:31 +01:00
1 parent d95b62db76
commit 0bcd0616ff
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -288,4 +288,4 @@ DEFINE_CLASS_1(smmu, smmu_acpi_driver, smmu_acpi_methods,
sizeof(struct smmu_softc), smmu_driver);
EARLY_DRIVER_MODULE(smmu, acpi, smmu_acpi_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
+1 -1
View File
@@ -200,4 +200,4 @@ DEFINE_CLASS_1(smmu, smmu_fdt_driver, smmu_fdt_methods,
sizeof(struct smmu_softc), smmu_driver);
EARLY_DRIVER_MODULE(smmu, simplebus, smmu_fdt_driver, 0, 0,
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);