[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a30a4d50-e798-c2d1-73a3-5b53fef2f75f@huawei.com>
Date: Fri, 30 Jul 2021 10:33:31 +0100
From: John Garry <john.garry@...wei.com>
To: Robin Murphy <robin.murphy@....com>, <joro@...tes.org>,
<will@...nel.org>
CC: <iommu@...ts.linux-foundation.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <suravee.suthikulpanit@....com>,
<baolu.lu@...ux.intel.com>, <dianders@...omium.org>
Subject: Re: [PATCH v2 20/24] iommu: Merge strictness and domain type configs
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
Powered by blists - more mailing lists