summaryrefslogtreecommitdiff
path: root/fs/attr.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-07-12 14:12:18 +0300
committerJoerg Roedel <jroedel@suse.de>2021-07-26 14:27:38 +0300
commitd0e108b8e962e0aae65dc74ffda63b93b6ef32f4 (patch)
treecada5e8e018821d2e169bdd3b9024376e4141caa /fs/attr.c
parent712d8f205835c1d170e85d7811da3d9f36d8fab7 (diff)
downloadlinux-d0e108b8e962e0aae65dc74ffda63b93b6ef32f4.tar.xz
iommu/vt-d: Add support for IOMMU default DMA mode build options
Make IOMMU_DEFAULT_LAZY default for when INTEL_IOMMU config is set, as is current behaviour. Also delete global flag intel_iommu_strict: - In intel_iommu_setup(), call iommu_set_dma_strict(true) directly. Also remove the print, as iommu_subsys_init() prints the mode and we have already marked this param as deprecated. - For cap_caching_mode() check in intel_iommu_setup(), call iommu_set_dma_strict(true) directly; also reword the accompanying print with a level downgrade and also add the missing '\n'. - For Ironlake GPU, again call iommu_set_dma_strict(true) directly and keep the accompanying print. [jpg: Remove intel_iommu_strict] Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/1626088340-5838-5-git-send-email-john.garry@huawei.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions