From patchwork Fri Feb 25 17:20:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 545915 Delivered-To: patch@linaro.org Received: by 2002:ac0:9f50:0:0:0:0:0 with SMTP id l16csp523135imf; Fri, 25 Feb 2022 10:04:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQf84jHGLqLBd0uZjd0MpKAC+sKflbEJdosQinIlOxWZxkuZFpzEjKzUZkE1LEjhtNMfZb X-Received: by 2002:a25:ade8:0:b0:624:426c:21ab with SMTP id d40-20020a25ade8000000b00624426c21abmr8055140ybe.564.1645812248977; Fri, 25 Feb 2022 10:04:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645812248; cv=none; d=google.com; s=arc-20160816; b=aonlamr6ZxjM/wIrMBFfWO7WhvnIxz/WDqFSYqJS25Gbmq7PjZ3YGgiiD4mhVHy9PZ EaIQC6ZJ5Md1dg3z9b10l/jaKAPwV9jT3r1DL+N7CtRGvx6B9iCRkXVZYhb+27rH7Djf 7BjJiHnw5B9huxUWibEoOoLxfQCIKofe2cI87GVQBFyh94uq2IJXNuZBNCUiRn+oh+rt vr4US9ymusZVnqSYpWIFL7opxJYL3ji6j6WdfG4SrYXWHBgnI1iVPbHR2jKhfNvh3MGK knk/BLXJCCLVVaVRitdI/ugvh3WaM2XNngAH0nKx5yTMk+r+bPHyG/sycAD8+oSI1pbO tkYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=Hc9848VzR+Si4ipzOwpZ6wOlLCqLImw6mENrIpFzBek=; b=CU1lLq1WrLfr+EbNn1HscBuAx+m8CXumfNrwJx3SIcy4e8io9QjREtqFE4DH453Unx R5J9MTW10cXzYA+D9ERIJSb2jojfI+Sklo+ZSfYZfo712O7I9FTa294JZvWFrZypLocj /fjBvF1Ojgwyd4kuseLQrn7Gv82B03dTPCjiK0UGODqVu9dvT+kHz1uJaCE9ZQrZgXXL YP/zRRaKGYX5El45CGGID8BlwqAYvqbfB51lGWb3Fb+vpFjVR9K+XKpK+RcUSscGl2V1 VpJat1lkijhqjNE9ReKtdn9ujMDCOLmTp7UsJcJqSDUzSvjQk/0L8TXzSbRE8JKbyFhZ kCZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F+Xl04Px; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p193-20020a2542ca000000b006245b07c977si2534787yba.563.2022.02.25.10.04.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Feb 2022 10:04:08 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F+Xl04Px; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNewp-0000FX-36 for patch@linaro.org; Fri, 25 Feb 2022 13:04:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNeGk-0003ln-9N for qemu-devel@nongnu.org; Fri, 25 Feb 2022 12:20:38 -0500 Received: from [2a00:1450:4864:20::529] (port=33479 helo=mail-ed1-x529.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNeGf-0002Kt-Ta for qemu-devel@nongnu.org; Fri, 25 Feb 2022 12:20:36 -0500 Received: by mail-ed1-x529.google.com with SMTP id s14so8411030edw.0 for ; Fri, 25 Feb 2022 09:20:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hc9848VzR+Si4ipzOwpZ6wOlLCqLImw6mENrIpFzBek=; b=F+Xl04PxnfZldjoLiGzFc31C/sw323wnoN1LQA3HvQICSJA/Tr3HJNUIknB3Kk/I4p Z7u0VE+gxlUriWd90xR70mpLWA4esgfjDKrLojnez2agS2SqhOk0lwFskV22v63OmlqH DkpQImbN9nJ3gnNy8iyOvSfWCwN78m5XoG9xtLl1ZMFjqN4ARviwzxYVRLYy5HXJP+Rq cQOR1ce8CS82+jyLmkk84x1lBJ7omGizKElZjD0V8RNqb/YaAeP6li/eVfG6DgN3vI3U ZapTYLS3t4JKxsBbrgjz3TfotbmjtWLNXgU51X4C75THB1KxaxSJwAix6uKW73qv4x5+ Nwvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Hc9848VzR+Si4ipzOwpZ6wOlLCqLImw6mENrIpFzBek=; b=6xaf4RGfPFUVhs7F0Ze9EVF8TdJVqx/1V5TFJLkHUkjiBO7qCeaxRMDU6PYsH7Eyd0 Y43YoDSRLA4jYfoh7G1IdsUKJKXyGxD7t+ek5YXAx1mYJFNsfn/5pzMQRpH2s1TsE5F4 8PK/QcmqUHB+bbJPGknPp4I9Xk/JTw3HYQbRPC2M/XGStKP1Fcxtcm9MwbLw4wWfdlzH HRHu1QkejhWkaXHtdMfPhF6Xrt6ETc2FmySzwbvLRN66fd3uX5uAPJ8TRQe0Eo9Ly0QF noBHeTlan1uSQpmKO1ROieTTQxkyyr5uvzrNzZbldR2U0g+XRY6536u7eDkZlZm2XJDX QXZg== X-Gm-Message-State: AOAM531g/o5kAs+6XHe/uAjkC9I8ssGe46wkgm8+hoQ0Xdxx0SzE6++R JJMm8EyKnnhD0h08vc41lXfIAg== X-Received: by 2002:a05:6402:2805:b0:405:f6a8:f74 with SMTP id h5-20020a056402280500b00405f6a80f74mr7997981ede.241.1645809624502; Fri, 25 Feb 2022 09:20:24 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id n10-20020a170906688a00b006ce29973bafsm1220217ejr.211.2022.02.25.09.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 09:20:22 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id F217D1FFB7; Fri, 25 Feb 2022 17:20:21 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 00/18] testing and semihosting pre-PR Date: Fri, 25 Feb 2022 17:20:03 +0000 Message-Id: <20220225172021.3493923-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::529 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x529.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, sw@weilnetz.de, richard.henderson@linaro.org, f4bug@amsat.org, qemu-arm@nongnu.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Alex_?= =?utf-8?q?Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, This is the current state of my testing and semihosting trees which I intend to generate a PR for next week. I'd like to have a clean plate by the time we hit softfreeze. I'll probably have to drop the sha512 vector test patches as they break TCI unless someone can figure out what is going wrong. The following patches still need review: - tests/tcg: completely disable threadcount for sh4 - tests/tcg: add sha512 test - tests/tcg/ppc64: clean-up handling of byte-reverse - gitlab: add a new aarch32 custom runner definition - scripts/ci: allow for a secondary runner - scripts/ci: add build env rules for aarch32 on aarch64 - tests/docker: update debian-s390x-cross with lcitool - tests/lcitool: update to latest version - tests/docker: restore TESTS/IMAGES filtering Alex Bennée (17): tests/docker: restore TESTS/IMAGES filtering tests/docker: add NOUSER for alpine image tests/lcitool: update to latest version tests/docker: update debian-arm64-cross with lci-tool tests/docker: update debian-s390x-cross with lcitool tests/docker: introduce debian-riscv64-test-cross scripts/ci: add build env rules for aarch32 on aarch64 scripts/ci: allow for a secondary runner gitlab: add a new aarch32 custom runner definition tests/tcg/ppc64: clean-up handling of byte-reverse tests/tcg: build sha1-vector with O3 and compare tests/tcg: add sha512 test tests/tcg: add vectorised sha512 versions gitlab: upgrade the job definition for s390x to 20.04 tests/tcg: completely disable threadcount for sh4 semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO tests/tcg: port SYS_HEAPINFO to a system test Thomas Huth (1): travis.yml: Update the s390x jobs to Ubuntu Focal docs/devel/ci-jobs.rst.inc | 7 + include/hw/loader.h | 14 + hw/core/loader.c | 86 ++ semihosting/arm-compat-semi.c | 124 +-- tests/tcg/aarch64/system/semiheap.c | 93 ++ tests/tcg/multiarch/sha512.c | 990 ++++++++++++++++++ .gitlab-ci.d/container-cross.yml | 20 +- .gitlab-ci.d/custom-runners.yml | 2 +- ...18.04-s390x.yml => ubuntu-20.04-s390x.yml} | 28 +- .../custom-runners/ubuntu-20.40-aarch32.yml | 23 + .travis.yml | 12 +- MAINTAINERS | 1 + scripts/ci/setup/build-environment.yml | 25 + scripts/ci/setup/gitlab-runner.yml | 38 + tests/docker/Makefile.include | 29 +- .../dockerfiles/debian-arm64-cross.docker | 186 +++- .../debian-arm64-test-cross.docker | 13 - .../debian-riscv64-test-cross.docker | 12 + .../dockerfiles/debian-s390x-cross.docker | 181 +++- tests/docker/dockerfiles/opensuse-leap.docker | 3 +- tests/docker/dockerfiles/ubuntu1804.docker | 3 +- tests/docker/dockerfiles/ubuntu2004.docker | 3 +- tests/lcitool/libvirt-ci | 2 +- tests/lcitool/refresh | 16 + tests/tcg/aarch64/Makefile.target | 17 + tests/tcg/arm/Makefile.target | 17 + tests/tcg/configure.sh | 4 +- tests/tcg/i386/Makefile.target | 6 + tests/tcg/ppc64/Makefile.target | 20 +- tests/tcg/ppc64le/Makefile.target | 9 +- tests/tcg/s390x/Makefile.target | 9 + tests/tcg/sh4/Makefile.target | 2 + tests/tcg/x86_64/Makefile.target | 7 + 33 files changed, 1813 insertions(+), 189 deletions(-) create mode 100644 tests/tcg/aarch64/system/semiheap.c create mode 100644 tests/tcg/multiarch/sha512.c rename .gitlab-ci.d/custom-runners/{ubuntu-18.04-s390x.yml => ubuntu-20.04-s390x.yml} (87%) create mode 100644 .gitlab-ci.d/custom-runners/ubuntu-20.40-aarch32.yml delete mode 100644 tests/docker/dockerfiles/debian-arm64-test-cross.docker create mode 100644 tests/docker/dockerfiles/debian-riscv64-test-cross.docker