diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-10-06 00:40:17 +0200 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-07 12:55:21 +0200 |
| commit | 15728ab23d00b19013a6cf5f8ed28d4f2ee5410a (patch) | |
| tree | e32f074a0c89e8dfaeca70694059e68859de1f7b /tools/perf/scripts/python | |
| parent | 38d97b1122e02f6b8859e660990aaeda1c32e00f (diff) | |
| download | linux-next-15728ab23d00b19013a6cf5f8ed28d4f2ee5410a.tar.gz linux-next-15728ab23d00b19013a6cf5f8ed28d4f2ee5410a.zip | |
dmaengine: ste_dma40: Search all blocks for fixed logical channels
Fixed logical channel allocation scans physical channels in blocks
determined by the event-group layout. When the requested physical channel
does not belong to the first block, d40_allocate_channel() returns -EINVAL
instead of checking later blocks.
Skip nonmatching blocks so controllers with multiple physical-channel
blocks can allocate fixed logical channels from the later blocks.
Fixes: 5cd326fd27da ("dmaengine/ste_dma40: allow fixed physical channel")
Reported-by: sashiko-bot@kernel.org
Closes: https://lore.kernel.org/dmaengine/20260819225008.5F9651F000E9@smtp.kernel.org/
Assisted-by: LLM
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20261006-dma40-fixes-v8-1-b0aadf804793@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
