Messages in this thread | | | Date | Thu, 31 Aug 2023 10:45:17 +0800 | Subject | Re: [PATCH v2 3/5] mm: Add structure to keep sva information | From | Baolu Lu <> |
| |
On 2023/8/27 16:43, Tina Zhang wrote: > Introduce iommu_mm_data structure to keep sva information (pasid and the > related sva domains). Add iommu_mm pointer, pointing to an instance of > iommu_mm_data structure, to mm. > > Signed-off-by: Tina Zhang<tina.zhang@intel.com> > --- > include/linux/iommu.h | 5 +++++ > include/linux/mm_types.h | 2 ++ > 2 files changed, 7 insertions(+)
Nit:
iommu also has a per-device private pointer, it's defined as struct dev_iommu and stored at dev->iommu. Is it valuable to align both?
Best regards, baolu
| |