diff options
| author | Leonardo Bras <[email protected]> | 2020-08-05 00:04:53 -0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-09-08 22:57:11 +1000 |
| commit | 80f0251231131d164eddab78d2b6c1b8e37d0093 (patch) | |
| tree | 0ce2434ba36062b03614bf98476e73edce2a79cc /tools/perf/scripts/python/bin | |
| parent | cac3e629086f1b2e31c87a6c9b0130d29843ae86 (diff) | |
powerpc/pseries/iommu: Update call to ibm, query-pe-dma-windows
>From LoPAR level 2.8, "ibm,ddw-extensions" index 3 can make the number of
outputs from "ibm,query-pe-dma-windows" go from 5 to 6.
This change of output size is meant to expand the address size of
largest_available_block PE TCE from 32-bit to 64-bit, which ends up
shifting page_size and migration_capable.
This ends up requiring the update of
ddw_query_response->largest_available_block from u32 to u64, and manually
assigning the values from the buffer into this struct, according to
output size.
Also, a routine was created for helping reading the ddw extensions as
suggested by LoPAR: First reading the size of the extension array from
index 0, checking if the property exists, and then returning it's value.
Signed-off-by: Leonardo Bras <[email protected]>
Tested-by: David Dai <[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/bin')
0 files changed, 0 insertions, 0 deletions