diff options
| author | Kartik Rajput <kkartik@nvidia.com> | 2026-02-25 12:29:14 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-12 15:06:39 +0100 |
| commit | d925538446d3f80e03a91a9ef7da34104a75df4d (patch) | |
| tree | eaa007da6ac5d8c0a5116f66123e2db8a3dce3e5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a2abd18e316ee2442631f0a60896b49dd8e9a80c (diff) | |
serial: amba-pl011: Respect DMA controller's copy_align requirement
Some DMA controllers require transfer lengths to be aligned to a
specific boundary. For example, the Tegra GPC DMA requires 4-byte
(word) aligned transfers and will reject unaligned lengths.
Align the TX DMA buffer length down to the DMA controller's copy_align
boundary before submitting the transfer. Any remaining unaligned bytes
will be transmitted via PIO on subsequent calls, which is the existing
fallback behavior when DMA is not used.
Signed-off-by: Kartik Rajput <kkartik@nvidia.com>
Link: https://patch.msgid.link/20260225065915.341522-5-kkartik@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
