diff options
| author | Shivaprasad G Bhat <[email protected]> | 2024-02-15 13:52:32 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-04-03 03:28:55 +0000 |
| commit | 5bd31ab5f79eb6e3bdfa0ca0b57650f9d1604062 (patch) | |
| tree | 6e037a4cca22a9b46be4a9e6d1224b3e372e31ef /scripts/generate_rust_target.rs | |
| parent | Linux 6.9-rc2 (diff) | |
| download | kernel-5bd31ab5f79eb6e3bdfa0ca0b57650f9d1604062.tar.gz kernel-5bd31ab5f79eb6e3bdfa0ca0b57650f9d1604062.zip | |
powerpc/iommu: Refactor spapr_tce_platform_iommu_attach_dev()
The patch makes the iommu_group_get() call only when using it
thereby avoiding the unnecessary get & put for domain already
being set case.
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Shivaprasad G Bhat <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
