]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
iommu/tegra: smmu: move out trace from for-loop
authorAhung Cheng <ahcheng@nvidia.com>
Tue, 11 Apr 2017 10:17:44 +0000 (18:17 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 3 May 2017 05:00:27 +0000 (22:00 -0700)
commitdf8bb8379ca351ce0905378fe1011aada1453e5a
treebf9d7903ed7e5a7528eec980b89fb21dcbd97275
parent651a794666e309aeae01d58392b24852dc5dc5c2
iommu/tegra: smmu: move out trace from for-loop

The trace_smmu_set_pte in for-loop stores trace log
for every single page which adds huge overhead when
unmap page. It's not necessary and shall be moved out.

bug 1896296

Change-Id: Ica546a445320a4b091d4da6834dcf8e691e3c5f7
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/1460456
Reviewed-on: http://git-master/r/1461180
(cherry picked from commit 058513315f8a5489ea65d38773f4346d93ef1280)
Reviewed-on: http://git-master/r/1472098
(cherry picked from commit 06608f1ec0c6200273c4df847faf8780d9494545)
Reviewed-on: http://git-master/r/1472099
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
drivers/iommu/tegra-smmu.c