diff options
author | Leonardo Bras <[email protected]> | 2021-08-17 03:39:23 -0300 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-08-27 00:56:55 +1000 |
commit | 2ca73c54ce24489518a56d816331b774044c2445 (patch) | |
tree | e034fd023d6bd28f2a001bf24d5fda9b95d84bd2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 92a23219299cedde52e3298788484f4875d5ce0f (diff) |
powerpc/pseries/iommu: Allow DDW windows starting at 0x00
enable_ddw() currently returns the address of the DMA window, which is
considered invalid if has the value 0x00.
Also, it only considers valid an address returned from find_existing_ddw
if it's not 0x00.
Changing this behavior makes sense, given the users of enable_ddw() only
need to know if direct mapping is possible. It can also allow a DMA window
starting at 0x00 to be used.
This will be helpful for using a DDW with indirect mapping, as the window
address will be different than 0x00, but it will not map the whole
partition.
Signed-off-by: Leonardo Bras <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions