Skip to content

vfio/pds: Clean-ups and multi-region support

Brett Creeley kvm lkml 2 versions – Applied

Status from this message: Applied to vfio next branch for v6.8. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesApplied
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Make use of BITS_PER_BYTE #define
- Use C99 style for loops
- Fix subject line to use vfio/pds instead of pds-vfio-pci
- Separate out some calculation fixes into another patch so it can be backported to 6.6-stable
- Fix bounds check in pds_vfio_get_region()

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6vfio/pds: Fix calculations in pds_vfio_dirty_syncdrivers/vfio/pci/pds/dirty.c+3 -30 replies
2/6vfio/pds: Only use a single SGL for both seq and ackdrivers/vfio/pci/pds/dirty.c drivers/vfio/pci/pds/dirty.h+28 -460 replies
3/6vfio/pds: Move and rename region specific infodrivers/vfio/pci/pds/dirty.c drivers/vfio/pci/pds/dirty.h+50 -450 replies
4/6vfio/pds: Pass region info to relevant functionsdrivers/vfio/pci/pds/dirty.c+36 -350 replies
5/6vfio/pds: Move seq/ack bitmaps into region structdrivers/vfio/pci/pds/dirty.c drivers/vfio/pci/pds/dirty.h+25 -200 replies
6/6vfio/pds: Add multi-region supportdrivers/vfio/pci/pds/dirty.c drivers/vfio/pci/pds/dirty.h+156 -680 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 vfio 0/6] vfio/pds: Clean-ups and multi-region support

This series contains various clean-ups, improvements, and support for multiple dirty tracking regions. The majority of clean-up and improvements are in preparation for the last patch in the series, which adds support for multiple dirty tracking regions.

Changes:

v2:
- Make use of BITS_PER_BYTE #define
- Use C99 style for loops
- Fix subject line to use vfio/pds instead of pds-vfio-pci
- Separate out some calculation fixes into another patch so it can be backported to 6.6-stable
- Fix bounds check in pds_vfio_get_region()

v1:
https://lore.kernel.org/kvm/[email protected]/T/

Brett Creeley (6):
vfio/pds: Fix calculations in pds_vfio_dirty_sync vfio/pds: Only use a single SGL for both seq and ack vfio/pds: Move and rename region specific info vfio/pds: Pass region info to relevant functions vfio/pds: Move seq/ack bitmaps into region struct vfio/pds: Add multi-region support

 drivers/vfio/pci/pds/dirty.c | 309 ++++++++++++++++++++++-------------
 drivers/vfio/pci/pds/dirty.h |  18 +-
 2 files changed, 204 insertions(+), 123 deletions(-)
Signature · 1 line
2.17.1