Skip to content

Halil Pasic qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 50 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9s390x/css: fix cc handling for XSCHhw/s390x/css.c+2 -27 replies
2/9s390x: fix invalid use of cc 1 for SSCHhw/s390x/css.c hw/s390x/s390-ccw.c+7 -1017 replies
3/9s390x/css: be more consistent if broken beyond repairhw/s390x/css.c+1 -13 replies
4/9s390x: refactor error handling for SSCH and RSCHhw/s390x/css.c hw/s390x/s390-ccw.c hw/vfio/ccw.c +3 more+97 -12221 replies
5/9s390x: refactor error handling for XSCH handlerhw/s390x/css.c include/hw/s390x/css.h target/s390x/ioinst.c+17 -310 replies
6/9s390x: refactor error handling for CSCH handlerhw/s390x/css.c include/hw/s390x/css.h target/s390x/ioinst.c+13 -180 replies
7/9s390x: refactor error handling for HSCH handlerhw/s390x/css.c include/hw/s390x/css.h target/s390x/ioinst.c+17 -310 replies
8/9s390x: refactor error handling for MSCH handlerhw/s390x/css.c include/hw/s390x/css.h target/s390x/ioinst.c+17 -320 replies
9/9s390x: factor out common ioinst handler logictarget/s390x/ioinst.c+14 -630 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchPierre Morel
1/9
2/9A-b
3/9A-b
4/9A-b
5/9A-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/9]

This series has a character of a refactoring, as the initial motivation was improving readability and reducing complexity.

Despite of the original intent the tree first patches buxfixes, and according to Dong Jia the patch-set also has a functional value: for ccw pass-through, he is planing to pass-through the instruction completion information (cc or interruption condition) from the kernel, and this patch set can pretty much be seen as a preparation for that.

The basic idea is: tell how to handle an unusual conditon where it's identified, instead of mapping it to an errno (more or less arbitrarily), then possibly mapping these errnos around, to finally (mentally) map the errno back to the condition and take appropriate action.

At the end of the series we also have 125 lines of code less to maintain, and the executable got a bit smaller too.

Halil Pasic (9):
s390x/css: fix cc handling for XSCH
s390x: fix invalid use of cc 1 for SSCH s390x/css: be more consistent if broken beyond repair
s390x: refactor error handling for SSCH and RSCH
s390x: refactor error handling for XSCH handler
s390x: refactor error handling for CSCH handler
s390x: refactor error handling for HSCH handler
s390x: refactor error handling for MSCH handler
s390x: factor out common ioinst handler logic

 hw/s390x/css.c              | 158 ++++++++++++--------------------------
 hw/s390x/s390-ccw.c         |   8 +-
 hw/vfio/ccw.c               |  32 ++++++--
 include/hw/s390x/css.h      |  38 +++++++---
 include/hw/s390x/s390-ccw.h |   2 +-
 target/s390x/ioinst.c       | 181 ++++++++++----------------------------------
 6 files changed, 147 insertions(+), 272 deletions(-)
Signature · 1 line
2.13.5