All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-comment] Writes to the Device Status field race with DEVICE_NEEDS_RESET
@ 2020-11-18 12:45 Olivier Delande
  2020-11-25 11:48 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Delande @ 2020-11-18 12:45 UTC (permalink / raw)
  To: virtio-comment

As far as I understand the Virtio 1.1 spec, a driver must not clear
any bit in the Device Status field when it writes a non-zero value.
How can it comply with this requirement, when the device may be
concurrently setting DEVICE_NEEDS_RESET? There does not seem to be any
facility to atomically set some bits and leave the others unchanged.

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:[~2020-11-25 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-18 12:45 [virtio-comment] Writes to the Device Status field race with DEVICE_NEEDS_RESET Olivier Delande
2020-11-25 11:48 ` Michael S. Tsirkin

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.