[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YW8LFTcBuN1bB3PD@ninjato>
Date: Tue, 19 Oct 2021 20:14:45 +0200
From: Wolfram Sang <wsa@...nel.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Greg KH <gregkh@...uxfoundation.org>,
Vincent Whitchurch <vincent.whitchurch@...s.com>,
jie.deng@...el.com, virtualization@...ts.linux-foundation.org,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...s.com
Subject: Re: [PATCH 1/2] i2c: virtio: disable timeout handling
> I think it is set to HZ currently, though I haven't tried big
> transfers but I still get into some issues with Qemu based stuff.
> Maybe we can bump it up to few seconds :)
If you use adapter->timeout, this can even be set at runtime using a
ioctl. So, it can adapt to use cases. Of course, the driver should
initialize it to a sane default if the automatic default (HZ) is not
suitable.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists