OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-comment] [PATCH v4] virtio-i2c: add the device specification



On 2020/11/16 16:16, Paolo Bonzini wrote:
On 16/11/20 03:12, Jie Deng wrote:
Fore example, the frontend may kick the sequence "write read read ..." to the backend at a time.

The segments can be aggregated into "i2c_msg list" and sent to the hardware at a time by the backend.

The host native drivers will finally send these segments using the methods they support.

If so, the spec needs to specify what the backend must/should/may aggregate into a single host-side transaction.

What my proposal does is essentially saying that the backend MUST aggregate a write and a read segment into a single transaction if it is sent with a single virtio-i2c request.

Paolo

This may depend on the host hardware. I can add a host feature bit to indicate it.

Thanks.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]