diff options
| author | Alexey Kardashevskiy <[email protected]> | 2021-10-06 15:47:35 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-10-09 00:15:57 +1100 |
| commit | 3872731187141d5d0a5c4fb30007b8b9ec36a44d (patch) | |
| tree | 27137225324d6bfd83a49cb09a24b028e9fcc246 /tools/perf/scripts/python | |
| parent | e4e737bb5c170df6135a127739a9e6148ee3da82 (diff) | |
powerps/pseries/dma: Add support for 2M IOMMU page size
The upcoming PAPR spec adds a 2M page size, bit 23 right after 16G page
size in the "ibm,query-pe-dma-window" call.
This adds support for the new page size. Since the new page size is out
of sorted order, this changes the loop to not assume that shift[] is
sorted.
This has now been tested and is known to work on a pre-release version
of phyp.
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Reviewed-by: Leonardo Bras <[email protected]>
Reviewed-by: Frederic Barrat <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions