summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2026-09-09 12:22:31 -0400
committerVinod Koul <vkoul@kernel.org>2026-09-15 21:54:16 +0530
commit6ad1b49cc30dc9bc7c06dd44241e61fe6f82c0b8 (patch)
tree5f65641c2d29da450fb6addcf4420690550eb2d2 /tools/perf/scripts/python
parent3b97a3ec420542591c10db8600cf481f1038a011 (diff)
downloadlinux-next-6ad1b49cc30dc9bc7c06dd44241e61fe6f82c0b8.tar.gz
linux-next-6ad1b49cc30dc9bc7c06dd44241e61fe6f82c0b8.zip
dmaengine: add union chan_dev for dma_chan::dev for clarity
The current dma_chan structure contains both "device" and "dev". So chan->device->dev refers to the DMA engine device. chan->dev->device refers to the per-channel device instance. Their similar naming makes the distinction unclear and increases reader confusion. Add union dma_chan::chan_dev to make its purpose explicit and clearly identify it as the per-channel device. After all user switch to chan_dev, union and dma_chan::dev will be removed. Update the kernel-doc accordingly. Besides its sysfs usage, the per-channel device is also used by some DMA engine drivers for IOMMU mapping and therefore deserves a more accurate description. No functional change intended. Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260909-dma-chan_dev-rename-v4-4-d8fb6892a70f@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions