s390x: Dirty cc before executing tested instructions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 4 repliesIn review
- v15 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Moved from spm to tmll (thanks Nina)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | lib: s390x: sigp: Dirty CC before sigp executionlib/ | +5 | 2 replies | |
| 2/5 | lib: s390x: uv: Dirty CC before uvc executionlib/ | +3 | 1 reply | |
| 3/5 | lib: s390x: css: Dirty CC before css instructionslib/ | +12 | 0 replies | |
| 4/5 | s390x: mvpg: Dirty CC before mvpg executions390x/ | +4 | 0 replies | |
| 5/5 | s390x: sclp: Dirty CC before sclp executions390x/ | +4 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Claudio Imbrenda |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH v2 0/5] s390x: Dirty cc before executing tested instructions
A recent s390 KVM fixpatch [1] showed us that checking the cc is not enough when emulation code forgets to set the cc. There might just be the correct cc in the PSW which would make the cc check succeed.
This series intentionally dirties the cc for sigp, uvc, some io instructions and sclp to make cc setting errors more apparent. I had a cursory look through the tested instructions and those are the most prominent ones with defined cc values.
Since the issue appeared in PQAP my AP test series is now dependent on this series.
[1] https://lore.kernel.org/kvm/[email protected]/
v2:
* Moved from spm to tmll (thanks Nina)
Janosch Frank (5):
lib: s390x: sigp: Dirty CC before sigp execution
lib: s390x: uv: Dirty CC before uvc execution
lib: s390x: css: Dirty CC before css instructions
s390x: mvpg: Dirty CC before mvpg execution
s390x: sclp: Dirty CC before sclp execution
lib/s390x/asm/sigp.h | 6 +++++- lib/s390x/asm/uv.h | 4 +++- lib/s390x/css.h | 16 ++++++++++++---- s390x/mvpg.c | 6 ++++-- s390x/sclp.c | 5 ++++- 5 files changed, 28 insertions(+), 9 deletions(-)
Signature · 1 line
2.40.1