Messages in this thread | | | From | Zhen Lei <> | Subject | [PATCH v2 0/2] add nr_ats_masters for quickly check | Date | Thu, 15 Aug 2019 13:44:37 +0800 |
| |
v1 --> v2: 1. change the type of nr_ats_masters from atomic_t to int, and move its ind/dec operation from arm_smmu_enable_ats()/arm_smmu_disable_ats() to arm_smmu_attach_dev()/arm_smmu_detach_dev(), and protected by "spin_lock_irqsave(&smmu_domain->devices_lock, flags);"
Zhen Lei (2): iommu/arm-smmu-v3: don't add a master into smmu_domain before it's ready iommu/arm-smmu-v3: add nr_ats_masters for quickly check
drivers/iommu/arm-smmu-v3.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-)
-- 1.8.3
| |