On Mon, Sep 09, 2024 at 10:02:02PM +0800, Yi Liu wrote: > However, I have one scalability concern. Do we only have PASID and PRI that > needs to be synthesized by userspace? For PRI, kernel would need to report > Outstanding Page Request Capacity to userspace. If only PASID and PRI cap, > it's fine. But if there are more such caps, then the struct iommu_hw_info > may grow bigger and bigger. I don't see a particular issue with this though? As long as it is well defined and it is clear to userspace when what parts are valid or not it is fine to get pretty big. Jason