RE: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-03-03 Thread Liu, Yi L
6] vfio: expose virtual Shared Virtual Addressing to VMs > >>> or would you allow me to embed this patch in my series. > >> > >> My v7 hasn’t touch the prq change yet. So I think it's better for you to > >> embed it to your series. ^_^>> > > &g

Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-02-12 Thread Vivek Kumar Gautam
gt; Can you please let me know if you have an updated series of these patches? It will help me to work with virtio-iommu/arm side changes. As per the previous discussion, I plan to take those 2 patches in my SMMUv3 nested stage series: [PATCH v7 01/16] iommu: Report domain nesting info [PATCH v7

Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-02-12 Thread Vivek Kumar Gautam
eries of these patches? It will help me to work with virtio-iommu/arm side changes. As per the previous discussion, I plan to take those 2 patches in my SMMUv3 nested stage series: [PATCH v7 01/16] iommu: Report domain nesting info [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-02-12 Thread Auger Eric
respin part of >>> [PATCH v7 00/16] vfio: expose virtual Shared Virtual Addressing to VMs >>> or would you allow me to embed this patch in my series. >> >> My v7 hasn’t touch the prq change yet. So I think it's better for you to >> embed it to your series.

Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-02-11 Thread Vivek Gautam
Hi Yi, On Sat, Jan 23, 2021 at 2:29 PM Liu, Yi L wrote: > > Hi Eric, > > > From: Auger Eric > > Sent: Tuesday, January 19, 2021 6:03 PM > > > > Hi Yi, Vivek, > > > [...] > > > I see. I think there needs a change in the code there. Should also expect > > > a nesting_info returned instead of an i

RE: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-01-23 Thread Liu, Yi L
Hi Eric, > From: Auger Eric > Sent: Tuesday, January 19, 2021 6:03 PM > > Hi Yi, Vivek, > [...] > > I see. I think there needs a change in the code there. Should also expect > > a nesting_info returned instead of an int anymore. @Eric, how about your > > opinion? > > > > domain = iommu_get_

Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-01-19 Thread Auger Eric
Hi Yi, Vivek, On 1/13/21 6:56 AM, Liu, Yi L wrote: > Hi Vivek, > >> From: Vivek Gautam >> Sent: Tuesday, January 12, 2021 7:06 PM >> >> Hi Yi, >> >> >> On Tue, Jan 12, 2021 at 2:51 PM Liu, Yi L wrote: >>> >>> Hi Vivek, >>> From: Vivek Gautam Sent: Tuesday, January 12, 2021 2:50 PM >>

RE: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-01-12 Thread Liu, Yi L
Hi Vivek, > From: Vivek Gautam > Sent: Tuesday, January 12, 2021 7:06 PM > > Hi Yi, > > > On Tue, Jan 12, 2021 at 2:51 PM Liu, Yi L wrote: > > > > Hi Vivek, > > > > > From: Vivek Gautam > > > Sent: Tuesday, January 12, 2021 2:50 PM > > > > > > Hi Yi, > > > > > > > > > On Thu, Sep 10, 2020 at

Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-01-12 Thread Vivek Gautam
Hi Yi, On Tue, Jan 12, 2021 at 2:51 PM Liu, Yi L wrote: > > Hi Vivek, > > > From: Vivek Gautam > > Sent: Tuesday, January 12, 2021 2:50 PM > > > > Hi Yi, > > > > > > On Thu, Sep 10, 2020 at 4:13 PM Liu Yi L wrote: > > > > > > This patch is added as instead of returning a boolean for > > DOMAIN

RE: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-01-12 Thread Liu, Yi L
Hi Vivek, > From: Vivek Gautam > Sent: Tuesday, January 12, 2021 2:50 PM > > Hi Yi, > > > On Thu, Sep 10, 2020 at 4:13 PM Liu Yi L wrote: > > > > This patch is added as instead of returning a boolean for > DOMAIN_ATTR_NESTING, > > iommu_domain_get_attr() should return an iommu_nesting_info ha

Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2021-01-11 Thread Vivek Gautam
Hi Yi, On Thu, Sep 10, 2020 at 4:13 PM Liu Yi L wrote: > > This patch is added as instead of returning a boolean for DOMAIN_ATTR_NESTING, > iommu_domain_get_attr() should return an iommu_nesting_info handle. For > now, return an empty nesting info struct for now as true nesting is not > yet supp

[PATCH v7 02/16] iommu/smmu: Report empty domain nesting info

2020-09-10 Thread Liu Yi L
This patch is added as instead of returning a boolean for DOMAIN_ATTR_NESTING, iommu_domain_get_attr() should return an iommu_nesting_info handle. For now, return an empty nesting info struct for now as true nesting is not yet supported by the SMMUs. Cc: Will Deacon Cc: Robin Murphy Cc: Eric Aug