[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <n26mc4qkgm452stvcsp3kf3hu7lbqsme2wnqaqclsxrmppqenb@4ofu6juzjusn>
Date: Mon, 14 Jul 2025 23:21:12 +0200
From: Andi Shyti <andi.shyti@...nel.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: "Chen, Jian Jun" <jian.jun.chen@...el.com>,
Vincent Guittot <vincent.guittot@...aro.org>, linux-i2c@...r.kernel.org, virtualization@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: virtio: Avoid hang by using interruptible
completion wait
Hi Viresh,
On Thu, Jul 03, 2025 at 05:01:02PM +0530, Viresh Kumar wrote:
> The current implementation uses wait_for_completion(), which can cause
> the caller to hang indefinitely if the transfer never completes.
>
> Switch to wait_for_completion_interruptible() so that the operation can
> be interrupted by signals.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
merged to i2c/i2c-host-fixes.
Thanks,
Andi
Powered by blists - more mailing lists