summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/dma-iommu.c
diff options
context:
space:
mode:
authorSakari Ailus2019-01-02 22:16:57 +0100
committerJoerg Roedel2019-01-11 12:26:43 +0100
commitbd3c2e66e4cb91ed9294b5da920deeb45db0c13a (patch)
tree9be0df4e198076ce0bc9de8acb5381f560b761e8 /drivers/iommu/dma-iommu.c
parentLinux 5.0-rc1 (diff)
downloadkernel-qcow2-linux-bd3c2e66e4cb91ed9294b5da920deeb45db0c13a.tar.gz
kernel-qcow2-linux-bd3c2e66e4cb91ed9294b5da920deeb45db0c13a.tar.xz
kernel-qcow2-linux-bd3c2e66e4cb91ed9294b5da920deeb45db0c13a.zip
iommu/iova: Allow compiling the library without IOMMU support
Drivers such as the Intel IPU3 ImgU driver use the IOVA library to manage the device's own virtual address space while not implementing the IOMMU API. Currently the IOVA library is only compiled if the IOMMU support is enabled, resulting into a failure during linking due to missing symbols. Fix this by defining IOVA library Kconfig bits independently of IOMMU support configuration, and descending to the iommu directory unconditionally during the build. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/dma-iommu.c')
0 files changed, 0 insertions, 0 deletions