All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] add nr_ats_masters for quickly check
@ 2019-08-15  5:44 ` Zhen Lei
  0 siblings, 0 replies; 15+ messages in thread
From: Zhen Lei @ 2019-08-15  5:44 UTC (permalink / raw)
  To: Jean-Philippe Brucker, Jean-Philippe Brucker, John Garry,
	Robin Murphy, Will Deacon, Joerg Roedel, iommu, linux-arm-kernel,
	linux-kernel
  Cc: Zhen Lei

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



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-08-16 10:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15  5:44 [PATCH v2 0/2] add nr_ats_masters for quickly check Zhen Lei
2019-08-15  5:44 ` Zhen Lei
2019-08-15  5:44 ` Zhen Lei
2019-08-15  5:44 ` [PATCH v2 1/2] iommu/arm-smmu-v3: don't add a master into smmu_domain before it's ready Zhen Lei
2019-08-15  5:44   ` Zhen Lei
2019-08-15  5:44   ` Zhen Lei
2019-08-15  5:44 ` [PATCH v2 2/2] iommu/arm-smmu-v3: add nr_ats_masters for quickly check Zhen Lei
2019-08-15  5:44   ` Zhen Lei
2019-08-15  5:44   ` Zhen Lei
2019-08-15 15:23   ` Will Deacon
2019-08-15 15:23     ` Will Deacon
2019-08-15 15:23     ` Will Deacon
2019-08-16 10:12     ` Leizhen (ThunderTown)
2019-08-16 10:12       ` Leizhen (ThunderTown)
2019-08-16 10:12       ` Leizhen (ThunderTown)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.