content: enhance device requirements for feature bits
PATCH 1/1 content: enhance device requirements for feature bits
--- content.tex | 7 +++++++ 1 file changed, 7 insertions(+)
content.tex +7 -0
@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it. +If a device has successfully negotiated a set of features +at least once (by setting the FEATURES_OK \field{device +status} bit when the driver writes it), then it SHOULD NOT +fail re-negotiation of the same set of features after a +device or system reset. Failure to do so would interfere +with the resuming from suspend and error recovery. + \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
Signature · 6 lines
2.17.0 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 12 lines · On Fri, 8 Jun 2018 14:59:28 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>--- content.tex | 7 +++++++ 1 file changed, 7 insertions(+)content.tex +0
-0
content.tex which was not offered. The device SHOULD accept any valid subset · line 130
Quoted 6 lines
content.tex +3
-0@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it. +If a device has successfully negotiated a set of features +at least once (by setting the FEATURES_OK \field{device +status} bit when the driver writes it), then it SHOULD NOT
Hm, it's the driver that sets FEATURES_OK, not the device. What about "by succeeding to set"?
content.tex which was not offered. The device SHOULD accept any valid subset · line 133
Quoted 3 lines
content.tex +3
-0+fail re-negotiation of the same set of features after a +device or system reset. Failure to do so would interfere +with the resuming from suspend and error recovery.
s/the resuming/resuming/
content.tex which was not offered. The device SHOULD accept any valid subset · line 137
Quoted 4 lines
content.tex +1
-0+ \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 18 lines · Cornelia Huck
Quoted 15 lines · On Fri, 8 Jun 2018 14:59:28 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>--- content.tex | 7 +++++++ 1 file changed, 7 insertions(+)content.tex +0
-0@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it.
Quoted 6 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 130
Quoted 3 lines
content.tex +3
-0+If a device has successfully negotiated a set of features +at least once (by setting the FEATURES_OK \field{device +status} bit when the driver writes it), then it SHOULD NOTHm, it's the driver that sets
FEATURES_OK, not the device. What about "by succeeding to set"?
Cool. It's much better!
Quoted 6 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 133
Quoted 4 lines
content.tex +3
-0+fail re-negotiation of the same set of features after a +device or system reset. Failure to do so would interfere +with the resuming from suspend and error recovery.s/the resuming/resuming/
Got it.
Thank you for the review and suggestions!
Best regards,
Tiwei Bie
Quoted 6 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 137
Quoted 5 lines
content.tex +1
-0+ \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 18 lines · Cornelia Huck
Quoted 15 lines · On Fri, 8 Jun 2018 14:59:28 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>--- content.tex | 7 +++++++ 1 file changed, 7 insertions(+)content.tex +0
-0@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it.
Quoted 6 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 130
Quoted 3 lines
content.tex +3
-0+If a device has successfully negotiated a set of features +at least once (by setting the FEATURES_OK \field{device +status} bit when the driver writes it), then it SHOULD NOTHm, it's the driver that sets
FEATURES_OK, not the device. What about "by succeeding to set"?
I think the best terminology we have is
"accept the FEATURES_OK status bit during device initialization" that's from the mmio chapter.
Quoted 10 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 133
Quoted 3 lines
content.tex +3
-0+fail re-negotiation of the same set of features after a +device or system reset. Failure to do so would interfere +with the resuming from suspend and error recovery.s/the resuming/resuming/
Quoted 4 lines
content.tex +1
-0+ \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 26 lines · On Fri, 8 Jun 2018 19:05:30 +0300 "Michael S. Tsirkin" <[email protected]> wrote:
Quoted 18 lines · Cornelia Huck
Quoted 15 lines · On Fri, 8 Jun 2018 14:59:28 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>--- content.tex | 7 +++++++ 1 file changed, 7 insertions(+)content.tex +0
-0@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it.Quoted 6 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 130
Quoted 3 lines
content.tex +3
-0+If a device has successfully negotiated a set of features +at least once (by setting the FEATURES_OK \field{device +status} bit when the driver writes it), then it SHOULD NOTHm, it's the driver that sets
FEATURES_OK, not the device. What about "by succeeding to set"?
Quoted 3 lines
I think the best terminology we have is
"accept theFEATURES_OKstatus bit during device initialization" that's from the mmio chapter.
Yes, that sounds better.
Quoted 11 lines
Quoted 11 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 133
Quoted 4 lines
content.tex +3
-0+fail re-negotiation of the same set of features after a +device or system reset. Failure to do so would interfere +with the resuming from suspend and error recovery.s/the resuming/resuming/
Quoted 4 lines
content.tex +1
-0+ \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 29 lines · Cornelia Huck
Quoted 26 lines · On Fri, 8 Jun 2018 19:05:30 +0300 "Michael S. Tsirkin" <[email protected]> wrote:
Quoted 24 lines · Cornelia Huck
Quoted 12 lines · On Fri, 8 Jun 2018 14:59:28 +0800 Tiwei Bie <[email protected]> wrote:
Suggested-by Michael S. Tsirkin <[email protected]>Signed-off-by Tiwei Bie <[email protected]>--- content.tex | 7 +++++++ 1 file changed, 7 insertions(+)content.tex +0
-0content.tex which was not offered. The device SHOULD accept any valid subset · line 130
Quoted 6 lines
content.tex +3
-0@@ -125,6 +125,13 @@ which was not offered. The device SHOULD accept any valid subset of features the driver accepts, otherwise it MUST fail to set the FEATURES_OK \field{device status} bit when the driver writes it. +If a device has successfully negotiated a set of features +at least once (by setting the FEATURES_OK \field{device +status} bit when the driver writes it), then it SHOULD NOTHm, it's the driver that sets
FEATURES_OK, not the device. What about "by succeeding to set"?
Quoted 5 lines
Quoted 3 lines
I think the best terminology we have is
"accept theFEATURES_OKstatus bit during device initialization" that's from the mmio chapter.Yes, that sounds better.
I'll send a new version!
Best regards,
Tiwei Bie
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 133
Quoted 5 lines
content.tex +3
-0+fail re-negotiation of the same set of features after a +device or system reset. Failure to do so would interfere +with the resuming from suspend and error recovery.s/the resuming/resuming/
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
content.tex which was not offered. The device SHOULD accept any valid subset · line 137
Quoted 4 lines
content.tex +1
-0+ \subsection{Legacy Interface: A Note on Feature Bits}\label{sec:Basic Facilities of a Virtio Device / Feature Bits / Legacy Interface: A Note on Feature Bits}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]