[PATCH v2 19/24] iommu: Expose DMA domain strictness via sysfs

John Garry john.garry at huawei.com
Fri Jul 30 03:20:42 PDT 2021


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 at arm.com>
> ---

Reviewed-by: John Garry <john.garry at huawei.com>



More information about the linux-arm-kernel mailing list