diff options
author | Shivaprasad G Bhat <[email protected]> | 2024-06-24 12:38:58 +0000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-06-28 17:03:39 +1000 |
commit | 4ba2fdff2eb174114786784926d0efb6903c88a6 (patch) | |
tree | 0881e5881d6ab2201aa5d9cb65fc17499e22f469 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | aed6e4946ed9654fc965482b045b84f9b9572bb8 (diff) |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions