Re: [PATCH RFC v3 04/12] iommu/sva: Basic data structures for SVA

2022-04-12 Thread Lu Baolu
On 2022/4/12 14:56, Tian, Kevin wrote: From: Lu Baolu Sent: Sunday, April 10, 2022 6:25 PM Use below data structures for SVA implementation in the IOMMU core: - struct iommu_sva_ioas Represent the I/O address space shared with an application CPU address space. This structure has a 1:1

Re: [PATCH RFC v3 04/12] iommu/sva: Basic data structures for SVA

2022-04-12 Thread Lu Baolu
On 2022/4/12 14:49, Tian, Kevin wrote: From: Lu Baolu Sent: Sunday, April 10, 2022 6:25 PM Use below data structures for SVA implementation in the IOMMU core: - struct iommu_sva_ioas Represent the I/O address space shared with an application CPU address space. This structure has a 1:1

RE: [PATCH RFC v3 04/12] iommu/sva: Basic data structures for SVA

2022-04-12 Thread Tian, Kevin
> From: Lu Baolu > Sent: Sunday, April 10, 2022 6:25 PM > > Use below data structures for SVA implementation in the IOMMU core: > > - struct iommu_sva_ioas > Represent the I/O address space shared with an application CPU address > space. This structure has a 1:1 relationship with an

RE: [PATCH RFC v3 04/12] iommu/sva: Basic data structures for SVA

2022-04-12 Thread Tian, Kevin
> From: Lu Baolu > Sent: Sunday, April 10, 2022 6:25 PM > > Use below data structures for SVA implementation in the IOMMU core: > > - struct iommu_sva_ioas > Represent the I/O address space shared with an application CPU address > space. This structure has a 1:1 relationship with an

[PATCH RFC v3 04/12] iommu/sva: Basic data structures for SVA

2022-04-10 Thread Lu Baolu
Use below data structures for SVA implementation in the IOMMU core: - struct iommu_sva_ioas Represent the I/O address space shared with an application CPU address space. This structure has a 1:1 relationship with an mm_struct. It graps a "mm->mm_count" refcount during creation and drop it