[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5078e29c-029c-8bab-613f-46c94507c64d@huawei.com>
Date: Fri, 30 Jul 2021 11:20:42 +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 19/24] iommu: Expose DMA domain strictness via sysfs
On 28/07/2021 16:58, Robin Murphy wrote:
> The sysfs interface for default domain types exists primarily so users
> can choose the performance/security tradeoff relevant to their own
> workload. As such, the choice between the policies for DMA domains fits
> perfectly as an additional point on that scale - downgrading a
> particular device from a strict default to non-strict may be enough to
> let it reach the desired level of performance, while still retaining
> more peace of mind than with a wide-open identity domain. Now that we've
> abstracted non-strict mode as a distinct type of DMA domain, allow it to
> be chosen through the user interface as well.
>
> Signed-off-by: Robin Murphy<robin.murphy@....com>
> ---
Reviewed-by: John Garry <john.garry@...wei.com>
Powered by blists - more mailing lists