summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>2025-07-02 12:37:57 +0300
committerWill Deacon <will@kernel.org>2025-07-15 13:41:52 +0300
commitad48b1dd14fb217e0a0b0af46744a3d1f6f26dea (patch)
tree068f4c78e16e90626430d51b9a2c378cc2e12d6b /tools/lib/python
parentc694bc8b612ddd0dd70e122a00f39cb1e2e6927f (diff)
downloadlinux-ad48b1dd14fb217e0a0b0af46744a3d1f6f26dea.tar.xz
iommu/amd: Refactor AMD IOMMU debugfs initial setup
Rearrange initial setup of AMD IOMMU debugfs to segregate per IOMMU setup and setup which is common for all IOMMUs. This ensures that common debugfs paths (introduced in subsequent patches) are created only once instead of being created for each IOMMU. With the change, there is no need to use lock as amd_iommu_debugfs_setup() will be called only once during AMD IOMMU initialization. So remove lock acquisition in amd_iommu_debugfs_setup(). Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com> Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Reviewed-by: Vasant Hegde <vasant.hegde@amd.com> Link: https://lore.kernel.org/r/20250702093804.849-2-dheerajkumar.srivastava@amd.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions