summaryrefslogtreecommitdiff
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2020-05-15 16:08:43 +0800
committerJoerg Roedel <jroedel@suse.de>2020-05-18 15:42:07 +0200
commit8bbe13f52cb79666ada12033f04bdeb4741b7188 (patch)
treeec1cc827e7e0b222d737420bd6ef05e0bc827ee5 /kernel/task_work.c
parent5df362a53f7d36e032668e7e6725d80622b98525 (diff)
iommu/mediatek-v1: Add def_domain_type
The MediaTek V1 IOMMU is arm32 whose default domain type is IOMMU_DOMAIN_UNMANAGED. Add this to satisfy the bus_iommu_probe to enter "probe_finalize". The iommu framework will create a iommu domain for each a device. But all the devices share a iommu domain here, thus we skip all the other domains in the "attach_device" except the domain we create internally with arm_iommu_create_mapping. Also a minor change: in the attach_device, "data" always is not null. Remove "if (!data) return". Signed-off-by: Yong Wu <yong.wu@mediatek.com> Link: https://lore.kernel.org/r/1589530123-30240-1-git-send-email-yong.wu@mediatek.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions