Re: [PATCH v8 04/11] iommu: Add sva iommu_domain support

2022-06-19 Thread Baolu Lu
On 2022/6/17 15:43, Tian, Kevin wrote: From: Baolu Lu Sent: Friday, June 10, 2022 3:16 PM +#define __IOMMU_DOMAIN_HOST_VA (1U << 5) /* Host CPU virtual address */ Do you mean general CPU VA? or Host CPU VA, I'm reading the latter as 2nd stage? Host CPU VA. In the near future, we will a

RE: [PATCH v8 04/11] iommu: Add sva iommu_domain support

2022-06-17 Thread Tian, Kevin
> From: Baolu Lu > Sent: Friday, June 10, 2022 3:16 PM > > > >> +#define __IOMMU_DOMAIN_HOST_VA(1U << 5) /* Host CPU virtual > address */ > > > > Do you mean general CPU VA? or Host CPU VA, I'm reading the latter as > 2nd > > stage? > > Host CPU VA. In the near future, we will add another fla

Re: [PATCH v8 04/11] iommu: Add sva iommu_domain support

2022-06-10 Thread Baolu Lu
On 2022/6/10 04:25, Raj, Ashok wrote: Hi Baolu Hi Ashok, some minor nits. Thanks for your comments. On Tue, Jun 07, 2022 at 09:49:35AM +0800, Lu Baolu wrote: The sva iommu_domain represents a hardware pagetable that the IOMMU hardware could use for SVA translation. This adds some infra

Re: [PATCH v8 04/11] iommu: Add sva iommu_domain support

2022-06-09 Thread Raj, Ashok
Hi Baolu some minor nits. On Tue, Jun 07, 2022 at 09:49:35AM +0800, Lu Baolu wrote: > The sva iommu_domain represents a hardware pagetable that the IOMMU > hardware could use for SVA translation. This adds some infrastructure > to support SVA domain in the iommu common layer. It includes: > > -