summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-04-04 23:47:23 +0300
committerJoerg Roedel <jroedel@suse.de>2022-04-28 11:26:49 +0300
commitf316ba0a8814f4c91e80a435da3421baf0ddd24c (patch)
tree96020ff2404bdc73f761c2b3fa52566c8b9d954f /tools/perf/scripts/python/stackcollapse.py
parent121660bba631104154b7c15e88f208c48c8c3297 (diff)
downloadlinux-f316ba0a8814f4c91e80a435da3421baf0ddd24c.tar.xz
dma-iommu: Check that swiotlb is active before trying to use it
If the IOMMU is in use and an untrusted device is connected to an external facing port but the address requested isn't page aligned will cause the kernel to attempt to use bounce buffers. If for some reason the bounce buffers have not been allocated this is a problem that should be made apparent to the user. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20220404204723.9767-3-mario.limonciello@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions