mbox series

[kvm-unit-tests,0/5] s390x: Add cross hypervisor and disk boot

Message ID 20181204134838.5841-1-frankja@linux.ibm.com (mailing list archive)
Headers show
Series s390x: Add cross hypervisor and disk boot | expand

Message

Janosch Frank Dec. 4, 2018, 1:48 p.m. UTC
With these patches kvm unit tests are now bootable under LPAR and
z/VM, as well as from KVM disks. Don't forget to convert the ELF files
to binary via:

objcopy -O binary s390x/test.elf test.bin

For this to work we added:
    * Initial PSW in lowcore
    * Switch to 64 bit and z/Arch
    * SCLP linemode console

This is an early version, linemode currently splits lines a bit too
often and I still need to polish comments and cleanup code.

Janosch Frank (5):
  s390x: Make tests bootable from disk
  s390x: Switch to z/Arch if needed
  s390x: Add BSS clearing for non ELF boot
  s390x: Use interrupts in SCLP and add line mode
  s390x: Fix sclp-ascii.c indents

 lib/s390x/asm/arch_def.h  |   1 +
 lib/s390x/asm/interrupt.h |   2 +
 lib/s390x/interrupt.c     |  12 ++-
 lib/s390x/io.c            |   2 +-
 lib/s390x/sclp-ascii.c    | 220 ++++++++++++++++++++++++++++++++++++++--------
 lib/s390x/sclp.c          |  42 +++++++++
 lib/s390x/sclp.h          |  71 ++++++++++++++-
 s390x/cstart64.S          |  40 ++++++++-
 s390x/flat.lds            |  10 ++-
 9 files changed, 357 insertions(+), 43 deletions(-)