[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220414171947.GB698343@p14s>
Date: Thu, 14 Apr 2022 11:19:47 -0600
From: Mathieu Poirier <mathieu.poirier@...aro.org>
To: Shengjiu Wang <shengjiu.wang@....com>
Cc: bjorn.andersson@...aro.org, linux-remoteproc@...r.kernel.org,
linux-kernel@...r.kernel.org, shengjiu.wang@...il.com
Subject: Re: [PATCH v2 0/2] remoteproc: core: fix issue for multi-instance
On Mon, Mar 28, 2022 at 10:20:10AM +0800, Shengjiu Wang wrote:
> Use the rproc->power reference count to handle the multi-instance
> case, move the state checking for 'stop' and 'detach' under
> mutex protection, and remove state checking for 'start'.
>
> Shengjiu Wang (2):
> remoteproc: core: Remove state checking before calling rproc_boot()
> remoteproc: core: Move state checking to remoteproc_core
>
> changes in v2:
> - drop 'remoteproc: core: check rproc->power value before decreasing it'
> - refine 'remoteproc: core: Remove state checking before changing state'
> split it to two new patches.
>
> drivers/remoteproc/remoteproc_cdev.c | 11 -----------
> drivers/remoteproc/remoteproc_core.c | 11 +++++++++++
> drivers/remoteproc/remoteproc_sysfs.c | 11 -----------
> 3 files changed, 11 insertions(+), 22 deletions(-)
>
I have applied this set.
Thanks,
Mathieu
> --
> 2.17.1
>
Powered by blists - more mailing lists