diff options
author | Vasant Hegde <[email protected]> | 2024-08-28 11:10:27 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-09-04 11:35:56 +0200 |
commit | 964877dc26232835d4465d9565399fe8ca4525e8 (patch) | |
tree | 3677a2a5cef33335c07cae29ef5e364c54420387 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
parent | 845bd6ac43422671778120ec082d7ddcab035a1f (diff) |
iommu/amd: Make amd_iommu_domain_flush_complete() static
AMD driver uses amd_iommu_domain_flush_complete() function to make sure
IOMMU processed invalidation commands before proceeding. Ideally this
should be called from functions which updates DTE/invalidates caches.
There is no need to call this function explicitly. This patches makes
below changes :
- Rename amd_iommu_domain_flush_complete() -> domain_flush_complete()
and make it as static function.
- Rearrage domain_flush_complete() to avoid forward declaration.
- Update amd_iommu_update_and_flush_device_table() to call
domain_flush_complete().
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Suravee Suthikulpanit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions