[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31a37e24-0044-4987-89a9-d891200592ec@oss.qualcomm.com>
Date: Fri, 12 Sep 2025 16:30:37 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
To: srini@...nel.org, gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, Ling Xu <quic_lxu5@...cinc.com>,
stable@...nel.org, Ekansh Gupta <ekansh.gupta@....qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Subject: Re: [PATCH 1/4] misc: fastrpc: Save actual DMA size in fastrpc_map
structure
On 12/09/2025 16:12, srini@...nel.org wrote:
> From: Ling Xu <quic_lxu5@...cinc.com>
>
> 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@...nel.org
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
> Co-developed-by: Ekansh Gupta <ekansh.gupta@....qualcomm.com>
> Signed-off-by: Ekansh Gupta <ekansh.gupta@....qualcomm.com>
> Signed-off-by: Ling Xu <quic_lxu5@...cinc.com>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> Signed-off-by: Srinivas Kandagatla <srini@...nel.org>
> ---
> drivers/misc/fastrpc.c | 27 ++++++++++++++++++---------
> 1 file changed, 18 insertions(+), 9 deletions(-)
>
Please use correct CC list when sending patches. You've missed several
entries from the MAINTAINERS file.
--
With best wishes
Dmitry
Powered by blists - more mailing lists