aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2022-05-04 13:39:58 +0100
committerJoerg Roedel <jroedel@suse.de>2022-05-04 15:13:39 +0200
commit392bf51946c2463436a1ba237c1ec5865b234825 (patch)
tree39ebe565ec6b50fddc321f46bfae3a87e9feee9c /tools
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 <jstancek@redhat.com> Tested-by: Jan Stancek <jstancek@redhat.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/86ada41986988511a8424e84746dfe9ba7f87573.1651667683.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions