> From: Paul Durrant <[email protected]> > Sent: Tuesday, September 15, 2020 4:30 PM > > From: Paul Durrant <[email protected]> > > At the moment iommu_map() and iommu_unmap() take a page order rather > than a > count, whereas iommu_iotlb_flush() takes a page count rather than an order. > This patch makes them consistent with each other, opting for a page count > since > CPU page orders are not necessarily the same as those of an IOMMU. > > NOTE: The 'page_count' parameter is also made an unsigned long in all the > aforementioned functions. > > Signed-off-by: Paul Durrant <[email protected]> > Reviewed-by: Jan Beulich <[email protected]> > Reviewed-by: Julien Grall <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
