iommu: msm: enable lazy mapping for waipio
Enable the "lazy mapping" feature, which lets dma_bufs be unmapped lazily when the DMA_ATTR_DELAYED_UNMAP attribute is used for a buffer. Change-Id: I28771db8449f78cfc89eaac0b67db914f055dba6 Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
This commit is contained in:
parent
4f08686bf0
commit
e58bc4b97a
@ -442,6 +442,18 @@ config ARM_SMMU_V3
|
||||
Say Y here if your system includes an IOMMU device implementing
|
||||
the ARM SMMUv3 architecture.
|
||||
|
||||
config QCOM_LAZY_MAPPING
|
||||
tristate "Reference counted iommu-mapping support"
|
||||
depends on ION
|
||||
depends on IOMMU_API
|
||||
help
|
||||
ION buffers may be shared between several software clients.
|
||||
Reference counting the mapping may simplify coordination between
|
||||
these clients, and decrease latency by preventing multiple
|
||||
map/unmaps of the same region.
|
||||
|
||||
If unsure, say N here.
|
||||
|
||||
config S390_IOMMU
|
||||
def_bool y if S390 && PCI
|
||||
depends on S390 && PCI
|
||||
|
@ -4,6 +4,7 @@ obj-$(CONFIG_IOMMU_API) += iommu-traces.o
|
||||
obj-$(CONFIG_IOMMU_API) += iommu-sysfs.o
|
||||
obj-$(CONFIG_IOMMU_DEBUGFS) += iommu-debugfs.o
|
||||
obj-$(CONFIG_IOMMU_DMA) += dma-iommu.o
|
||||
obj-$(CONFIG_QCOM_LAZY_MAPPING) += msm_dma_iommu_mapping.o
|
||||
obj-$(CONFIG_IOMMU_IO_PGTABLE) += io-pgtable.o
|
||||
obj-$(CONFIG_IOMMU_IO_PGTABLE_ARMV7S) += io-pgtable-arm-v7s.o
|
||||
obj-$(CONFIG_IOMMU_IO_PGTABLE_LPAE) += io-pgtable-arm.o
|
||||
|
@ -24,6 +24,7 @@ qcom-pdc.ko
|
||||
iommu-logger.ko
|
||||
arm_smmu.ko
|
||||
msm_ion_heaps.ko
|
||||
msm_dma_iommu_mapping.ko
|
||||
qcom-arm-smmu-mod.ko
|
||||
#phy-qcom-ufs.ko
|
||||
#phy-qcom-ufs-qmp-v4-lahaina.ko
|
||||
|
@ -24,3 +24,4 @@ usb_f_mass_storage.ko
|
||||
msm-geni-se.ko
|
||||
msm_geni_serial.ko
|
||||
msm_ion_heaps.ko
|
||||
msm_dma_iommu_mapping.ko
|
||||
|
Loading…
Reference in New Issue
Block a user