Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH 1/1] powerpc/kernel/iommu: Align size for IOMMU_PAGE_SIZE() to save TCEs | Date | Fri, 30 Apr 2021 00:01:25 +1000 |
| |
On Thu, 18 Mar 2021 14:44:14 -0300, Leonardo Bras wrote: > Currently both iommu_alloc_coherent() and iommu_free_coherent() align the > desired allocation size to PAGE_SIZE, and gets system pages and IOMMU > mappings (TCEs) for that value. > > When IOMMU_PAGE_SIZE < PAGE_SIZE, this behavior may cause unnecessary > TCEs to be created for mapping the whole system page. > > [...]
Applied to powerpc/next.
[1/1] powerpc/kernel/iommu: Align size for IOMMU_PAGE_SIZE() to save TCEs https://git.kernel.org/powerpc/c/3c0468d4451eb6b4f6604370639f163f9637a479
cheers
| |