Skip to content

s390x: Add multiboot and smp

Janosch Frank kvm linux-s390 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 14 repliesIn review
  2. v26 patches 14 repliesSuperseded
  3. v16 patches 12 repliesSuperseded

Changes in v3 from the cover letter

* Simplified linemode buffering
* Removed error constant use
* Smaller fixes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6s390x: Use interrupts in SCLP and add lockinglib/s390x/asm/interrupt.h lib/s390x/interrupt.c lib/s390x/sclp-console.c +2 more+70 -41 reply
2/6s390x: Add linemode consolelib/s390x/sclp-console.c lib/s390x/sclp.h+218 -180 replies
3/6s390x: Add linemode buffer to fix newline on every printlib/s390x/sclp-console.c+41 -43 replies
4/6s390x: Add initial smp codelib/s390x/asm/arch_def.h lib/s390x/asm/sigp.h lib/s390x/io.c +5 more+358 -63 replies
5/6s390x: Prepare for external callslib/s390x/asm/arch_def.h lib/s390x/asm/interrupt.h lib/s390x/interrupt.c+27 -41 reply
6/6s390x: SMP tests390x/Makefile s390x/smp.c s390x/unittests.cfg+247 -09 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchThomas HuthDavid Hildenbrand
1/6R-b A-b
2/6T-b A-b
3/6R-b R-b A-b A-b
4/6R-b R-b
5/6R-b R-b
6/6

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

Read the v3 thread

Cover letter [kvm-unit-tests PATCH v3 0/6] s390x: Add multiboot and smp

Cross testing emulated instructions has in the past brought up some issues on all available IBM Z hypervisors. So let's upstream the last part of multiboot: sclp interrupts and line mode console.

SMP tests are a great way to excercise external interruptions, cpu resets and sigp. The smp library is always initialized and provides very rudimentary CPU management for now.

v3:
* Simplified linemode buffering
* Removed error constant use
* Smaller fixes

Janosch Frank (6):
s390x: Use interrupts in SCLP and add locking
s390x: Add linemode console
s390x: Add linemode buffer to fix newline on every print
s390x: Add initial smp code
s390x: Prepare for external calls
s390x: SMP test

 lib/s390x/asm/arch_def.h  |  13 ++
 lib/s390x/asm/interrupt.h |   5 +
 lib/s390x/asm/sigp.h      |  28 +++-
 lib/s390x/interrupt.c     |  27 +++-
 lib/s390x/io.c            |   5 +-
 lib/s390x/sclp-console.c  | 218 ++++++++++++++++++++++++++++---
 lib/s390x/sclp.c          |  55 +++++++-
 lib/s390x/sclp.h          |  59 ++++++++-
 lib/s390x/smp.c           | 263 ++++++++++++++++++++++++++++++++++++++
 lib/s390x/smp.h           |  51 ++++++++
 s390x/Makefile            |   2 +
 s390x/cstart64.S          |   7 +
 s390x/smp.c               | 242 +++++++++++++++++++++++++++++++++++
 s390x/unittests.cfg       |   4 +
 14 files changed, 952 insertions(+), 27 deletions(-)
 create mode 100644 lib/s390x/smp.c
 create mode 100644 lib/s390x/smp.h
 create mode 100644 s390x/smp.c
Signature · 1 line
2.17.2