Re: [virtio-comment] Re: [PATCH] Reserve device id for GPIO device

From
Viresh Kumar <>
Date
2021-06-04T03:33:51+00:00
ID
20210604033344.c2tnt7upv7y3soaq@vireshk-i7
Thread
Re: [virtio-comment] Re: [PATCH] Reserve device id for GPIO device
On 04-06-21, 10:28, Jie Deng wrote:
> Has anyone ever tried to use GPIO in the guest to generate waveform ?

I haven't tried the code yet, I just started where Enrico left
earlier. Done with Id allocation and specs (yes reviews pending), will
be looking into kernel now.

> When the frequency reaches a certain level, the waveform will become
> inaccurate
> due to the delay and uncertainty of the communication time between virtio
> frontend
> and backend. I'm not sure if any good solution for this case.

This is expected I would say. The interface is going to be slow and at
some frequency it will break the waveform.

-- 
viresh