Commit 48e7b8e
iommu/arm-smmu-v3: Remove arm_smmu_domain_finalise() during attach
Domains are now always finalized during allocation because the core code
no longer permits a NULL dev argument to domain_alloc_paging/_flags().
Remove the late finalize during attach that supported domains that were
not fully initialized.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1-v1-0bb8d5313a27+27b-smmuv3_paging_flags_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>1 parent 6e19221 commit 48e7b8e
2 files changed
+9
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2460 | 2460 | | |
2461 | 2461 | | |
2462 | 2462 | | |
2463 | | - | |
2464 | 2463 | | |
2465 | 2464 | | |
2466 | 2465 | | |
| |||
2469 | 2468 | | |
2470 | 2469 | | |
2471 | 2470 | | |
| 2471 | + | |
2472 | 2472 | | |
| 2473 | + | |
2473 | 2474 | | |
2474 | 2475 | | |
2475 | 2476 | | |
| |||
2480 | 2481 | | |
2481 | 2482 | | |
2482 | 2483 | | |
2483 | | - | |
2484 | | - | |
2485 | | - | |
2486 | | - | |
2487 | | - | |
2488 | | - | |
2489 | | - | |
2490 | | - | |
2491 | | - | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
2492 | 2488 | | |
2493 | 2489 | | |
2494 | 2490 | | |
| |||
2965 | 2961 | | |
2966 | 2962 | | |
2967 | 2963 | | |
2968 | | - | |
2969 | | - | |
2970 | | - | |
2971 | | - | |
2972 | | - | |
2973 | | - | |
2974 | | - | |
2975 | | - | |
2976 | | - | |
| 2964 | + | |
2977 | 2965 | | |
2978 | 2966 | | |
2979 | 2967 | | |
| |||
3030 | 3018 | | |
3031 | 3019 | | |
3032 | 3020 | | |
3033 | | - | |
3034 | 3021 | | |
3035 | | - | |
3036 | | - | |
3037 | | - | |
3038 | | - | |
3039 | | - | |
3040 | | - | |
3041 | | - | |
3042 | | - | |
| 3022 | + | |
| 3023 | + | |
3043 | 3024 | | |
3044 | 3025 | | |
3045 | 3026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
846 | | - | |
847 | 846 | | |
848 | 847 | | |
849 | 848 | | |
| |||
0 commit comments