[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190815054439.30652-1-thunder.leizhen@huawei.com>
Date: Thu, 15 Aug 2019 13:44:37 +0800
From: Zhen Lei <thunder.leizhen@...wei.com>
To: Jean-Philippe Brucker <jean-philippe.brucker@....com>,
"Jean-Philippe Brucker" <jean-philippe@...aro.org>,
John Garry <john.garry@...wei.com>,
"Robin Murphy" <robin.murphy@....com>,
Will Deacon <will@...nel.org>, Joerg Roedel <joro@...tes.org>,
iommu <iommu@...ts.linux-foundation.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>
CC: Zhen Lei <thunder.leizhen@...wei.com>
Subject: [PATCH v2 0/2] add nr_ats_masters for quickly check
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
Powered by blists - more mailing lists