RE: (a design open) RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-05-15 Thread Tian, Kevin
> From: Raj, Ashok > Sent: Friday, May 15, 2020 11:20 PM > > On Fri, May 15, 2020 at 12:39:14AM -0700, Tian, Kevin wrote: > > Hi, Alex, > > > > When working on an updated version Yi and I found an design open > > which needs your guidance. > > > > In concept nested translation can be incarnated

RE: (a design open) RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-05-15 Thread Tian, Kevin
> From: Alex Williamson > Sent: Saturday, May 16, 2020 1:59 AM > > On Fri, 15 May 2020 07:39:14 + > "Tian, Kevin" wrote: > > > Hi, Alex, > > > > When working on an updated version Yi and I found an design open > > which needs your guidance. > > > > In concept nested translation can be

Re: (a design open) RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-05-15 Thread Alex Williamson
On Fri, 15 May 2020 07:39:14 + "Tian, Kevin" wrote: > Hi, Alex, > > When working on an updated version Yi and I found an design open > which needs your guidance. > > In concept nested translation can be incarnated as one GPA->HPA page > table and multiple GVA->GPA page tables per VM. It

Re: (a design open) RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-05-15 Thread Raj, Ashok
On Fri, May 15, 2020 at 12:39:14AM -0700, Tian, Kevin wrote: > Hi, Alex, > > When working on an updated version Yi and I found an design open > which needs your guidance. > > In concept nested translation can be incarnated as one GPA->HPA page > table and multiple GVA->GPA page tables per VM. It

(a design open) RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-05-15 Thread Tian, Kevin
Hi, Alex, When working on an updated version Yi and I found an design open which needs your guidance. In concept nested translation can be incarnated as one GPA->HPA page table and multiple GVA->GPA page tables per VM. It means one container is sufficient to include all SVA-capable devices

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-10 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, April 3, 2020 3:57 AM > To: Liu, Yi L > Subject: Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > On Sun, 22 Mar 2020 05:32:03 -0700 > "Liu, Yi L" wrote: > > > From: Liu Yi L > >

Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-09 Thread Jean-Philippe Brucker
> > > > From: Jean-Philippe Brucker < jean-phili...@linaro.org > > > > > Sent: Friday, April 3, 2020 4:35 PM > > > > Subject: Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > > > > > > > On Thu, Apr 02

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-09 Thread Liu, Yi L
nt: Friday, April 3, 2020 4:35 PM > > > Subject: Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > > > > > On Thu, Apr 02, 2020 at 08:05:29AM +, Liu, Yi L wrote: > > > > > > > > static long vfio_iommu_type1_ioctl(void *iommu

Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-09 Thread Jean-Philippe Brucker
On Tue, Apr 07, 2020 at 10:33:25AM +, Liu, Yi L wrote: > Hi Jean, > > > From: Jean-Philippe Brucker < jean-phili...@linaro.org > > > Sent: Friday, April 3, 2020 4:35 PM > > Subject: Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > > >

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-07 Thread Liu, Yi L
Hi Jean, > From: Jean-Philippe Brucker < jean-phili...@linaro.org > > Sent: Friday, April 3, 2020 4:35 PM > Subject: Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > On Thu, Apr 02, 2020 at 08:05:29AM +, Liu, Yi L wrote: > > > > > >

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-04 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Saturday, April 4, 2020 2:11 AM > To: Liu, Yi L > Subject: Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > On Fri, 3 Apr 2020 13:30:49 + > "Liu, Yi L" wrote: > > > Hi Alex, > > &

Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-03 Thread Alex Williamson
On Fri, 3 Apr 2020 13:30:49 + "Liu, Yi L" wrote: > Hi Alex, > > > From: Alex Williamson > > Sent: Friday, April 3, 2020 3:57 AM > > To: Liu, Yi L > > > > On Sun, 22 Mar 2020 05:32:03 -0700 > > "Liu, Yi L" wrote: > > > > > From: Liu Yi L > > > > > > VFIO_TYPE1_NESTING_IOMMU is an

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-03 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, April 3, 2020 3:57 AM > To: Liu, Yi L > > On Sun, 22 Mar 2020 05:32:03 -0700 > "Liu, Yi L" wrote: > > > From: Liu Yi L > > > > VFIO_TYPE1_NESTING_IOMMU is an IOMMU type which is backed by hardware > > IOMMUs that have nesting DMA translation

Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-03 Thread Jean-Philippe Brucker
On Thu, Apr 02, 2020 at 08:05:29AM +, Liu, Yi L wrote: > > > > > static long vfio_iommu_type1_ioctl(void *iommu_data, > > > > > default: > > > > > return -EINVAL; > > > > > } > > > > > + > > > > > + } else if (cmd == VFIO_IOMMU_BIND) { > >

Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-02 Thread Alex Williamson
On Sun, 22 Mar 2020 05:32:03 -0700 "Liu, Yi L" wrote: > From: Liu Yi L > > VFIO_TYPE1_NESTING_IOMMU is an IOMMU type which is backed by hardware > IOMMUs that have nesting DMA translation (a.k.a dual stage address > translation). For such hardware IOMMUs, there are two stages/levels of >

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-02 Thread Liu, Yi L
> From: Tian, Kevin > Sent: Thursday, April 2, 2020 10:12 AM > To: Liu, Yi L ; alex.william...@redhat.com; > Subject: RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > > From: Liu, Yi L > > Sent: Wednesday, April 1, 2020 5:13 PM > > > >

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-01 Thread Tian, Kevin
> From: Liu, Yi L > Sent: Wednesday, April 1, 2020 5:13 PM > > > From: Tian, Kevin > > Sent: Monday, March 30, 2020 8:46 PM > > Subject: RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > > > > From: Liu, Yi L > > > Sent: Sunday

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-04-01 Thread Liu, Yi L
> From: Tian, Kevin > Sent: Monday, March 30, 2020 8:46 PM > Subject: RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host > > > From: Liu, Yi L > > Sent: Sunday, March 22, 2020 8:32 PM > > > > From: Liu Yi L > > > > VFIO_TYPE

RE: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-03-30 Thread Tian, Kevin
> From: Liu, Yi L > Sent: Sunday, March 22, 2020 8:32 PM > > From: Liu Yi L > > VFIO_TYPE1_NESTING_IOMMU is an IOMMU type which is backed by > hardware > IOMMUs that have nesting DMA translation (a.k.a dual stage address > translation). For such hardware IOMMUs, there are two stages/levels of

Re: [PATCH v1 6/8] vfio/type1: Bind guest page tables to host

2020-03-22 Thread kbuild test robot
Hi Yi, Thank you for the patch! Yet something to improve: [auto build test ERROR on vfio/next] [also build test ERROR on v5.6-rc6 next-20200320] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to