diff options
| author | Zhen Lei <[email protected]> | 2021-07-12 11:12:18 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2021-07-26 11:27:38 +0000 |
| commit | d0e108b8e962e0aae65dc74ffda63b93b6ef32f4 (patch) | |
| tree | cada5e8e018821d2e169bdd3b9024376e4141caa /lib/netdev-notifier-error-inject.c | |
| parent | iommu: Enhance IOMMU default DMA mode build options (diff) | |
| download | kernel-d0e108b8e962e0aae65dc74ffda63b93b6ef32f4.tar.gz kernel-d0e108b8e962e0aae65dc74ffda63b93b6ef32f4.zip | |
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 <[email protected]>
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
