All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] virtio-gpio: Specify character encoding for gpio names
@ 2021-08-19  3:56 Viresh Kumar
  2021-08-19  9:40 ` Stefan Hajnoczi
  2021-08-19 10:30 ` [virtio-dev] " Cornelia Huck
  0 siblings, 2 replies; 3+ messages in thread
From: Viresh Kumar @ 2021-08-19  3:56 UTC (permalink / raw)
  To: Michael S. Tsirkin, Cornelia Huck, Stefan Hajnoczi
  Cc: Viresh Kumar, Vincent Guittot, Arnd Bergmann, Bill Mills,
	Alex Bennée, Enrico Weigelt, metux IT consult,
	Linus Walleij, Bartosz Golaszewski, virtio-dev, stratos-dev

Specify 7-bit ASCII character encoding for GPIO names strings.

Fixes: https://github.com/oasis-tcs/virtio-spec/issues/115
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
V2:
- Use ASCII instead of UTF-8.

 virtio-gpio.tex | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/virtio-gpio.tex b/virtio-gpio.tex
index 5da16d920aa3..3c614ec97b92 100644
--- a/virtio-gpio.tex
+++ b/virtio-gpio.tex
@@ -119,7 +119,8 @@ \subsubsection{requestq Operation: Get Line Names}\label{sec:Device Types / GPIO
 order of the GPIO line numbers. The names of the GPIO lines are optional and may
 be present only for a subset of GPIO lines. If missing, then a zero-byte must be
 present for the GPIO line. If present, the name string must be zero-terminated
-and the name must be unique within a GPIO Device.
+and the name must be unique within a GPIO Device. The names of the GPIO lines
+are encoded in 7-bit ASCII.
 
 These names of the GPIO lines should be most meaningful producer names for the
 system, such as name indicating the usage. For example "MMC-CD", "Red LED Vdd"
-- 
2.31.1.272.g89b43f80a514


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

* Re: [PATCH V2] virtio-gpio: Specify character encoding for gpio names
  2021-08-19  3:56 [PATCH V2] virtio-gpio: Specify character encoding for gpio names Viresh Kumar
@ 2021-08-19  9:40 ` Stefan Hajnoczi
  2021-08-19 10:30 ` [virtio-dev] " Cornelia Huck
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2021-08-19  9:40 UTC (permalink / raw)
  To: Viresh Kumar
  Cc: Michael S. Tsirkin, Cornelia Huck, Vincent Guittot,
	Arnd Bergmann, Bill Mills, Alex Bennée, Enrico Weigelt,
	metux IT consult, Linus Walleij, Bartosz Golaszewski, virtio-dev,
	stratos-dev

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

On Thu, Aug 19, 2021 at 09:26:54AM +0530, Viresh Kumar wrote:
> Specify 7-bit ASCII character encoding for GPIO names strings.
> 
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/115
> Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> V2:
> - Use ASCII instead of UTF-8.
> 
>  virtio-gpio.tex | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Looks good, thank you. Let's vote again.

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [virtio-dev] Re: [PATCH V2] virtio-gpio: Specify character encoding for gpio names
  2021-08-19  3:56 [PATCH V2] virtio-gpio: Specify character encoding for gpio names Viresh Kumar
  2021-08-19  9:40 ` Stefan Hajnoczi
@ 2021-08-19 10:30 ` Cornelia Huck
  1 sibling, 0 replies; 3+ messages in thread
From: Cornelia Huck @ 2021-08-19 10:30 UTC (permalink / raw)
  To: Viresh Kumar, Michael S. Tsirkin, Stefan Hajnoczi
  Cc: Viresh Kumar, Vincent Guittot, Arnd Bergmann, Bill Mills,
	Alex Bennée, Enrico Weigelt, metux IT consult,
	Linus Walleij, Bartosz Golaszewski, virtio-dev, stratos-dev

On Thu, Aug 19 2021, Viresh Kumar <viresh.kumar@linaro.org> wrote:

> Specify 7-bit ASCII character encoding for GPIO names strings.
>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/115
> Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> V2:
> - Use ASCII instead of UTF-8.
>
>  virtio-gpio.tex | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Cornelia Huck <cohuck@redhat.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


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

end of thread, other threads:[~2021-08-19 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  3:56 [PATCH V2] virtio-gpio: Specify character encoding for gpio names Viresh Kumar
2021-08-19  9:40 ` Stefan Hajnoczi
2021-08-19 10:30 ` [virtio-dev] " Cornelia Huck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.