On 07-06-21, 13:25, Jason Wang wrote:
> The spec define some general features and it also allow device to implement
> its own features.
>
> I guess in this case, it might be just a feature like VIRTIO_GPIO_F_BULK?
Oh yes, it makes sense. So we don't really need a _version_ here, but
can just keep on adding more and more features.
> I'm not familiar with GPIO, but a question is, consider we have virtqueue,
> so actually bulking is already supported?
Virtqueue is there yes, but we don't have operations here yet (in this
version of the spec) which support setting 10 GPIO pins in output mode
with a single request from driver to device.
I think Enrico was looking to have a way to add provision for such
operations later on if required.
And the features will make that work. Thanks Jason.
--
viresh