]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Introduce explicit type for non-strict DMA domains
authorRobin Murphy <robin.murphy@arm.com>
Wed, 11 Aug 2021 12:21:30 +0000 (13:21 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 18 Aug 2021 11:27:49 +0000 (13:27 +0200)
commiteb673b7420106129d695f092d2b7a3e2d330304e
treed85dbe18b0004a7359904f61342e81aebf40abcd
parent0dff1feb4f0751f068c43f3656a7d14c31dbcf1f
iommu: Introduce explicit type for non-strict DMA domains

Promote the difference between strict and non-strict DMA domains from an
internal detail to a distinct domain feature and type, to pave the road
for exposing it through the sysfs default domain interface.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/08cd2afaf6b63c58ad49acec3517c9b32c2bb946.1628682049.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c
drivers/iommu/iommu.c
include/linux/iommu.h