Re: [PATCH v12 2/5] iommu: Enhance IOMMU default DMA mode build options

From: Lu Baolu
Date: Fri Jun 11 2021 - 22:36:47 EST


On 2021/6/11 20:20, John Garry wrote:
+choice
+ prompt "IOMMU default DMA mode"

This is not explicit.

How about

"IOMMU DMA default cache invalidation policy"

?

Best regards,
baolu

+ depends on IOMMU_DMA
+
+ default IOMMU_DEFAULT_STRICT
+ help
+ This option allows an IOMMU DMA mode to be chosen at build time, to
+ override the default DMA mode of each ARCH, removing the need to
+ pass in kernel parameters through command line. It is still possible
+ to provide ARCH-specific or common boot options to override this
+ option.
+
+ If unsure, keep the default.