Skip to content

vdpasim: support doorbell mapping

Longpeng(Mike) lkml llvm oe-kbuild-all virtualization 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 4 repliesSuperseded
  3. v21 patch 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch10 repliesSuperseded

Changes in v4 from the cover letter

- use WRITE_ONCE [Jason]
- start/stop periodic work when create/destroy vdpasim device [Jason]

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vdpa: support specify the pgprot of vq notification areadrivers/vhost/vdpa.c include/linux/vdpa.h+12 -10 replies
2/2vdpasim: support doorbell mappingdrivers/vdpa/vdpa_sim/vdpa_sim.c drivers/vdpa/vdpa_sim/vdpa_sim.h+70 -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] vdpasim: support doorbell mapping

From: Longpeng <[email protected]>

This patchset supports doorbell mapping for vdpasim devices.

v3: https://lore.kernel.org/lkml/[email protected]/T/
v2: https://lore.kernel.org/lkml/CACGkMEtdT5fG=ffbpQadkGmzHf6Ax-+L50LsriYqJaW++natMg@mail.gmail.com/T/

Changes v3->v4:
- use WRITE_ONCE [Jason]
- start/stop periodic work when create/destroy vdpasim device [Jason]

Changes v2->v3:
- add a new callback named get_vq_notification_pgprot to vdpa_config_ops [Jason]
- remove the new added module parameter 'parameter' [Jason]
- opencode the schedule/cancel_delayed() [Jason]

Changes v1->v2:
- support both kick mode and passthrough mode. [Jason]
- poll the notify register first. [Jason, Michael]

Longpeng (2):
vdpa: support specify the pgprot of vq notification area
vdpasim: support doorbell mapping

 drivers/vdpa/vdpa_sim/vdpa_sim.c | 67 ++++++++++++++++++++++++++++++++
 drivers/vdpa/vdpa_sim/vdpa_sim.h |  3 ++
 drivers/vhost/vdpa.c             |  4 +-
 include/linux/vdpa.h             |  9 +++++
 4 files changed, 82 insertions(+), 1 deletion(-)
Signature · 1 line
2.23.0