Home
last modified time | relevance | path

Searched hist:"206484303892 a2a36c0c3414030ddfef658a4e70" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/
H A Dfastrpc.cdiff 206484303892a2a36c0c3414030ddfef658a4e70 Fri Oct 13 07:20:05 CDT 2023 Ekansh Gupta <quic_ekangupt@quicinc.com> misc: fastrpc: Free DMA handles for RPC calls with no arguments

The FDs for DMA handles to be freed is updated in fdlist by DSP over
a remote call. This holds true even for remote calls with no
arguments. To handle this, get_args and put_args are needed to
be called for remote calls with no arguments also as fdlist
is allocated in get_args and FDs updated in fdlist is freed
in put_args.

Fixes: 8f6c1d8c4f0c ("misc: fastrpc: Add fdlist implementation")
Cc: stable <stable@kernel.org>
Signed-off-by: Ekansh Gupta <quic_ekangupt@quicinc.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20231013122007.174464-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>