[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023101739-heftiness-reproach-ef96@gregkh>
Date: Tue, 17 Oct 2023 15:20:48 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Ekansh Gupta <quic_ekangupt@...cinc.com>
Cc: srinivas.kandagatla@...aro.org, linux-arm-msm@...r.kernel.org,
ekangupt@....qualcomm.com, linux-kernel@...r.kernel.org,
fastrpc.upstream@....qualcomm.com
Subject: Re: [PATCH v4 4/5] misc: fastrpc: Add support to save and restore
interrupted
On Tue, Oct 17, 2023 at 02:56:38PM +0530, Ekansh Gupta wrote:
> For any remote call, driver sends a message to DSP using RPMSG
> framework. After message is sent, there is a wait on a completion
> object at driver which is completed when DSP response is received.
>
> There is a possibility that a signal is received while waiting
> causing the wait function to return -ERESTARTSYS. In this case
> the context should be saved and it should get restored for the
> next invocation for the thread.
>
> Adding changes to support saving and restoring of interrupted
> fastrpc contexts.
>
> Signed-off-by: Ekansh Gupta <quic_ekangupt@...cinc.com>
> Change-Id: Ia101acf7c1bf6018635536082bf7ea009093c948
> ---
> Changes in v2:
> - Fixed missing definition
> - Fixes compile time issue
You forgot to run checkpatch.pl :(
Powered by blists - more mailing lists