Commit f90aa59
iommu/rockchip: Register in a sensible order
Currently Rockchip calls iommu_device_register() before it's finished
setting up the hardware and driver state, and as such it now gets
unhappy in various ways when registration starts working the way it was
always intended to, and probing client devices straight away. Reorder
the operations to ensure that what we're registering is a prepared and
functional IOMMU instance.
Fixes: bcb81ac ("iommu: Get DT/ACPI parsing into the proper probe path")
Signed-off-by: Robin Murphy <[email protected]>
Tested-by: Quentin Schulz <[email protected]>
Tested-by: Dang Huynh <[email protected]>
Reviewed-by: Nicolas Frattaroli <[email protected]>
Tested-by: Nicolas Frattaroli <[email protected]>
Link: https://lore.kernel.org/r/e69532f00bf49d98322b96788edb7e2e305e4006.1741886382.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <[email protected]>1 parent f48dcda commit f90aa59
1 file changed
+10
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1256 | 1256 | | |
1257 | 1257 | | |
1258 | 1258 | | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
1267 | 1259 | | |
1268 | 1260 | | |
1269 | 1261 | | |
| |||
1290 | 1282 | | |
1291 | 1283 | | |
1292 | 1284 | | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
1293 | 1293 | | |
1294 | | - | |
1295 | | - | |
1296 | 1294 | | |
1297 | 1295 | | |
1298 | | - | |
| 1296 | + | |
| 1297 | + | |
1299 | 1298 | | |
1300 | 1299 | | |
1301 | 1300 | | |
| |||
0 commit comments