All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhu Lingshan <lingshan.zhu@intel.com>
To: mst@redhat.com, jasowang@redhat.com
Cc: virtualization@lists.linux-foundation.org
Subject: [PATCH V2 0/5] vDPA/ifcvf: implement immediate initialization mechanism
Date: Tue,  9 May 2023 02:05:07 +0800	[thread overview]
Message-ID: <20230508180512.17371-1-lingshan.zhu@intel.com> (raw)

Formerly, ifcvf driver has implemented a lazy-initialization mechanism
for the virtqueues and other config space contents,
it would store all configurations that passed down from the userspace,
then load them to the device config space upon DRIVER_OK.

This can not serve live migration, so this series implement an
immediate initialization mechanism, which means rather than the
former store-load process, the virtio operations like vq ops
would take immediate actions by access the virtio registers.

This series also implement irq synchronization in the reset
routine

Changes from V1:
1)pull device status in devce_reset (Jason)
2)simplify the procedure which sycn irqs (Jason)
3)fix typos(Michael)

Zhu Lingshan (5):
  vDPA/ifcvf: virt queue ops take immediate actions
  vDPA/ifcvf: get_driver_features from virtio registers
  vDPA/ifcvf: retire ifcvf_start_datapath and ifcvf_add_status
  vDPA/ifcvf: synchronize irqs in the reset routine
  vDPA/ifcvf: a vendor driver should not set _CONFIG_S_FAILED

 drivers/vdpa/ifcvf/ifcvf_base.c | 146 ++++++++++++++++++--------------
 drivers/vdpa/ifcvf/ifcvf_base.h |  17 ++--
 drivers/vdpa/ifcvf/ifcvf_main.c |  98 ++++-----------------
 3 files changed, 108 insertions(+), 153 deletions(-)

-- 
2.39.1

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

             reply	other threads:[~2023-05-08 10:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-08 18:05 Zhu Lingshan [this message]
2023-05-08 18:05 ` [PATCH V2 1/5] vDPA/ifcvf: virt queue ops take immediate actions Zhu Lingshan
2023-05-24  5:58   ` Jason Wang
2023-05-08 18:05 ` [PATCH V2 2/5] vDPA/ifcvf: get_driver_features from virtio registers Zhu Lingshan
2023-05-24  6:02   ` Jason Wang
2023-05-08 18:05 ` [PATCH V2 3/5] vDPA/ifcvf: retire ifcvf_start_datapath and ifcvf_add_status Zhu Lingshan
2023-05-08 18:05 ` [PATCH V2 4/5] vDPA/ifcvf: synchronize irqs in the reset routine Zhu Lingshan
2023-05-24  8:03   ` Jason Wang
2023-05-25  3:07     ` Jason Wang
2023-05-25  9:37     ` Zhu, Lingshan
2023-05-26  1:34       ` Jason Wang
2023-05-26  3:36         ` Zhu, Lingshan
2023-05-26  5:30           ` Zhu, Lingshan
2023-05-26  6:09             ` Jason Wang
2023-05-26  6:35               ` Zhu, Lingshan
2023-05-08 18:05 ` [PATCH V2 5/5] vDPA/ifcvf: a vendor driver should not set _CONFIG_S_FAILED Zhu Lingshan
2023-05-22  3:15 ` [PATCH V2 0/5] vDPA/ifcvf: implement immediate initialization mechanism Zhu, Lingshan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230508180512.17371-1-lingshan.zhu@intel.com \
    --to=lingshan.zhu@intel.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.