* [PATCH] introduction: Clarify RFC 2119 key words usage
@ 2025-06-27 4:19 Parav Pandit
2025-06-27 7:47 ` Matias Ezequiel Vara Larsen
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Parav Pandit @ 2025-06-27 4:19 UTC (permalink / raw)
To: virtio-comment, mst, cohuck, mvaralar; +Cc: shahafs, Parav Pandit
RFC 2119 key words should be used in Requirements and Conformance
sections; these key words to be avoided in rest of the sections.
The motivations for such clarity are:
1. To clarify the intent:
These key words carry precise semantic weight. When a spec says MUST,
it means compliance is not optional. Using such terms in general or
explanatory text risks misinterpreting guidance as a requirement.
2. Avoiding Ambiguity:
If normative language is used in non-normative (informative) sections,
it becomes unclear whether the reader is required to follow it or
if it's just background or suggestion.
3. Informative sections explain context, rationale, or examples.
Normative sections define rules. Mixing the two muddies the structure
and weakens the authority of the normative part.
Fixes: https://github.com/oasis-tcs/virtio-spec/issues/230
Signed-off-by: Parav Pandit <parav@nvidia.com>
---
introduction.tex | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/introduction.tex b/introduction.tex
index 80aa67a..4e7ab59 100644
--- a/introduction.tex
+++ b/introduction.tex
@@ -196,7 +196,10 @@ \section{Terminology}\label{Terminology}
``SHOULD'', ``SHOULD NOT'', ``RECOMMENDED'', ``NOT RECOMMENDED'', ``MAY'', and
``OPTIONAL'' in this document are to be interpreted as described in
\hyperref[intro:rfc2119]{[RFC2119]} and \hyperref[intro:rfc8174]{[RFC8174]} when,
-and only when, they appear in all capitals, as shown here.
+and only when, they appear in all capitals, as shown here. The use of these
+key words is recommended in the Requirements and Conformance sections and should
+be avoided in other sections.
+
\subsection{Legacy Interface: Terminology}\label{intro:Legacy
Interface: Terminology}
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] introduction: Clarify RFC 2119 key words usage
2025-06-27 4:19 [PATCH] introduction: Clarify RFC 2119 key words usage Parav Pandit
@ 2025-06-27 7:47 ` Matias Ezequiel Vara Larsen
2025-06-27 8:29 ` Cornelia Huck
2025-06-27 11:53 ` Michael S. Tsirkin
2 siblings, 0 replies; 5+ messages in thread
From: Matias Ezequiel Vara Larsen @ 2025-06-27 7:47 UTC (permalink / raw)
To: Parav Pandit; +Cc: virtio-comment, mst, cohuck, shahafs
On Fri, Jun 27, 2025 at 07:19:54AM +0300, Parav Pandit wrote:
> RFC 2119 key words should be used in Requirements and Conformance
> sections; these key words to be avoided in rest of the sections.
>
> The motivations for such clarity are:
>
> 1. To clarify the intent:
> These key words carry precise semantic weight. When a spec says MUST,
> it means compliance is not optional. Using such terms in general or
> explanatory text risks misinterpreting guidance as a requirement.
>
> 2. Avoiding Ambiguity:
> If normative language is used in non-normative (informative) sections,
> it becomes unclear whether the reader is required to follow it or
> if it's just background or suggestion.
>
> 3. Informative sections explain context, rationale, or examples.
> Normative sections define rules. Mixing the two muddies the structure
> and weakens the authority of the normative part.
>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/230
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> ---
> introduction.tex | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] introduction: Clarify RFC 2119 key words usage
2025-06-27 4:19 [PATCH] introduction: Clarify RFC 2119 key words usage Parav Pandit
2025-06-27 7:47 ` Matias Ezequiel Vara Larsen
@ 2025-06-27 8:29 ` Cornelia Huck
2025-06-27 11:53 ` Michael S. Tsirkin
2 siblings, 0 replies; 5+ messages in thread
From: Cornelia Huck @ 2025-06-27 8:29 UTC (permalink / raw)
To: Parav Pandit, virtio-comment, mst, mvaralar; +Cc: shahafs, Parav Pandit
On Fri, Jun 27 2025, Parav Pandit <parav@nvidia.com> wrote:
> RFC 2119 key words should be used in Requirements and Conformance
> sections; these key words to be avoided in rest of the sections.
>
> The motivations for such clarity are:
>
> 1. To clarify the intent:
> These key words carry precise semantic weight. When a spec says MUST,
> it means compliance is not optional. Using such terms in general or
> explanatory text risks misinterpreting guidance as a requirement.
>
> 2. Avoiding Ambiguity:
> If normative language is used in non-normative (informative) sections,
> it becomes unclear whether the reader is required to follow it or
> if it's just background or suggestion.
>
> 3. Informative sections explain context, rationale, or examples.
> Normative sections define rules. Mixing the two muddies the structure
> and weakens the authority of the normative part.
>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/230
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> ---
> introduction.tex | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] introduction: Clarify RFC 2119 key words usage
2025-06-27 4:19 [PATCH] introduction: Clarify RFC 2119 key words usage Parav Pandit
2025-06-27 7:47 ` Matias Ezequiel Vara Larsen
2025-06-27 8:29 ` Cornelia Huck
@ 2025-06-27 11:53 ` Michael S. Tsirkin
2025-06-27 12:16 ` Parav Pandit
2 siblings, 1 reply; 5+ messages in thread
From: Michael S. Tsirkin @ 2025-06-27 11:53 UTC (permalink / raw)
To: Parav Pandit; +Cc: virtio-comment, cohuck, mvaralar, shahafs
On Fri, Jun 27, 2025 at 07:19:54AM +0300, Parav Pandit wrote:
> RFC 2119 key words should be used in Requirements and Conformance
> sections; these key words to be avoided in rest of the sections.
>
> The motivations for such clarity are:
>
> 1. To clarify the intent:
> These key words carry precise semantic weight. When a spec says MUST,
> it means compliance is not optional. Using such terms in general or
> explanatory text risks misinterpreting guidance as a requirement.
>
> 2. Avoiding Ambiguity:
> If normative language is used in non-normative (informative) sections,
> it becomes unclear whether the reader is required to follow it or
> if it's just background or suggestion.
>
> 3. Informative sections explain context, rationale, or examples.
> Normative sections define rules. Mixing the two muddies the structure
> and weakens the authority of the normative part.
>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/230
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> ---
> introduction.tex | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/introduction.tex b/introduction.tex
> index 80aa67a..4e7ab59 100644
> --- a/introduction.tex
> +++ b/introduction.tex
> @@ -196,7 +196,10 @@ \section{Terminology}\label{Terminology}
> ``SHOULD'', ``SHOULD NOT'', ``RECOMMENDED'', ``NOT RECOMMENDED'', ``MAY'', and
> ``OPTIONAL'' in this document are to be interpreted as described in
> \hyperref[intro:rfc2119]{[RFC2119]} and \hyperref[intro:rfc8174]{[RFC8174]} when,
> -and only when, they appear in all capitals, as shown here.
> +and only when, they appear in all capitals, as shown here. The use of these
> +key words is recommended in the Requirements and Conformance sections and should
> +be avoided in other sections.
> +
> \subsection{Legacy Interface: Terminology}\label{intro:Legacy
> Interface: Terminology}
The spec is for the reader, who has nothing to gain from this and will
just be confused. If you want to start a document with suggestions for
contributors, that might be a great idea, and this might belong there.
> --
> 2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: [PATCH] introduction: Clarify RFC 2119 key words usage
2025-06-27 11:53 ` Michael S. Tsirkin
@ 2025-06-27 12:16 ` Parav Pandit
0 siblings, 0 replies; 5+ messages in thread
From: Parav Pandit @ 2025-06-27 12:16 UTC (permalink / raw)
To: Michael S. Tsirkin
Cc: virtio-comment@lists.linux.dev, cohuck@redhat.com,
mvaralar@redhat.com, Shahaf Shuler
> From: Michael S. Tsirkin <mst@redhat.com>
> Sent: 27 June 2025 05:23 PM
>
> On Fri, Jun 27, 2025 at 07:19:54AM +0300, Parav Pandit wrote:
> > RFC 2119 key words should be used in Requirements and Conformance
> > sections; these key words to be avoided in rest of the sections.
> >
> > The motivations for such clarity are:
> >
> > 1. To clarify the intent:
> > These key words carry precise semantic weight. When a spec says MUST,
> > it means compliance is not optional. Using such terms in general or
> > explanatory text risks misinterpreting guidance as a requirement.
> >
> > 2. Avoiding Ambiguity:
> > If normative language is used in non-normative (informative) sections,
> > it becomes unclear whether the reader is required to follow it or if
> > it's just background or suggestion.
> >
> > 3. Informative sections explain context, rationale, or examples.
> > Normative sections define rules. Mixing the two muddies the structure
> > and weakens the authority of the normative part.
> >
> > Fixes: https://github.com/oasis-tcs/virtio-spec/issues/230
> > Signed-off-by: Parav Pandit <parav@nvidia.com>
> > ---
> > introduction.tex | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/introduction.tex b/introduction.tex index
> > 80aa67a..4e7ab59 100644
> > --- a/introduction.tex
> > +++ b/introduction.tex
> > @@ -196,7 +196,10 @@ \section{Terminology}\label{Terminology}
> > ``SHOULD'', ``SHOULD NOT'', ``RECOMMENDED'', ``NOT RECOMMENDED'',
> > ``MAY'', and ``OPTIONAL'' in this document are to be interpreted as
> > described in \hyperref[intro:rfc2119]{[RFC2119]} and
> > \hyperref[intro:rfc8174]{[RFC8174]} when, -and only when, they appear in
> all capitals, as shown here.
> > +and only when, they appear in all capitals, as shown here. The use of
> > +these key words is recommended in the Requirements and Conformance
> > +sections and should be avoided in other sections.
> > +
> > \subsection{Legacy Interface: Terminology}\label{intro:Legacy
> > Interface: Terminology}
>
>
> The spec is for the reader, who has nothing to gain from this and will just be
> confused. If you want to start a document with suggestions for contributors,
> that might be a great idea, and this might belong there.
>
> > --
> > 2.34.1
Yeah, that contributor's doc is a good idea.
We already have one.
I will just extend https://github.com/oasis-tcs/virtio-spec/blob/master/CONTRIBUTING.md
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-06-27 12:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27 4:19 [PATCH] introduction: Clarify RFC 2119 key words usage Parav Pandit
2025-06-27 7:47 ` Matias Ezequiel Vara Larsen
2025-06-27 8:29 ` Cornelia Huck
2025-06-27 11:53 ` Michael S. Tsirkin
2025-06-27 12:16 ` Parav Pandit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox