[CRIU][PATCH 0/7] Add architecture support for s390x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello CRIU mailing list,

This set of patches adds the s390x (64 bit mainframe) backend support to
the CRIU checkpoint/restore tool.

The patches apply to the "criu-dev" branch on top of commit eee68d7a0
("aarch/vdso: include common/compiler.h before use __maybe_unused).

On s390 all tests of the zdtm testsuite succeed on Ubuntu 16.04 with kernel
4.8.0-34-generic execpt for the following:

 - zdtm/static/del_standalone_un
 - zdtm/static/deleted_unix_sock
 - zdtm/static/mnt_ext_dev
 - zdtm/static/overmount_dev
 - zdtm/static/overmount_fifo
 - zdtm/static/overmount_file
 - zdtm/static/overmount_sock
 - zdtm/static/pthread02
 - zdtm/static/ptrace_sig
 - zdtm/static/scm00
 - zdtm/static/sock_peercred
 - zdtm/static/socket_snd_addr
 - zdtm/static/tempfs_overmounted
 - zdtm/static/unlink_fstat01+
 - zdtm/static/unlink_largefile
 - zdtm/static/unlink_regular00
 - zdtm/static/vfork00
 - zdtm/transition/thread-bomb

We have not analyzed the failures yet because for us those tests also failed on
Ubuntu for x86_64.

Best Regards,
Michael

Alice Frosi (1):
  zdtm/static/sem: Use "union semun" instead of int

Michael Holzheu (6):
  Add architecture support for s390x
  criu/pie/parasite-vdso: Handle also systems without VVAR
  criu/files: Fix wait_fds_event() for 64 bit platforms
  criu/mount: Fix flags cast and sizeof(sflags)
  zdtm/static/sk-netlink: Fix endian issue
  zdtm/static/fdt_shared: Fix buffer size

 Makefile                                           |  37 +-
 compel/.gitignore                                  |   1 +
 compel/Makefile                                    |   8 +
 compel/arch/s390/plugins/include/asm/prologue.h    |   1 +
 .../arch/s390/plugins/include/asm/syscall-types.h  |  34 ++
 compel/arch/s390/plugins/std/parasite-head.S       |  26 +
 .../s390/plugins/std/syscalls/Makefile.syscalls    |  58 +++
 .../plugins/std/syscalls/syscall-common-s390.S     |  37 ++
 .../s390/plugins/std/syscalls/syscall-s390.tbl     | 108 ++++
 .../arch/s390/plugins/std/syscalls/syscalls-s390.c |  26 +
 compel/arch/s390/scripts/compel-pack.lds.S         |  40 ++
 compel/arch/s390/src/lib/cpu.c                     |  42 ++
 compel/arch/s390/src/lib/handle-elf-host.c         |   1 +
 compel/arch/s390/src/lib/handle-elf.c              |  22 +
 compel/arch/s390/src/lib/include/handle-elf.h      |  13 +
 compel/arch/s390/src/lib/include/syscall.h         |   8 +
 .../s390/src/lib/include/uapi/asm/breakpoints.h    |  15 +
 compel/arch/s390/src/lib/include/uapi/asm/cpu.h    |  10 +
 compel/arch/s390/src/lib/include/uapi/asm/fpu.h    |  14 +
 .../s390/src/lib/include/uapi/asm/infect-types.h   |  75 +++
 .../src/lib/include/uapi/asm/processor-flags.h     |   0
 .../arch/s390/src/lib/include/uapi/asm/sigframe.h  |  75 +++
 compel/arch/s390/src/lib/infect.c                  | 559 +++++++++++++++++++++
 compel/plugins/Makefile                            |   7 +
 compel/src/lib/handle-elf.c                        |  25 +
 compel/src/main.c                                  |   3 +
 criu/arch/s390/Makefile                            |  10 +
 criu/arch/s390/cpu.c                               | 158 ++++++
 criu/arch/s390/crtools.c                           | 341 +++++++++++++
 criu/arch/s390/include/asm/dump.h                  |  12 +
 criu/arch/s390/include/asm/int.h                   |   6 +
 criu/arch/s390/include/asm/parasite-syscall.h      |   6 +
 criu/arch/s390/include/asm/parasite.h              |   7 +
 criu/arch/s390/include/asm/restore.h               |  29 ++
 criu/arch/s390/include/asm/restorer.h              |  65 +++
 criu/arch/s390/include/asm/types.h                 |  37 ++
 criu/arch/s390/include/asm/vdso.h                  |  23 +
 criu/arch/s390/restorer.c                          |  37 ++
 criu/arch/s390/sigframe.c                          |  20 +
 criu/arch/s390/vdso-pie.c                          |  65 +++
 criu/files.c                                       |   5 +-
 criu/mem.c                                         |  19 +
 criu/mount.c                                       |   5 +-
 criu/pie/Makefile                                  |   7 +
 criu/pie/Makefile.library                          |   7 +
 criu/pie/parasite-vdso.c                           |   4 +-
 criu/pie/util-vdso.c                               |  25 +-
 criu/proc_parse.c                                  |  19 +
 criu/sk-netlink.c                                  |  16 +
 criu/tty.c                                         |  11 +
 criu/util.c                                        |   5 +
 images/Makefile                                    |   1 +
 images/core-s390.proto                             |  39 ++
 images/core.proto                                  |   3 +
 images/cpuinfo.proto                               |   5 +
 include/common/arch/s390/asm/atomic.h              |  67 +++
 include/common/arch/s390/asm/atomic_ops.h          |  74 +++
 include/common/arch/s390/asm/bitops.h              | 164 ++++++
 include/common/arch/s390/asm/bitsperlong.h         |   6 +
 include/common/arch/s390/asm/linkage.h             |  22 +
 include/common/arch/s390/asm/page.h                |  19 +
 test/zdtm/lib/arch/s390/include/asm/atomic.h       |  66 +++
 test/zdtm/lib/test.c                               |   5 +
 test/zdtm/static/Makefile                          |   1 +
 test/zdtm/static/fanotify00.c                      |   3 +
 test/zdtm/static/fdt_shared.c                      |   4 +-
 test/zdtm/static/mntns-deleted-dst                 |   0
 test/zdtm/static/netns-nf.desc                     |   2 +-
 test/zdtm/static/rtc.desc                          |   2 +-
 test/zdtm/static/s390x_mmap_high.c                 |  64 +++
 test/zdtm/static/s390x_mmap_high.desc              |   1 +
 test/zdtm/static/sem.c                             |  20 +-
 test/zdtm/static/socket-tcp-closed-last-ack.desc   |   4 +-
 test/zdtm/static/vt.c                              |   8 +-
 74 files changed, 2720 insertions(+), 44 deletions(-)
 create mode 120000 compel/arch/s390/plugins/include/asm/prologue.h
 create mode 100644 compel/arch/s390/plugins/include/asm/syscall-types.h
 create mode 100644 compel/arch/s390/plugins/std/parasite-head.S
 create mode 100644 compel/arch/s390/plugins/std/syscalls/Makefile.syscalls
 create mode 100644 compel/arch/s390/plugins/std/syscalls/syscall-common-s390.S
 create mode 100644 compel/arch/s390/plugins/std/syscalls/syscall-s390.tbl
 create mode 100644 compel/arch/s390/plugins/std/syscalls/syscalls-s390.c
 create mode 100644 compel/arch/s390/scripts/compel-pack.lds.S
 create mode 100644 compel/arch/s390/src/lib/cpu.c
 create mode 120000 compel/arch/s390/src/lib/handle-elf-host.c
 create mode 100644 compel/arch/s390/src/lib/handle-elf.c
 create mode 100644 compel/arch/s390/src/lib/include/handle-elf.h
 create mode 100644 compel/arch/s390/src/lib/include/syscall.h
 create mode 100644 compel/arch/s390/src/lib/include/uapi/asm/breakpoints.h
 create mode 100644 compel/arch/s390/src/lib/include/uapi/asm/cpu.h
 create mode 100644 compel/arch/s390/src/lib/include/uapi/asm/fpu.h
 create mode 100644 compel/arch/s390/src/lib/include/uapi/asm/infect-types.h
 create mode 100644 compel/arch/s390/src/lib/include/uapi/asm/processor-flags.h
 create mode 100644 compel/arch/s390/src/lib/include/uapi/asm/sigframe.h
 create mode 100644 compel/arch/s390/src/lib/infect.c
 create mode 100644 criu/arch/s390/Makefile
 create mode 100644 criu/arch/s390/cpu.c
 create mode 100644 criu/arch/s390/crtools.c
 create mode 100644 criu/arch/s390/include/asm/dump.h
 create mode 100644 criu/arch/s390/include/asm/int.h
 create mode 100644 criu/arch/s390/include/asm/parasite-syscall.h
 create mode 100644 criu/arch/s390/include/asm/parasite.h
 create mode 100644 criu/arch/s390/include/asm/restore.h
 create mode 100644 criu/arch/s390/include/asm/restorer.h
 create mode 100644 criu/arch/s390/include/asm/types.h
 create mode 100644 criu/arch/s390/include/asm/vdso.h
 create mode 100644 criu/arch/s390/restorer.c
 create mode 100644 criu/arch/s390/sigframe.c
 create mode 100644 criu/arch/s390/vdso-pie.c
 create mode 100644 images/core-s390.proto
 create mode 100644 include/common/arch/s390/asm/atomic.h
 create mode 100644 include/common/arch/s390/asm/atomic_ops.h
 create mode 100644 include/common/arch/s390/asm/bitops.h
 create mode 100644 include/common/arch/s390/asm/bitsperlong.h
 create mode 100644 include/common/arch/s390/asm/linkage.h
 create mode 100644 include/common/arch/s390/asm/page.h
 create mode 100644 test/zdtm/lib/arch/s390/include/asm/atomic.h
 create mode 100644 test/zdtm/static/mntns-deleted-dst
 create mode 100644 test/zdtm/static/s390x_mmap_high.c
 create mode 100644 test/zdtm/static/s390x_mmap_high.desc

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux