aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorZhen Lei <[email protected]>2021-07-12 11:12:19 +0000
committerJoerg Roedel <[email protected]>2021-07-26 11:27:38 +0000
commit02252b3bfe9f98770a8d902925711676ff5bd766 (patch)
tree37d392700b92050d9f12ca8d6d1bba5f766f2c2d /lib/netdev-notifier-error-inject.c
parentiommu/vt-d: Add support for IOMMU default DMA mode build options (diff)
downloadkernel-02252b3bfe9f98770a8d902925711676ff5bd766.tar.gz
kernel-02252b3bfe9f98770a8d902925711676ff5bd766.zip
iommu/amd: Add support for IOMMU default DMA mode build options
Make IOMMU_DEFAULT_LAZY default for when AMD_IOMMU config is set, which matches current behaviour. For "fullflush" param, just call iommu_set_dma_strict(true) directly. Since we get a strict vs lazy mode print already in iommu_subsys_init(), and maintain a deprecation print when "fullflush" param is passed, drop the prints in amd_iommu_init_dma_ops(). Finally drop global flag amd_iommu_unmap_flush, as it has no longer has any purpose. [jpg: Rebase for relocated file and drop amd_iommu_unmap_flush] Signed-off-by: Zhen Lei <[email protected]> Signed-off-by: John Garry <[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