Thread (67 messages) 67 messages, 2 authors, 2023-08-16

Re: [PATCH v6 04/25] iommu: Add IOMMU_DOMAIN_PLATFORM for S390

From: Baolu Lu <baolu.lu@linux.intel.com>
Date: 2023-08-14 02:21:36
Also in: linux-arm-msm, linux-iommu, linux-mediatek, linux-rockchip, linux-s390, linux-samsung-soc, linux-sunxi, linux-tegra, linuxppc-dev

On 2023/8/3 8:07, Jason Gunthorpe wrote:
The PLATFORM domain will be set as the default domain and attached as
normal during probe. The driver will ignore the initial attach from a NULL
domain to the PLATFORM domain.

After this, the PLATFORM domain's attach_dev will be called whenever we
detach from an UNMANAGED domain (eg for VFIO). This is the same time the
original design would have called op->detach_dev().

This is temporary until the S390 dma-iommu.c conversion is merged.

Tested-by: Heiko Stuebner<heiko@sntech.de>
Tested-by: Niklas Schnelle<schnelle@linux.ibm.com>
Signed-off-by: Jason Gunthorpe<jgg@nvidia.com>
---
  drivers/iommu/s390-iommu.c | 21 +++++++++++++++++++--
  1 file changed, 19 insertions(+), 2 deletions(-)
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>

Best regards,
baolu

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help