aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorRobin Murphy <[email protected]>2022-05-04 13:39:58 +0100
committerJoerg Roedel <[email protected]>2022-05-04 15:13:39 +0200
commit392bf51946c2463436a1ba237c1ec5865b234825 (patch)
tree39ebe565ec6b50fddc321f46bfae3a87e9feee9c /tools/perf/scripts/python/compaction-times.py
parent2ac2fab52917ae82cbca97cf6e5d2993530257ed (diff)
iommu: Make sysfs robust for non-API groups
Groups created by VFIO backends outside the core IOMMU API should never be passed directly into the API itself, however they still expose their standard sysfs attributes, so we can still stumble across them that way. Take care to consider those cases before jumping into our normal assumptions of a fully-initialised core API group. Fixes: 3f6634d997db ("iommu: Use right way to retrieve iommu_ops") Reported-by: Jan Stancek <[email protected]> Tested-by: Jan Stancek <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Robin Murphy <[email protected]> Link: https://lore.kernel.org/r/86ada41986988511a8424e84746dfe9ba7f87573.1651667683.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions