* [virtio-comment] Re: [PATCH] virtio-spi: add the device specification
[not found] <20230324080806.21229-1-quic_haixcui@quicinc.com>
@ 2023-03-27 11:35 ` Cornelia Huck
0 siblings, 0 replies; only message in thread
From: Cornelia Huck @ 2023-03-27 11:35 UTC (permalink / raw)
To: Haixu Cui, virtio-dev, virtio-comment; +Cc: Haixu Cui, quic_ztu
On Fri, Mar 24 2023, Haixu Cui <quic_haixcui@quicinc.com> wrote:
> virtio-spi is a virtual SPI master and it allows a guset to operate and
> use the physical SPI master controlled by the host.
Please spell out what SPI is the first time you use it.
Also, please remember to post the separate patch that reserves the ID
for it.
>
> Signed-off-by: Haixu Cui <quic_haixcui@quicinc.com>
> ---
> conformance.tex | 12 +-
> content.tex | 1 +
> device-types/spi/description.tex | 153 ++++++++++++++++++++++++
> device-types/spi/device-conformance.tex | 7 ++
> device-types/spi/driver-conformance.tex | 7 ++
> 5 files changed, 176 insertions(+), 4 deletions(-)
> create mode 100644 device-types/spi/description.tex
> create mode 100644 device-types/spi/device-conformance.tex
> create mode 100644 device-types/spi/driver-conformance.tex
(...)
> diff --git a/device-types/spi/description.tex b/device-types/spi/description.tex
> new file mode 100644
> index 0000000..0b69700
> --- /dev/null
> +++ b/device-types/spi/description.tex
> @@ -0,0 +1,153 @@
> +\section{SPI Master Device}\label{sec:Device Types / SPI Master Device}
> +
> +virtio-spi is a virtual SPI master and it allows a guest to operate and use
> +the physical SPI master devices controlled by the host.
Here as well; it's even more important that the acronym is expanded at
least once in the spec.
Also, does this mean that the device is supposed to be an interface to
physical SPI master devices? It would be good if this could be framed
without guest/host terminology (although this can be used as an
example.) Maybe something like
"The virtio SPI master device is a virtual SPI (Serial Peripheral
Interface) master device, potentially interfacing to another SPI master
device. It allows, for example, for a host to expose access to a
physical SPI master device controlled by the host to a guest."
?
> +
> +In a typical host and guest architecture with Virtio SPI, Virtio SPI driver
> +is the front-end and exists in the guest kernel, Virtio SPI device acts as
> +the back-end and exists in the host. And VirtQueues assist Virtio SPI driver
> +and Virtio SPI device in perform VRing operations for communication between
> +the front-end and the back-end.
I'm not sure I can parse this properly -- does this mean that a
virtqueue is used for communication between a front-end and a back-end?
(Didn't look at the remainder of the patch yet.)
This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.
In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.
Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-27 11:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230324080806.21229-1-quic_haixcui@quicinc.com>
2023-03-27 11:35 ` [virtio-comment] Re: [PATCH] virtio-spi: add the device specification Cornelia Huck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox