Next in thread → Next in month →

Re: [virtio-dev] Re: [PATCH v2] virtio-i2c: add the device specification

From
Paolo Bonzini <>
Date
2020-10-31T13:59:06+00:00
ID
Thread
Re: [virtio-dev] Re: [PATCH v2] virtio-i2c: add the device specification
On 27/10/20 12:20, Michael S. Tsirkin wrote:
>> The I2C doesn't support segments numbering and sorting.
>> So if one creates a multi-segment transaction, then he/she should keep the
>> segments in order.
>>
>> Thanks.
> Fine, but I see no flags to signal start/end of such a transaction.
> 

In theory there's no difference between one multi-segment transaction
and many single-segment transactions _in a single-master scenario_.

However, it is a plausible configuration to have multiple guests sharing
an I2C host device as if they were multiple master.

For this reason, I would prefer to have at least support for
transactions with 1 write and 1 read segment to the same address (see my
other message).

Paolo
Next in thread → Next in month →