diff options
| author | Matteo Kloiber <kernel@matt3o12.de> | 2026-09-13 23:08:28 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-24 17:22:04 +0200 |
| commit | c15c5befd6d6150e92ab7c6c7fde1088e0f543e6 (patch) | |
| tree | 2ecbc9cd8cd32eab9d45a44e54bc105a35b5c786 /tools/perf/scripts/python/stackcollapse.py | |
| parent | fcbfaffee51a452cc8efcbaa3b88ec4595678424 (diff) | |
| download | linux-next-c15c5befd6d6150e92ab7c6c7fde1088e0f543e6.tar.gz linux-next-c15c5befd6d6150e92ab7c6c7fde1088e0f543e6.zip | |
rust: scatterlist: honor the device's maximum segment size
SGTable::new() caps segment length at dma_max_mapping_size() only, which
limits the DMA mapping path (e.g. swiotlb), not the device itself. The
per-device limit from dma_set_max_seg_size() is ignored, so contiguous
page segments can be longer than the declared max segment size,
potentially causing problems for future drivers that use this
abstraction.
Fixes: 05aa6fb1c21d ("rust: scatterlist: Add abstraction for sg_table")
Signed-off-by: Matteo Kloiber <kernel@matt3o12.de>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260913210828.125655-3-kernel@matt3o12.de
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
