> From: Liu, Yi L <yi.l.liu@xxxxxxxxx> > Sent: Monday, November 4, 2024 9:19 PM > > As iommu driver is going to support pasid replacement, the new pasid > replace > helpers need to config the pasid entry as well. Hence, there are quite a few > code to be shared with existing pasid setup helpers. This moves the pasid > config codes into helpers which can be used by existing pasid setup helpers > and the future new pasid replace helpers. hmm probably you can add a link to the discussion which suggested to have separate replace/setup helpers. It's not intuitive to require this if just talking about "to support pasid replacement" > > No functional change is intended. > > Suggested-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>