Skip to content

s390/vfio_ccw fixes

Eric Farman kvm linux-s390 lkml stable 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest10 patches 4 repliesIn review
  2. v810 patches 4 repliesSuperseded
  3. v710 patches 4 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v610 patches0 repliesSuperseded
v510 patches0 repliesSuperseded
v49 patches7 repliesSuperseded
v38 patches14 repliesSuperseded
v27 patches3 repliesSuperseded
v16 patches0 repliesSuperseded

Changes in v9 from the cover letter

- [MR] Added r-b (thank you!)
- [MR] Commit/comment message improvements
- [MR/sashiko] Re-add workqueue cleanup to vfio_ccw_mdev_release_dev, in the form of a flush_work() call

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10s390/vfio_ccw: free all memory if cp_init() failsdrivers/s390/cio/vfio_ccw_cp.c+18 -40 replies
2/10s390/vfio_ccw: limit the number of channel program segmentsdrivers/s390/cio/vfio_ccw_cp.c drivers/s390/cio/vfio_ccw_cp.h+14 -00 replies
3/10s390/vfio_ccw: fix out of bounds check on CCW arraydrivers/s390/cio/vfio_ccw_cp.c+5 -120 replies
4/10s390/vfio_ccw: ensure first IDAW remains constantdrivers/s390/cio/vfio_ccw_cp.c drivers/s390/cio/vfio_ccw_cp.h+18 -00 replies
5/10s390/vfio_ccw: calculate idal length based on idaw typedrivers/s390/cio/vfio_ccw_cp.c+3 -20 replies
6/10s390/vfio_ccw: ensure index for read/write regions are within rangedrivers/s390/cio/vfio_ccw_async.c drivers/s390/cio/vfio_ccw_chp.c drivers/s390/cio/vfio_ccw_ops.c+34 -40 replies
7/10s390/vfio_ccw: cancel existing workqueuesdrivers/s390/cio/vfio_ccw_ops.c+15 -00 replies
8/10s390/vfio_ccw: move cp cleanup out of not operationaldrivers/s390/cio/vfio_ccw_drv.c drivers/s390/cio/vfio_ccw_fsm.c drivers/s390/cio/vfio_ccw_ops.c +1 more+26 -21 reply
9/10s390/vfio_ccw: selectively expand io_mutexdrivers/s390/cio/vfio_ccw_chp.c drivers/s390/cio/vfio_ccw_cp.c drivers/s390/cio/vfio_ccw_drv.c +2 more+19 -51 reply
10/10s390/vfio_ccw: implement a crw lockdrivers/s390/cio/vfio_ccw_chp.c drivers/s390/cio/vfio_ccw_drv.c drivers/s390/cio/vfio_ccw_ops.c +1 more+30 -100 replies

Reviews trailers per patch

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

PatchMatthew RosatoFarhan Ali
1/10R-b R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b R-b

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

Read the v9 thread

Cover letter [PATCH v9 00/10] s390/vfio_ccw fixes

This series addresses some pre-existing issues found in the s390 vfio_ccw (DASD passthrough) driver.

Patches 1-6 are identical to v6/v7/v8
Patches 7-10 have minor changes compared to v7/v8

v1: https://lore.kernel.org/r/[email protected]/
v2: https://lore.kernel.org/r/[email protected]/
v3: https://lore.kernel.org/r/[email protected]/
v4: https://lore.kernel.org/r/[email protected]/
v5: https://lore.kernel.org/r/[email protected]/
v6: https://lore.kernel.org/r/[email protected]/
v7: https://lore.kernel.org/r/[email protected]/
v8: https://lore.kernel.org/r/[email protected]/
v8->v9:
- [MR] Added r-b (thank you!)
- [MR] Commit/comment message improvements
- [MR/sashiko] Re-add workqueue cleanup to vfio_ccw_mdev_release_dev, in the form of a flush_work() call

Eric Farman (10):
s390/vfio_ccw: free all memory if cp_init() fails s390/vfio_ccw: limit the number of channel program segments s390/vfio_ccw: fix out of bounds check on CCW array s390/vfio_ccw: ensure first IDAW remains constant s390/vfio_ccw: calculate idal length based on idaw type s390/vfio_ccw: ensure index for read/write regions are within range s390/vfio_ccw: cancel existing workqueues
s390/vfio_ccw: move cp cleanup out of not operational s390/vfio_ccw: selectively expand io_mutex s390/vfio_ccw: implement a crw lock

 drivers/s390/cio/vfio_ccw_async.c   | 16 +++++++
 drivers/s390/cio/vfio_ccw_chp.c     | 31 ++++++++++--
 drivers/s390/cio/vfio_ccw_cp.c      | 74 +++++++++++++++++++++--------
 drivers/s390/cio/vfio_ccw_cp.h      | 10 ++++
 drivers/s390/cio/vfio_ccw_drv.c     | 21 +++++++-
 drivers/s390/cio/vfio_ccw_fsm.c     |  8 +++-
 drivers/s390/cio/vfio_ccw_ops.c     | 39 +++++++++++++--
 drivers/s390/cio/vfio_ccw_private.h | 10 +++-
 8 files changed, 176 insertions(+), 33 deletions(-)
Signature · 1 line
2.53.0