virtio-dev.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH v4 0/1] Define a low power mode for devices
@ 2024-02-16  8:24 David Stevens
  2024-02-16  8:24 ` [virtio-dev] [PATCH v4 1/1] Add suspend support for virtio PCI devices David Stevens
  0 siblings, 1 reply; 9+ messages in thread
From: David Stevens @ 2024-02-16  8:24 UTC (permalink / raw)
  To: Michael S . Tsirkin, Jason Wang, virtio-comment, virtio-dev
  Cc: parav, David Stevens

The Linux patch [1] added support for suspending virtio devices using
native PCI power management. However, Linux does PCI power management
during the noirq phase of suspend and resume. Without a mechanism to
suspend/resume virtio devices when the driver is suspended/resumed in
the early phase of suspend/late phase of resume, there is a window where
interrupts can be lost.

[1] https://lore.kernel.org/lkml/20231208070754.3132339-1-stevensd@chromium.org/

v3 -> v4:
 - Define virtio-pci specific power management that can be used in
   conjunction with PCI power management.
v2 -> v3:
 - Use different words for some concepts to avoid conflicts with other
   parts of the spec.
 - Rewrite various sentences to improve clarity.
v1 -> v2:
 - Define virtio-pci support on top of PCI power management.
 - Add more conformance requirements.

David Stevens (1):
  Add suspend support for virtio PCI devices

 transport-pci.tex | 51 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

-- 
2.44.0.rc0.258.g7320e95886-goog


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-26 10:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16  8:24 [virtio-dev] [PATCH v4 0/1] Define a low power mode for devices David Stevens
2024-02-16  8:24 ` [virtio-dev] [PATCH v4 1/1] Add suspend support for virtio PCI devices David Stevens
2024-02-16  8:56   ` [virtio-dev] " Michael S. Tsirkin
2024-02-18 10:59     ` Zhu, Lingshan
2024-02-19  6:46     ` David Stevens
2024-02-19  7:42       ` Michael S. Tsirkin
2024-02-26  6:42   ` Jason Wang
2024-02-26  8:46     ` David Stevens
2024-02-26 10:23       ` [virtio-dev] Re: [virtio-comment] " Zhu, Lingshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).