projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5edb564
)
iommu/arm-smmu: Wire up map_sg for arm-smmu-v3
author
Jean-Philippe Brucker
<
[email protected]
>
Fri, 3 Jun 2016 10:50:30 +0000
(11:50 +0100)
committer
Joerg Roedel
<
[email protected]
>
Mon, 13 Jun 2016 09:00:59 +0000
(11:00 +0200)
The map_sg callback is missing from arm_smmu_ops, but is required by
iommu.h. Similarly to most other IOMMU drivers, connect it to
default_iommu_map_sg.
Cc: <
[email protected]
>
Signed-off-by: Jean-Philippe Brucker <
[email protected]
>
Signed-off-by: Will Deacon <
[email protected]
>
Signed-off-by: Joerg Roedel <
[email protected]
>
drivers/iommu/arm-smmu-v3.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/arm-smmu-v3.c
b/drivers/iommu/arm-smmu-v3.c
index 94b68213c50dae945b9c0789afe8b6465dfd5411..5f6b3bcab0782be2d29d465390b1b4bd179bf433 100644
(file)
--- a/
drivers/iommu/arm-smmu-v3.c
+++ b/
drivers/iommu/arm-smmu-v3.c
@@
-1941,6
+1941,7
@@
static struct iommu_ops arm_smmu_ops = {
.attach_dev = arm_smmu_attach_dev,
.map = arm_smmu_map,
.unmap = arm_smmu_unmap,
+ .map_sg = default_iommu_map_sg,
.iova_to_phys = arm_smmu_iova_to_phys,
.add_device = arm_smmu_add_device,
.remove_device = arm_smmu_remove_device,