summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2026-05-21 11:32:48 -0400
committerVinod Koul <vkoul@kernel.org>2026-06-30 16:42:30 +0530
commitaf900b7dc1e1cdac571ac38e7fee80f1a1776a62 (patch)
treec460a37c6b855485477bbc8ed93e90b384ea38bc /tools/perf/scripts/python/stackcollapse.py
parent796bdb33e86aec8504bf8868e0665f120638ac72 (diff)
dmaengine: Add safe API to combine configuration and preparation
Introduce dmaengine_prep_config_single_safe() and dmaengine_prep_config_sg_safe() to provide a reentrant-safe way to combine slave configuration and transfer preparation. Drivers may implement the new device_prep_config_sg() callback to perform both steps atomically. If the callback is not provided, the helpers fall back to calling dmaengine_slave_config() followed by dmaengine_prep_slave_sg() under per-channel spinlock protection. Tested-by: Niklas Cassel <cassel@kernel.org> Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260521-dma_prep_config-v7-2-1f73f4899883@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions