android_kernel_oneplus_msm8998/drivers/iommu
VENKATA RAO KAKANI ba826181ed iommu/debug: Add mutex to make attach/detach thread safe
This mutex lock will help to synchronise the usage of iommu domain
structure which is getting used by multiple threads to perform
iommu attach and iommu detach in case of any error.

Without this change we are seeing page poisoning - write after free
when running stress tests using iommu-debug test cases.

Change-Id: I388a90084ab8cc7e7097bac9a41ed5fed6dad312
Acked-by: Ankur Saxena <c_ankusa@qti.qualcomm.com>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: VENKATA RAO KAKANI <vkakani@codeaurora.org>
2018-07-13 04:56:53 -07:00
..
amd_iommu.c iommu/amd: Finish TLB flush in amd_iommu_unmap() 2017-10-18 09:20:42 +02:00
amd_iommu_init.c
amd_iommu_proto.h
amd_iommu_types.h
amd_iommu_v2.c iommu/amd: Fix incorrect error handling in amd_iommu_bind_pasid() 2017-07-05 14:37:22 +02:00
arm-smmu-v3.c iommu/arm-smmu-v3: Don't free page table ops twice 2018-01-17 09:35:25 +01:00
arm-smmu.c ARM: SMMU: clear page table ops of attached device 2018-06-04 21:43:50 -07:00
dma-iommu.c iommu/dma: Remove bogus dma_supported() implementation 2017-06-13 21:48:56 -07:00
dma-mapping-fast.c iommu/arm-smmu: add support to configure IOVA range 2017-04-18 11:34:53 -07:00
dmar.c
exynos-iommu.c
fsl_pamu.c
fsl_pamu.h
fsl_pamu_domain.c
fsl_pamu_domain.h
intel-iommu.c iommu/vt-d: Fix scatterlist offset handling 2017-12-16 10:33:49 +01:00
intel-svm.c iommu/vt-d: Fix a potential memory leak 2018-04-24 09:32:08 +02:00
intel_irq_remapping.c x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros 2018-06-16 09:54:24 +02:00
io-pgtable-arm.c Merge android-4.4@73a2b70 (v4.4.92) into msm-4.4 2017-10-20 02:11:57 -07:00
io-pgtable-fast.c Merge "iommu/io-pgtable-fast: invalidate TLBs on unmap" 2017-04-20 04:41:00 -07:00
io-pgtable-msm-secure.c
io-pgtable.c
io-pgtable.h iommu/arm-smmu: Correctly calculate and use the TTBR1 pagetable 2017-05-31 11:56:25 -06:00
iommu-debug.c iommu/debug: Add mutex to make attach/detach thread safe 2018-07-13 04:56:53 -07:00
iommu-debug.h iommu: iommu-debug: Rework CONFIG_IOMMU_DEBUG_TRACKING 2017-05-25 15:42:53 -07:00
iommu-sysfs.c
iommu-traces.c
iommu.c Merge android-4.4@64a73ff (v4.4.76) into msm-4.4 2017-07-10 03:00:34 -07:00
iova.c iommu/iova: Fix underflow bug in __alloc_and_insert_iova_range 2018-03-22 09:23:24 +01:00
ipmmu-vmsa.c
irq_remapping.c
irq_remapping.h
Kconfig dma-mapping: fix build when !CONFIG_ARM_SMMU 2017-04-06 01:23:25 -07:00
Makefile
msm_dma_iommu_mapping.c
of_iommu.c
omap-iommu-debug.c
omap-iommu.c iommu/omap: Register driver before setting IOMMU ops 2018-03-24 10:58:42 +01:00
omap-iommu.h
omap-iopgtable.h
rockchip-iommu.c
s390-iommu.c
shmobile-iommu.c
shmobile-ipmmu.c
shmobile-ipmmu.h
tegra-gart.c
tegra-smmu.c