From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hildenbrand Subject: [kvm-unit-tests PATCH v3 0/7] s390x: basic test infrastructure Date: Mon, 22 May 2017 10:56:55 +0200 Message-ID: <20170522085702.17856-1-david@redhat.com> Cc: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Thomas Huth , david@redhat.com, Christian Borntraeger , Cornelia Huck To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45756 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537AbdEVI5I (ORCPT ); Mon, 22 May 2017 04:57:08 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This adds the very basic infrastructure for s390x. For now, only a basic self test is provided. This one will also run under TCG. Parts taken from a prototype by Thomas Huth. v2 -> v3: - Fixed it up to allow for out-of-tree builds, added it to .travis.yml - Selftest: removed parameter intendation, dropped a ":" from inline asm David Hildenbrand (7): s390x: initial infrastructure s390x: basic self test s390x: copy sclp.h and sclp-ascii.c from QEMU s390x: compile sclp-ascii.c s390x: wire up sclp console output .travis.yml: add s390x MAINTAINERS: add s390x maintainers .travis.yml | 5 +++ MAINTAINERS | 7 +++ lib/s390x/asm/barrier.h | 16 +++++++ lib/s390x/asm/io.h | 18 ++++++++ lib/s390x/asm/page.h | 16 +++++++ lib/s390x/asm/spinlock.h | 16 +++++++ lib/s390x/asm/stack.h | 21 +++++++++ lib/s390x/io.c | 49 +++++++++++++++++++++ lib/s390x/sclp-ascii.c | 68 +++++++++++++++++++++++++++++ lib/s390x/sclp.h | 108 +++++++++++++++++++++++++++++++++++++++++++++++ lib/s390x/stack.c | 28 ++++++++++++ s390x/Makefile | 37 ++++++++++++++++ s390x/cstart64.S | 44 +++++++++++++++++++ s390x/flat.lds | 42 ++++++++++++++++++ s390x/run | 56 ++++++++++++++++++++++++ s390x/selftest.c | 41 ++++++++++++++++++ s390x/unittests.cfg | 24 +++++++++++ 17 files changed, 596 insertions(+) create mode 100644 lib/s390x/asm/barrier.h create mode 100644 lib/s390x/asm/io.h create mode 100644 lib/s390x/asm/page.h create mode 100644 lib/s390x/asm/spinlock.h create mode 100644 lib/s390x/asm/stack.h create mode 100644 lib/s390x/io.c create mode 100644 lib/s390x/sclp-ascii.c create mode 100644 lib/s390x/sclp.h create mode 100644 lib/s390x/stack.c create mode 100644 s390x/Makefile create mode 100644 s390x/cstart64.S create mode 100644 s390x/flat.lds create mode 100755 s390x/run create mode 100644 s390x/selftest.c create mode 100644 s390x/unittests.cfg -- 2.9.3