From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Viresh Kumar Subject: [PATCH V6 0/2] virtio: i2c: Allow zero-length transactions Date: Wed, 13 Oct 2021 16:34:05 +0530 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" To: "Michael S. Tsirkin" , Cornelia Huck , Jie Deng , Wolfram Sang , Paolo Bonzini Cc: Viresh Kumar , Vincent Guittot , Jason Wang , Bill Mills , =?UTF-8?q?Alex=20Benn=C3=A9e?= , virtio-dev@lists.oasis-open.org, stratos-dev@op-lists.linaro.org, Gerd Hoffmann , Arnd Bergmann List-ID: Hi, This patchset simplifies the protocol and allows zero-length transactions, which are required to support stuff like: i2cdetect -q , which issues a zero-length SMBus Quick command. V5->V6: - s/SMBus Quick/the SMBus "Quick" command/ - Add a footnote and reword/rearrange few parts for more clarity. V4->V5: - Split into two patches. V3->V4: - Add a new mandatory feature flag. V2->V3: - Add conformance clauses that require that the flag is consistent with the buffer. V1->V2: - Name the buffer-less request as zero-length request. -- Viresh Viresh Kumar (2): virtio: i2c: No need to have separate read-write buffers virtio: i2c: Allow zero-length transactions virtio-i2c.tex | 90 +++++++++++++++++++++++++++++++------------------- 1 file changed, 56 insertions(+), 34 deletions(-) -- 2.31.1.272.g89b43f80a514