summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2024-10-30 09:35:52 +0300
committerJoerg Roedel <jroedel@suse.de>2024-10-30 13:06:45 +0300
commit4b18ef8491b06e353e8801705092cc292582cb7a (patch)
tree12be26f1f31affe40c61316ccec986e3f0c6ffad /tools/perf/scripts/python/mem-phys-addr.py
parentd6b47dec368400a62d2b9d44c8e136fc15eac72c (diff)
downloadlinux-4b18ef8491b06e353e8801705092cc292582cb7a.tar.xz
iommu/amd: Rearrange attach device code
attach_device() is just holding lock and calling do_attach(). There is not need to have another function. Just move do_attach() code to attach_device(). Similarly move do_detach() code to detach_device(). Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> Reviewed-by: Joerg Roedel <jroedel@suse.de> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20241030063556.6104-9-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions