diff options
author | Leonardo Bras <[email protected]> | 2021-03-18 14:44:17 -0300 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-04-23 12:54:58 +1000 |
commit | fc5590fd56c9608f317729b59a56dad2a75d633f (patch) | |
tree | 6532e998bd0ec038e3fc4aedaa8c46d6fd7ae54e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3c0468d4451eb6b4f6604370639f163f9637a479 (diff) |
powerpc/kernel/iommu: Use largepool as a last resort when !largealloc
As of today, doing iommu_range_alloc() only for !largealloc (npages <= 15)
will only be able to use 3/4 of the available pages, given pages on
largepool not being available for !largealloc.
This could mean some drivers not being able to fully use all the available
pages for the DMA window.
Add pages on largepool as a last resort for !largealloc, making all pages
of the DMA window available.
Signed-off-by: Leonardo Bras <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions