Re: [PATCH RFC 05/17] iommu: Make iommu_fwspec->ids a distinct allocation

2023-11-13 Thread Jerry Snitselaar
Reviewed-by: Jerry Snitselaar

[PATCH RFC 05/17] iommu: Make iommu_fwspec->ids a distinct allocation

2023-11-03 Thread Jason Gunthorpe
The optimization of kreallocing the entire fwspec only works if the fwspec pointer is always stored in the dev->iommu. Since we want to change this remove the optimization and make the ids array a distinct allocation. Allow a single id to be stored inside the iommu_fwspec as a common case optimiza