aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2018-02-20 20:25:04 +0000
committerJoerg Roedel <[email protected]>2018-03-15 15:11:56 +0100
commit1a4e90f25b2ceca3152efa6f7a9e0565c52e34c1 (patch)
tree28cf9cbade8a45f9eb65841278a0e8b888d7c7da /tools/perf/util/c++/clang.cpp
parent0c8efd610b58cb23cefdfa12015799079aef94ae (diff)
iommu/rockchip: Perform a reset on shutdown
Trying to do a kexec whilst the iommus are still on is proving to be a challenging exercise. It is terribly unsafe, as we're reusing the memory allocated for the page tables, leading to a likely crash. Let's implement a shutdown method that will at least try to stop DMA from going crazy behind our back. Note that we need to be extra cautious when doing so, as the IOMMU may not be clocked if controlled by a another master, as typical on Rockchip system. Suggested-by: Robin Murphy <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Robin Murphy <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions