[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240422070128.1980027-1-stevensd@chromium.org>
Date: Mon, 22 Apr 2024 16:01:27 +0900
From: David Stevens <stevensd@...omium.org>
To: "Michael S . Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Cornelia Huck <cohuck@...hat.com>,
Stefan Hajnoczi <stefanha@...hat.com>
Cc: Eugenio Perez <eperezma@...hat.com>,
Zhu Lingshan <lingshan.zhu@...el.com>,
virtio-dev@...ts.oasis-open.org,
linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
David Stevens <stevensd@...omium.org>
Subject: [PATCH v2 0/1] virtio: Add suspend support
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
Powered by blists - more mailing lists