All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-comment] [PATCH] virtio-ccw: relax device requirement for revision-specific command rejection
@ 2021-02-16 10:47 Cornelia Huck
  2021-02-16 14:42 ` [virtio-comment] " Halil Pasic
  0 siblings, 1 reply; 2+ messages in thread
From: Cornelia Huck @ 2021-02-16 10:47 UTC (permalink / raw)
  To: virtio-comment; +Cc: Halil Pasic, Cornelia Huck

The device is currently required to reject any command that is
not contained in the negotiated revision. Some implementations
did not actively check for the revision when processing a command;
retroactively changing these implementations can break existing
drivers.

Relaxing the rejection requirement to SHOULD makes these existing
device implementations compliant, and will not have any effect on
drivers that did not send any commands for wrong revisions.

Fixes: https://github.com/oasis-tcs/virtio-spec/issues/96

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
---
 content.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content.tex b/content.tex
index 835f1ea5ebaa..b72bad0dddaa 100644
--- a/content.tex
+++ b/content.tex
@@ -2396,7 +2396,7 @@ \subsubsection{Setting the Virtio Revision}\label{sec:Virtio Transport Options /
 and \field{data}, it MUST post a unit check with command reject as well. A
 non-transitional device MUST reject revision id 0.
 
-A device MUST answer with command reject to any virtio-ccw specific
+A device SHOULD answer with command reject to any virtio-ccw specific
 channel command that is not contained in the revision selected by the
 driver.
 
-- 
2.26.2


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 related	[flat|nested] 2+ messages in thread

* [virtio-comment] Re: [PATCH] virtio-ccw: relax device requirement for revision-specific command rejection
  2021-02-16 10:47 [virtio-comment] [PATCH] virtio-ccw: relax device requirement for revision-specific command rejection Cornelia Huck
@ 2021-02-16 14:42 ` Halil Pasic
  0 siblings, 0 replies; 2+ messages in thread
From: Halil Pasic @ 2021-02-16 14:42 UTC (permalink / raw)
  To: Cornelia Huck; +Cc: virtio-comment

On Tue, 16 Feb 2021 11:47:28 +0100
Cornelia Huck <cohuck@redhat.com> wrote:

> The device is currently required to reject any command that is
> not contained in the negotiated revision. Some implementations
> did not actively check for the revision when processing a command;
> retroactively changing these implementations can break existing
> drivers.
> 
> Relaxing the rejection requirement to SHOULD makes these existing
> device implementations compliant, and will not have any effect on
> drivers that did not send any commands for wrong revisions.
> 
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/96
> 
> Signed-off-by: Cornelia Huck <cohuck@redhat.com>

Reviewed-by: Halil Pasic <pasic@linux.ibm.com>

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] 2+ messages in thread

end of thread, other threads:[~2021-02-16 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 10:47 [virtio-comment] [PATCH] virtio-ccw: relax device requirement for revision-specific command rejection Cornelia Huck
2021-02-16 14:42 ` [virtio-comment] " Halil Pasic

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.