diff options
author | Jason Gunthorpe <[email protected]> | 2024-02-26 13:07:26 -0400 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-02-29 15:12:23 +0000 |
commit | d8cd200609cf6a404cda73794f0c8c4fd74c568c (patch) | |
tree | d96e6ba8d1f91765bbb1e5b52a2637e02c9a328f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d36464f40f29c984984168ea89e08629bdba41df (diff) |
iommu/arm-smmu-v3: Pass arm_smmu_domain and arm_smmu_device to finalize
Instead of putting container_of() casts in the internals, use the proper
type in this call chain. This makes it easier to check that the two global
static domains are not leaking into call chains they should not.
Passing the smmu avoids the only caller from having to set it and unset it
in the error path.
Reviewed-by: Michael Shavit <[email protected]>
Reviewed-by: Nicolin Chen <[email protected]>
Tested-by: Shameer Kolothum <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Tested-by: Moritz Fischer <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions