Re: [PATCH] remoteproc: qcom: q6v5: Fix a race condition on fatal crash

2018-10-06 Thread Bjorn Andersson
On Mon 01 Oct 07:25 PDT 2018, Sibi Sankar wrote: > Currently with GLINK_SSR enabled each fatal crash results in servicing > a crash from wdog as well. This is due to a race that occurs in setting > the running flag in the shutdown path. Fix this by moving the running > flag to the end of fatal

Re: [PATCH] remoteproc: qcom: q6v5: Fix a race condition on fatal crash

2018-10-06 Thread Bjorn Andersson
On Mon 01 Oct 07:25 PDT 2018, Sibi Sankar wrote: > Currently with GLINK_SSR enabled each fatal crash results in servicing > a crash from wdog as well. This is due to a race that occurs in setting > the running flag in the shutdown path. Fix this by moving the running > flag to the end of fatal

[PATCH] remoteproc: qcom: q6v5: Fix a race condition on fatal crash

2018-10-01 Thread Sibi Sankar
Currently with GLINK_SSR enabled each fatal crash results in servicing a crash from wdog as well. This is due to a race that occurs in setting the running flag in the shutdown path. Fix this by moving the running flag to the end of fatal interrupt handler. Crash Logs: qcom-q6v5-pil

[PATCH] remoteproc: qcom: q6v5: Fix a race condition on fatal crash

2018-10-01 Thread Sibi Sankar
Currently with GLINK_SSR enabled each fatal crash results in servicing a crash from wdog as well. This is due to a race that occurs in setting the running flag in the shutdown path. Fix this by moving the running flag to the end of fatal interrupt handler. Crash Logs: qcom-q6v5-pil