projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a62e17
)
iommu: delete log when map and unmap
author
xxm
<xxm@rock-chips.com>
Thu, 24 Apr 2014 09:47:51 +0000
(17:47 +0800)
committer
Cody Xie
<Cody.Xie@rock-chips.com>
Thu, 24 Apr 2014 09:47:55 +0000
(17:47 +0800)
drivers/iommu/rockchip-iovmm.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/rockchip-iovmm.c
b/drivers/iommu/rockchip-iovmm.c
index 90fcefc08bae72c786597d46994d866fcdfb1fba..6ba3d084cef8e79c35187fbb7a93139f32151253 100755
(executable)
--- a/
drivers/iommu/rockchip-iovmm.c
+++ b/
drivers/iommu/rockchip-iovmm.c
@@
-136,9
+136,9
@@
dma_addr_t iovmm_map(struct device *dev,struct scatterlist *sg, off_t offset,siz
spin_unlock(&vmm->lock);
rockchip_sysmmu_tlb_invalidate(dev);
-
+ /*
pr_err("IOVMM: Allocated VM region @ %#x/%#X bytes.\n",region->start, region->size);
-
+ */
return region->start;
err_map_map:
@@
-182,8
+182,9
@@
void iovmm_unmap(struct device *dev, dma_addr_t iova)
gen_pool_free(vmm->vmm_pool, region->start, region->size);
WARN_ON(unmapped_size != region->size);
+ /*
pr_err("IOVMM: Unmapped %#x bytes from %#x.\n",unmapped_size, region->start);
-
+ */
kfree(region);
}