Discussion of the implementations of VIRTIO specification
 help / color / mirror / Atom feed
* [PATCH V6 0/2] virtio: i2c: Allow zero-length transactions
@ 2021-10-13 11:04 Viresh Kumar
  2021-10-13 11:04 ` [PATCH V6 1/2] virtio: i2c: No need to have separate read-write buffers Viresh Kumar
  2021-10-13 11:04 ` [PATCH V6 2/2] virtio: i2c: Allow zero-length transactions Viresh Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Viresh Kumar @ 2021-10-13 11:04 UTC (permalink / raw)
  To: Michael S. Tsirkin, Cornelia Huck, Jie Deng, Wolfram Sang,
	Paolo Bonzini
  Cc: Viresh Kumar, Vincent Guittot, Jason Wang, Bill Mills,
	Alex Bennée, virtio-dev, stratos-dev, Gerd Hoffmann,
	Arnd Bergmann

Hi,

This patchset simplifies the protocol and allows zero-length transactions, which
are required to support stuff like: i2cdetect -q <i2c-bus-number>, 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-13 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 11:04 [PATCH V6 0/2] virtio: i2c: Allow zero-length transactions Viresh Kumar
2021-10-13 11:04 ` [PATCH V6 1/2] virtio: i2c: No need to have separate read-write buffers Viresh Kumar
2021-10-13 11:04 ` [PATCH V6 2/2] virtio: i2c: Allow zero-length transactions Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox