Skip to content

vfio: ccw: error handling fixes and improvements

Dong Jia Shi kvm linux-s390 lkml 2 versions – Applied

Status from this message: Thanks, applied. I'll probably send a pull req after lunch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 13 repliesApplied
  2. v14 patches 20 repliesSuperseded

Changes in v2 from the cover letter

- #1. Reworded commit message and comment, plus some typo fixes.
- #2. New patch.
- #3. Added the missing suggested-by Pierre.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5vfio: ccw: fix cleanup if cp_prefetch failsdrivers/s390/cio/vfio_ccw_cp.c+12 -15 replies
2/5vfio: ccw: shorten kernel doc description for pfn_array_pin()drivers/s390/cio/vfio_ccw_cp.c+6 -81 reply
3/5vfio: ccw: refactor and improve pfn_array_alloc_pin()drivers/s390/cio/vfio_ccw_cp.c+36 -460 replies
4/5vfio: ccw: set ccw->cda to NULL defensivelydrivers/s390/cio/vfio_ccw_cp.c+20 -110 replies
5/5vfio: ccw: add traceponits for interesting error pathsdrivers/s390/cio/Makefile drivers/s390/cio/vfio_ccw_fsm.c drivers/s390/cio/vfio_ccw_trace.h+93 -16 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchPierre MorelDong Jia Shi
1/5A-b R-b
2/5
3/5
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] vfio: ccw: error handling fixes and improvements

Dear Reviewers,

Here is a new version for this patch series.

We didn't get agreement on patch #5 (#4 in v1) in the former cycle though, I made it based on my understanding. We can continue discussing on it.

Changelog:
v1->v2:
- #1. Reworded commit message and comment, plus some typo fixes.
- #2. New patch.
- #3. Added the missing suggested-by Pierre.

       Fixed typos.
       Added sanity check on pa->pa_iova_pfn and updated comments accordingly.

- #4. Removed unused idaw_nr.
- #5. Replaced leading white spaces with TABs.
Traced the function in anycase.

Dong Jia Shi (3):
vfio: ccw: shorten kernel doc description for pfn_array_pin()
vfio: ccw: refactor and improve pfn_array_alloc_pin()
vfio: ccw: set ccw->cda to NULL defensively

Halil Pasic (2):
vfio: ccw: fix cleanup if cp_prefetch fails
vfio: ccw: add traceponits for interesting error paths

 drivers/s390/cio/Makefile         |   1 +
 drivers/s390/cio/vfio_ccw_cp.c    | 134 ++++++++++++++++++++------------------
 drivers/s390/cio/vfio_ccw_fsm.c   |  16 ++++-
 drivers/s390/cio/vfio_ccw_trace.h |  77 ++++++++++++++++++++++
 4 files changed, 164 insertions(+), 64 deletions(-)
 create mode 100644 drivers/s390/cio/vfio_ccw_trace.h
Signature · 1 line
2.13.5