[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <41dd3f695c57a12fc5e68a3ed818940252cdb69f.camel@linux.ibm.com>
Date: Fri, 20 May 2022 12:30:33 +0200
From: Niklas Schnelle <schnelle@...ux.ibm.com>
To: Matthew Rosato <mjrosato@...ux.ibm.com>, jgg@...dia.com,
joro@...tes.org
Cc: will@...nel.org, alex.williamson@...hat.com, cohuck@...hat.com,
borntraeger@...ux.ibm.com, gerald.schaefer@...ux.ibm.com,
farman@...ux.ibm.com, iommu@...ts.linux-foundation.org,
linux-s390@...r.kernel.org, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu/s390: tolerate repeat attach_dev calls
On Thu, 2022-05-19 at 14:29 -0400, Matthew Rosato wrote:
> Since commit 0286300e6045 ("iommu: iommu_group_claim_dma_owner() must
> always assign a domain") s390-iommu will get called to allocate multiple
> unmanaged iommu domains for a vfio-pci device -- however the current
> s390-iommu logic tolerates only one. Recognize that multiple domains can
> be allocated and handle switching between DMA or different iommu domain
> tables during attach_dev.
>
> Signed-off-by: Matthew Rosato <mjrosato@...ux.ibm.com>
> ---
I know it's applied already and no need to add my R-b but:
Reviewed-by: Niklas Schnelle <schnelle@...ux.ibm.com>
Powered by blists - more mailing lists