Re: [PATCH v2 20/24] iommu: Merge strictness and domain type configs

From: John Garry
Date: Fri Jul 30 2021 - 05:33:55 EST


On 28/07/2021 16:58, Robin Murphy wrote:
-config IOMMU_DEFAULT_LAZY
- bool "lazy"
+ Untrusted devices always use this mode, with an additional layer of
+ bounce-buffering such that they cannot gain access to any unrelated
+ data within a mapped page.
+
+config IOMMU_DEFAULT_DMA_LAZY
+ bool "Translated - Lazy"
help

Since these are being renamed, can you update the kernel-parameters.txt:


iommu.strict= [ARM64, X86] Configure TLB invalidation behaviour


....
DMA unmap operations invalidate IOMMU hardware TLBs
synchronously.
unset - Use value of CONFIG_IOMMU_DEFAULT_{LAZY,STRICT}.

^^^^^

Thanks