diff options
author | 2024-06-24 12:38:58 +0000 | |
---|---|---|
committer | 2024-06-28 17:03:39 +1000 | |
commit | 4ba2fdff2eb174114786784926d0efb6903c88a6 (patch) | |
tree | 0881e5881d6ab2201aa5d9cb65fc17499e22f469 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | powerpc/pseries/iommu: Use the iommu table[0] for IOV VF's DDW (diff) | |
download | wireguard-linux-4ba2fdff2eb174114786784926d0efb6903c88a6.tar.xz wireguard-linux-4ba2fdff2eb174114786784926d0efb6903c88a6.zip |
vfio/spapr: Always clear TCEs before unsetting the window
The PAPR expects the TCE table to have no entries at the time of
unset window(i.e. remove-pe). The TCE clear right now is done
before freeing the iommu table. On pSeries, the unset window
makes those entries inaccessible to the OS and the H_PUT/GET calls
fail on them with H_CONSTRAINED.
On PowerNV, this has no side effect as the TCE clear can be done
before the DMA window removal as well.
Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/171923273535.1397.1236742071894414895.stgit@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions