aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAmelie Delaunay <[email protected]>2022-03-30 12:36:45 +0200
committerVinod Koul <[email protected]>2022-04-11 18:58:19 +0530
commitec834f1cc7cf471b090bb0a6ee077a7bb90a3549 (patch)
tree58dccce34c99b7c5f7eadbdb8df198f139746ab4 /tools/perf/scripts/python/sched-migration.py
parent105989311442e4d74a0226e555503dd57aa1e896 (diff)
dmaengine: stm32-mdma: check the channel availability (secure or not)
STM32_MDMA_CCR bit[8] is used to enable Secure Mode (SM). If this bit is set, it means that all the channel registers are write-protected. So the channel is not available for Linux use. Add stm32_mdma_filter_fn() callback filter and give it to __dma_request_chan (instead of dma_get_any_slave_channel()), to exclude the channel if it is marked Secure. Signed-off-by: Amelie Delaunay <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions