summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-12-19 15:03:43 +0300
committerJoerg Roedel <jroedel@suse.de>2019-12-23 16:06:05 +0300
commit4312cf7f16c8d43e154bf2a6eea6d1e9347c922c (patch)
tree8bdde98ecc35de251d4283d80f1006067f71a3ff /tools/perf/scripts/python/stackcollapse.py
parent386dce2788eef626aaaa6a3ca32809ea7904581b (diff)
downloadlinux-4312cf7f16c8d43e154bf2a6eea6d1e9347c922c.tar.xz
drivers/iommu: Allow IOMMU bus ops to be unregistered
'bus_set_iommu()' allows IOMMU drivers to register their ops for a given bus type. Unfortunately, it then doesn't allow them to be removed, which is necessary for modular drivers to shutdown cleanly so that they can be reloaded later on. Allow 'bus_set_iommu()' to take a NULL 'ops' argument, which clear the ops pointer for the selected bus_type. Signed-off-by: Will Deacon <will@kernel.org> Tested-by: John Garry <john.garry@huawei.com> # smmu v3 Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions