Re: [PATCH v2 19/24] iommu: Expose DMA domain strictness via sysfs
From: John Garry <hidden>
Date: 2021-07-30 10:21:12
Also in:
linux-iommu, lkml
From: John Garry <hidden>
Date: 2021-07-30 10:21:12
Also in:
linux-iommu, lkml
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@arm.com> ---
Reviewed-by: John Garry <redacted> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel