Skip to content

Commit 8f986d0

Browse files
virtio-msg: apply normative in generation count
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
1 parent 53ef5f8 commit 8f986d0

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

transport-msg.tex

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,21 +291,25 @@ \subsubsection{Configuration Generation Count}
291291
\subsubsection{Feature Negotiation Blocks}
292292
\label{sec:Virtio Transport Options / Virtio Over Messages / Basic Concepts / FeatureBlocks}
293293

294-
The virtio-msg transport handles feature bits in one or more
295-
\textbf{32-bits blocks}, accessed via \msgref{GET_DEVICE_FEATURES} and
296-
\msgref{SET_DRIVER_FEATURES}. Each block corresponds to up to 32 features:
294+
The virtio-msg transport organizes feature bits into 32-bit blocks accessed by
295+
\msgref{GET_DEVICE_FEATURES} and \msgref{SET_DRIVER_FEATURES}. Each block
296+
represents up to 32 feature bits:
297297

298298
\begin{itemize}
299299
\item \textbf{Block Index}: The starting block (e.g., block 0 for
300300
features 0--31, block 1 for features 32--63, etc.).
301301
\item \textbf{Number of Blocks}: How many blocks the driver wishes to retrieve
302302
or modify in a single message.
303-
\item \textbf{Feature Data}: The 32 bits values representing a device's
304-
supported or requested feature bits.
303+
\item \textbf{Feature Data}: The 32-bit values representing the supported (or
304+
driver-requested) feature bits in the selected blocks.
305305
\end{itemize}
306306

307-
A device MUST respond with all zero feature data for features bit
308-
requested beyond those the device implements.
307+
\devicenormative{\paragraph}{Feature Blocks (Device)}{Virtio Transport Options / Virtio Over Messages / Basic Concepts / FeatureBlocks / Device}
308+
\begin{itemize}
309+
\item When \msgref{GET_DEVICE_FEATURES} covers blocks that extend beyond the
310+
features a device implements, the device MUST return zero for the
311+
feature data in those positions.
312+
\end{itemize}
309313

310314
\subsubsection{Error Signaling}
311315
\label{sec:Virtio Transport Options / Virtio Over Messages / Basic Concepts / ErrorSignaling}

0 commit comments

Comments
 (0)