We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26225be commit 7cf8a63Copy full SHA for 7cf8a63
drivers/iommu/iommu.c
@@ -144,10 +144,11 @@ static int __init iommu_subsys_init(void)
144
(iommu_cmd_line & IOMMU_CMD_LINE_DMA_API) ?
145
"(set via kernel command line)" : "");
146
147
- pr_info("DMA domain TLB invalidation policy: %s mode %s\n",
148
- iommu_dma_strict ? "strict" : "lazy",
149
- (iommu_cmd_line & IOMMU_CMD_LINE_STRICT) ?
150
- "(set via kernel command line)" : "");
+ if (!iommu_default_passthrough())
+ pr_info("DMA domain TLB invalidation policy: %s mode %s\n",
+ iommu_dma_strict ? "strict" : "lazy",
+ (iommu_cmd_line & IOMMU_CMD_LINE_STRICT) ?
151
+ "(set via kernel command line)" : "");
152
153
return 0;
154
}
0 commit comments