RE: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Friday, May 19, 2023 4:19 AM > > On Thu, May 18, 2023 at 03:45:24PM -0400, Peter Xu wrote: > > > I see that Intel is already copied here (at least Yi and Kevin) so I assume > > there're already some kind of synchronizations on multi-vIOMMU vs recent > > works on I

RE: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Thursday, May 18, 2023 10:57 PM > > On Thu, May 18, 2023 at 10:16:24AM -0400, Peter Xu wrote: > > > What you mentioned above makes sense to me from the POV that 1 > vIOMMU may > > not suffice, but that's at least totally new area to me because I never > > used >1

Re: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Jason Gunthorpe
On Thu, May 18, 2023 at 03:45:24PM -0400, Peter Xu wrote: > On Thu, May 18, 2023 at 11:56:46AM -0300, Jason Gunthorpe wrote: > > On Thu, May 18, 2023 at 10:16:24AM -0400, Peter Xu wrote: > > > > > What you mentioned above makes sense to me from the POV that 1 vIOMMU may > > > not suffice, but that

Re: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Peter Xu
On Thu, May 18, 2023 at 11:56:46AM -0300, Jason Gunthorpe wrote: > On Thu, May 18, 2023 at 10:16:24AM -0400, Peter Xu wrote: > > > What you mentioned above makes sense to me from the POV that 1 vIOMMU may > > not suffice, but that's at least totally new area to me because I never > > used >1 IOMMU

Re: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Nicolin Chen
Hi Eric, On Thu, May 18, 2023 at 11:06:50AM +0200, Eric Auger wrote: > > On Mon, Apr 24, 2023 at 04:42:57PM -0700, Nicolin Chen wrote: > >> Hi all, > >> > >> (Please feel free to include related folks into this thread.) > >> > >> In light of an ongoing nested-IOMMU support effort via IOMMUFD, we >

Re: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Jason Gunthorpe
On Thu, May 18, 2023 at 10:16:24AM -0400, Peter Xu wrote: > What you mentioned above makes sense to me from the POV that 1 vIOMMU may > not suffice, but that's at least totally new area to me because I never > used >1 IOMMUs even bare metal (excluding the case where I'm aware that > e.g. a GPU cou

Re: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Peter Xu
On Thu, May 18, 2023 at 11:06:50AM +0200, Eric Auger wrote: > Hi Nicolin, > > On 5/18/23 05:22, Nicolin Chen wrote: > > Hi Peter, > > > > Eric previously mentioned that you might not like the idea. > > Before we start this big effort, would it possible for you > > to comment a word or two on this

Re: Multiple vIOMMU instance support in QEMU?

2023-05-18 Thread Eric Auger
Hi Nicolin, On 5/18/23 05:22, Nicolin Chen wrote: > Hi Peter, > > Eric previously mentioned that you might not like the idea. > Before we start this big effort, would it possible for you > to comment a word or two on this topic? > > Thanks! > > On Mon, Apr 24, 2023 at 04:42:57PM -0700, Nicolin Che

Re: Multiple vIOMMU instance support in QEMU?

2023-05-17 Thread Nicolin Chen
Hi Peter, Eric previously mentioned that you might not like the idea. Before we start this big effort, would it possible for you to comment a word or two on this topic? Thanks! On Mon, Apr 24, 2023 at 04:42:57PM -0700, Nicolin Chen wrote: > Hi all, > > (Please feel free to include related folks

Multiple vIOMMU instance support in QEMU?

2023-04-24 Thread Nicolin Chen
Hi all, (Please feel free to include related folks into this thread.) In light of an ongoing nested-IOMMU support effort via IOMMUFD, we would likely have a need of a multi-vIOMMU support in QEMU, or more specificly a multi-vSMMU support for an underlying HW that has multi physical SMMUs. This wo