summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorZhaoyu Liu <liuzhaoyu.zackary@picoheart.com>2026-08-23 17:24:36 +0800
committerJoerg Roedel <joerg.roedel@amd.com>2026-09-24 13:22:35 +0200
commit183629813e2c57bc6cd75ebb5e0414df775f1c5b (patch)
tree085de3605709cc139f7fb5049315effe1c9e9baa /scripts/basic
parent93f51579e7df248780214094418f205253383cc5 (diff)
downloadlinux-183629813e2c57bc6cd75ebb5e0414df775f1c5b.tar.gz
linux-183629813e2c57bc6cd75ebb5e0414df775f1c5b.zip
iommu/sva: remove iommu_sva_present flag
The global iommu_sva_present bool merely mirrors !list_empty(&iommu_sva_mms) under the same mutex. Remove it and rely on list_for_each_entry to handle the empty list case, which is a no-op. Signed-off-by: Zhaoyu Liu <liuzhaoyu.zackary@picoheart.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions