linux_dsm_epyc7002/drivers/iommu
Will Deacon d25f6ead16 iommu/arm-smmu-v3: Increase maximum size of queues
We've been artificially limiting the size of our queues to 4k so that we
don't end up allocating huge amounts of physically-contiguous memory at
probe time. However, 4k is only enough for 256 commands in the command
queue, so instead let's try to allocate the largest queue that the SMMU
supports, retrying with a smaller size if the allocation fails.

The caveat here is that we have to limit our upper bound based on
CONFIG_CMA_ALIGNMENT to ensure that our queue allocations remain
natually aligned, which is required by the SMMU architecture.

Signed-off-by: Will Deacon <will.deacon@arm.com>
2019-06-18 18:11:20 +01:00
..
amd_iommu_debugfs.c
amd_iommu_init.c Merge branches 'arm/tegra', 'arm/mediatek', 'arm/smmu', 'x86/vt-d', 'x86/amd' and 'core' into next 2019-05-07 09:40:12 +02:00
amd_iommu_proto.h
amd_iommu_types.h iommu/amd: Remove amd_iommu_pd_list 2019-04-26 15:17:20 +02:00
amd_iommu_v2.c
amd_iommu.c pci-v5.2-changes 2019-05-14 10:30:10 -07:00
arm-smmu-regs.h iommu/arm-smmu: Log CBFRSYNRA register on context fault 2019-04-23 12:23:16 +01:00
arm-smmu-v3.c iommu/arm-smmu-v3: Increase maximum size of queues 2019-06-18 18:11:20 +01:00
arm-smmu.c iommu/arm-smmu: Log CBFRSYNRA register on context fault 2019-04-23 12:23:16 +01:00
dma-iommu.c Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-19 10:58:45 -07:00
dmar.c iommu/vt-d: Use struct_size() helper 2019-04-26 16:43:21 +02:00
exynos-iommu.c
fsl_pamu_domain.c
fsl_pamu_domain.h
fsl_pamu.c
fsl_pamu.h
hyperv-iommu.c
intel_irq_remapping.c pci-v5.2-changes 2019-05-14 10:30:10 -07:00
intel-iommu-debugfs.c
intel-iommu.c pci-v5.2-changes 2019-05-14 10:30:10 -07:00
intel-pasid.c iommu/vt-d: Fix leak in intel_pasid_alloc_table on error path 2019-05-03 17:34:27 +02:00
intel-pasid.h
intel-svm.c iommu/vt-d: Make intel_iommu_enable_pasid() more generic 2019-04-11 17:15:48 +02:00
io-pgtable-arm-v7s.c iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging 2019-03-29 10:01:37 -07:00
io-pgtable-arm.c iommu: io-pgtable: Add ARM Mali midgard MMU page table format 2019-04-12 12:52:38 -05:00
io-pgtable.c iommu: io-pgtable: Add ARM Mali midgard MMU page table format 2019-04-12 12:52:38 -05:00
iommu-debugfs.c
iommu-sysfs.c
iommu-traces.c
iommu.c Merge branches 'arm/tegra', 'arm/mediatek', 'arm/smmu', 'x86/vt-d', 'x86/amd' and 'core' into next 2019-05-07 09:40:12 +02:00
iova.c iommu/iova: Fix tracking of recently failed iova address 2019-03-22 12:01:58 +01:00
ipmmu-vmsa.c
irq_remapping.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
irq_remapping.h
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
msm_iommu_hw-8xxx.h
msm_iommu.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
msm_iommu.h
mtk_iommu_v1.c
mtk_iommu.c iommu/mediatek: Fix leaked of_node references 2019-04-26 15:24:19 +02:00
mtk_iommu.h
of_iommu.c
omap-iommu-debug.c
omap-iommu.c
omap-iommu.h
omap-iopgtable.h
qcom_iommu.c
rockchip-iommu.c
s390-iommu.c
tegra-gart.c
tegra-smmu.c iommu/tegra-smmu: Respect IOMMU API read-write protections 2019-04-11 14:51:37 +02:00