From: Cornelia Huck <cohuck@redhat.com>
To: Haixu Cui <quic_haixcui@quicinc.com>,
virtio-dev@lists.oasis-open.org,
virtio-comment@lists.oasis-open.org
Cc: Haixu Cui <quic_haixcui@quicinc.com>, quic_ztu@quicinc.com
Subject: [virtio-dev] Re: [PATCH] virtio-spi: add the device specification
Date: Mon, 27 Mar 2023 13:35:45 +0200 [thread overview]
Message-ID: <87355qs9ym.fsf@redhat.com> (raw)
In-Reply-To: <20230324080806.21229-1-quic_haixcui@quicinc.com>
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.)
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
next prev parent reply other threads:[~2023-03-27 11:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-24 8:08 [virtio-dev] [PATCH] virtio-spi: add the device specification Haixu Cui
2023-03-27 11:35 ` Cornelia Huck [this message]
2023-04-17 14:19 ` [virtio-dev] " Haixu Cui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87355qs9ym.fsf@redhat.com \
--to=cohuck@redhat.com \
--cc=quic_haixcui@quicinc.com \
--cc=quic_ztu@quicinc.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox