]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/vt-d: Pass size_order to qi_desc_piotlb() not npages
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 2 Apr 2026 06:57:31 +0000 (14:57 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 2 Apr 2026 07:26:08 +0000 (09:26 +0200)
commite36ee89679f4869c6deffd5392967820464dcbc6
treec7e3d5b0624329380e031712551c6fca2703f3e4
parentb6fd468a052e43fa4e3a00837fbf44a05cc1ca11
iommu/vt-d: Pass size_order to qi_desc_piotlb() not npages

It doesn't make sense for the caller to compute mask, throw it away
and then have qi_desc_piotlb() compute it again.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/2-v1-f175e27af136+11647-iommupt_inv_vtd_jgg@nvidia.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/intel/cache.c
drivers/iommu/intel/iommu.h