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

John Garry
2021-07-30T09:36:28Z

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