diff options
| author | Ling Xu <quic_lxu5@quicinc.com> | 2025-09-12 16:12:33 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-15 13:00:23 +0300 |
| commit | 35216e41b42fd9ce117a1e7b019a953644c851da (patch) | |
| tree | 661c87e94ec0ed900bc61eb890a957b5aacb2441 /scripts/gdb/linux/interrupts.py | |
| parent | e4a1e3e88160f7d7a2c33e3db8844073ed6eaf97 (diff) | |
| download | linux-35216e41b42fd9ce117a1e7b019a953644c851da.tar.xz | |
misc: fastrpc: Save actual DMA size in fastrpc_map structure
commit 8b5b456222fd604079b5cf2af1f25ad690f54a25 upstream.
For user passed fd buffer, map is created using DMA calls. The
map related information is stored in fastrpc_map structure. The
actual DMA size is not stored in the structure. Store the actual
size of buffer and check it against the user passed size.
Fixes: c68cfb718c8f ("misc: fastrpc: Add support for context Invoke method")
Cc: stable@kernel.org
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Co-developed-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>
Signed-off-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>
Signed-off-by: Ling Xu <quic_lxu5@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://lore.kernel.org/r/20250912131236.303102-2-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions
