-
由 Lu Baolu 提交于
Use this field to save the number of PASIDs that a device is able to consume. It is a generic attribute of a device and lifting it into the per-device dev_iommu struct could help to avoid the boilerplate code in various IOMMU drivers. Signed-off-by: NLu Baolu <baolu.lu@linux.intel.com> Reviewed-by: NKevin Tian <kevin.tian@intel.com> Reviewed-by: NJason Gunthorpe <jgg@nvidia.com> Reviewed-by: NYi Liu <yi.l.liu@intel.com> Tested-by: NZhangfei Gao <zhangfei.gao@linaro.org> Tested-by: NTony Zhu <tony.zhu@intel.com> Link: https://lore.kernel.org/r/20221031005917.45690-3-baolu.lu@linux.intel.comSigned-off-by: NJoerg Roedel <jroedel@suse.de>
22d2c7af