Messages in this thread | ![/](/images/icornerl.gif) | | From | David Stevens <> | Subject | [PATCH v2 0/1] virtio: Add suspend support | Date | Mon, 22 Apr 2024 16:01:27 +0900 |
| |
This series implements support for the virtio device suspend feature that is under discussion. Unfortunately, the virtio mailing list is currently being migrated, so recent discussion of the proposal is not archived anywhere. There current version of the proposal is a combination of [1] and [2].
[1] https://lore.kernel.org/all/20230906081637.32185-3-lingshan.zhu@intel.com/ [2] https://lists.oasis-open.org/archives/virtio-comment/202402/msg00088.html
v1 -> v2: - Check for device removal while waiting for suspend bit. - Don't try to suspend uninitialized deivces. - Use msleep instead of mdelay.
David Stevens (1): virtio: Add support for the virtio suspend feature
drivers/virtio/virtio.c | 60 ++++++++++++++++++++++++++++++ drivers/virtio/virtio_pci_common.c | 34 ++++++++--------- drivers/virtio/virtio_pci_modern.c | 19 ++++++++++ include/linux/virtio.h | 8 ++++ include/uapi/linux/virtio_config.h | 10 ++++- 5 files changed, 112 insertions(+), 19 deletions(-)
base-commit: e8f897f4afef0031fe618a8e94127a0934896aba -- 2.44.0.769.g3c40516874-goog
| ![\](/images/icornerr.gif) |