[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 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.