[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230522103238.31e17e5d@xps-13>
Date: Mon, 22 May 2023 10:32:38 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Clark Wang <xiaoning.wang@....com>
Cc: conor.culhane@...vaco.com, alexandre.belloni@...tlin.com,
linux-i3c@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i3c: master: svc: fix cpu schedule in spin lock
Hi Clark,
xiaoning.wang@....com wrote on Wed, 17 May 2023 11:30:29 +0800:
> pm_runtime_resume_and_get() may call sleep(). It cannot be used in
> svc_i3c_master_start_xfer_locked(), because it is in a spin lock.
>
> Move the pm runtime operations to svc_i3c_master_enqueue_xfer().
>
> Signed-off-by: Clark Wang <xiaoning.wang@....com>
> Fixes: 05be23ef78f7 ("i3c: master: svc: add runtime pm support")
Reviewed-by: Miquel Raynal <miquel.raynal@...tlin.com>
Thanks,
Miquèl
Powered by blists - more mailing lists