Skip to content

vdpa/snet: support [s/g]et_vq_state and suspend

Alvaro Karsz virtualization 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v1 posting 2/22 patches9 repliesSuperseded
v1 posting 1/22 patches4 repliesSuperseded

Changes in v4 from the cover letter

- Rename struct snet_vq -> struct vdpa_vq_state from inital_state to vq_state - Patch 1.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vdpa/snet: support getting and setting VQ statedrivers/vdpa/solidrun/Makefile drivers/vdpa/solidrun/snet_ctrl.c drivers/vdpa/solidrun/snet_hwmon.c +2 more+387 -712 replies
2/2vdpa/snet: support the suspend vDPA callbackdrivers/vdpa/solidrun/snet_ctrl.c drivers/vdpa/solidrun/snet_main.c drivers/vdpa/solidrun/snet_vdpa.h+22 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJason Wang
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] vdpa/snet: support [s/g]et_vq_state and suspend

Add more vDPA callbacks.

[s/g]et_vq_state is added in patch 1, including a new control mechanism to read data from the DPU.

suspend is added in patch 2.

Link to v1:
https://lore.kernel.org/virtualization/[email protected]/
Link to v2:
https://lore.kernel.org/virtualization/[email protected]/
Link to v3:
https://lore.kernel.org/virtualization/[email protected]/

Changelog:

v2:
- Remove wmb() from snet_ctrl_read_from_dpu - Patch 1.
v3:
- Usage of spinlocks to serialize access to control registers - Patch 1.
v4:
- Rename struct snet_vq -> struct vdpa_vq_state from inital_state to vq_state - Patch 1.

Alvaro Karsz (2):
vdpa/snet: support getting and setting VQ state
vdpa/snet: support the suspend vDPA callback

 drivers/vdpa/solidrun/Makefile     |   1 +
 drivers/vdpa/solidrun/snet_ctrl.c  | 330 +++++++++++++++++++++++++++++
 drivers/vdpa/solidrun/snet_hwmon.c |   2 +-
 drivers/vdpa/solidrun/snet_main.c  | 127 ++++++-----
 drivers/vdpa/solidrun/snet_vdpa.h  |  20 +-
 5 files changed, 409 insertions(+), 71 deletions(-)
 create mode 100644 drivers/vdpa/solidrun/snet_ctrl.c
Signature · 6 lines
2.34.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization