Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

From: Viresh Kumar
Date: Wed Mar 24 2021 - 02:45:18 EST


On 24-03-21, 14:41, Jie Deng wrote:
>
> On 2021/3/24 14:09, Viresh Kumar wrote:
> > On 24-03-21, 14:05, Jie Deng wrote:
> > Or, now that I think about it a bit more, another thing we can do here is see if
> > virtqueue_get_buf() returns NULL, if it does then we should keep expecting more
> > messages as it may be early interrupt. What do you say ?
>
> I don't think we really need this because for this device, early interrupt
> is a bad operation
> which should be avoided. I can't think of why this device need to send early
> interrupt, what
> we can do is to clarify that this means loss of the remaining requests. A
> device should never
> do this, if it does then loss is the expected result.

Fair enough.

--
viresh