diff options
author | Leonardo Bras <leobras.c@gmail.com> | 2021-08-17 03:39:26 -0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-27 00:56:55 +1000 |
commit | a5fd95120c653962a9e75e260a35436b96d2c991 (patch) | |
tree | 13da782c8e60f6611d3a7d6d4a1b5f16c5bfef31 /tools/perf/scripts/python/stackcollapse.py | |
parent | fc8cba8f989fb98e496b33a78476861e246c42a0 (diff) |
powerpc/pseries/iommu: Update remove_dma_window() to accept property name
Update remove_dma_window() so it can be used to remove DDW with a given
property name.
This enables the creation of new property names for DDW, so we can
have different usage for it, like indirect mapping.
Also, add return values to it so we can check if the property was found
while removing the active DDW. This allows skipping the remaining property
names while reducing the impact of multiple property names.
Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210817063929.38701-9-leobras.c@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions