Re: [PATCH v5 1/7] iommu: Generalize default PCIe requester ID PASID

From: Jacob Pan
Date: Tue May 09 2023 - 16:35:23 EST


Hi Kevin,

On Fri, 5 May 2023 08:28:13 +0000, "Tian, Kevin" <kevin.tian@xxxxxxxxx>
wrote:

> > > >
> > > > By having a common RID_PASID, we can avoid conflicts between
> > > > different use cases in the generic code. e.g. SVA and DMA API with
> > > > PASIDs.
> > >
> > > You intend it to be generic but in the end only vt-d driver is changed
> > > to use it in this series...
> > change for SVA is in the patch.
>
> My point was that since it is common why there is no change in arm-smmu
> driver to use the common macro?
Got it, I will include changes to SSID 0 in smmu code.

Thanks,

Jacob