From patchwork Wed May 12 10:20:20 2021 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: 435473 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp4685652jao; Wed, 12 May 2021 03:21:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF4uDU1hVma/jGJMGS2V89WPVZvYE94gC/1E4+RLY6mupNLcRfwTH7mVvxOaefl1B2W+jG X-Received: by 2002:ab0:12a:: with SMTP id 39mr31080267uak.19.1620814869446; Wed, 12 May 2021 03:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620814869; cv=none; d=google.com; s=arc-20160816; b=T4bjAQR5+a38KjnYv0mWbH7xjgQ/ES0kz/XrTxyAhxqAvQED94xMfrNrLyTLJoBJqJ HTgrA9R/xTYeGET8lVDvNlzY+bZ8g1gnd4GB/vE55CvOEm+4KJ896pbxIE8nvdv0bmwr wewOhcJg1apu8xSw7fYPIGmMMG2b97bYiKrIDW/VZANU8FpexgyazuRO0Zn1E8ltJ20D 6f9/rmentSD2gLT0gF2neDYtYvTQ+UJj1keKQ9s84+QXWaY923nlw7ZO6A0qHeqNpKdT lTYn+99+hkXy843Rdi9WaAEfvRS3xFrnUG3Qw7BGoqKwheIhnI+Vnf/JwkTrLXK/HBQR pdTQ== 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=IZk8GUqR7DhPCdmvGmYBRtbOpcgOJkWDFcVIv/+QqGA=; b=TEUyiApCQ+46sDA29MqObBu0atA01rm2sXC5GBKWEa5kD7ixc1Vfw10RgfANNR8hSj 4Yzn/xXvmfNDLcw5r23DWoJOj3ZLyG+1L4JJzemvaMq5V6d8vw/x4XnQuaa5SyhTN/u+ q4l9e6BlrDXPMRZUNXd0jD70/aTid5HhftU+pXcIkZpbFgCmAdJRnWPyzeTtTWHAeqhH qnFh723wRvTJkcjsGkgFOVZ+beP9M7f1/WwEwueNEakqODMXVU/MEUbWAId1wL8aQvNB RBT2WAFArj5PnrexYt1D5wr1jfR9jMpzZFw97FtPKhGoiPfsVG3a4jn7YAlbdUzIQwfV NqPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="Vg/gH3c9"; 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 a19si10080163vsj.408.2021.05.12.03.21.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 May 2021 03:21:09 -0700 (PDT) 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="Vg/gH3c9"; 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]:38048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lglzI-00039D-Qp for patch@linaro.org; Wed, 12 May 2021 06:21:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lglz7-00038h-DB for qemu-devel@nongnu.org; Wed, 12 May 2021 06:20:57 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:40922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lglz5-0003Sk-9A for qemu-devel@nongnu.org; Wed, 12 May 2021 06:20:57 -0400 Received: by mail-wr1-x430.google.com with SMTP id z17so3974186wrq.7 for ; Wed, 12 May 2021 03:20:54 -0700 (PDT) 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=IZk8GUqR7DhPCdmvGmYBRtbOpcgOJkWDFcVIv/+QqGA=; b=Vg/gH3c9PjzFkhQ5+YQSF6QVTo6fvTYrviAuiSuXqTne+iOTIcRlpMkCdvJjRS7yQa AAGFTSiYFT5jvp7x3bH/TpX+Ize5GK2DipSl160QUYkVXY9MLVlWgEr3fKeamS182WXB 69/Ciid5TrJI2Bk7wTJw3iSipnB+UItJJ746AUQkUQma5GShb2enGaIAKl4HugtaMa9u D027oF1jKvTvxTtMFCMGG2e7/211Ct1aEU7OQZLbfaBMhpWF9bTdc+9QGOmlrGcpRjGT KTnoLosn10Ir3+cJH3nVbtEIJR6/O7RWOHmJIy0lI+kcTR5a706ms2kPcqAVjQYBU0MZ pjRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IZk8GUqR7DhPCdmvGmYBRtbOpcgOJkWDFcVIv/+QqGA=; b=Rr5Yy3xFLmwmLS8GzGO4wU0b3F2rzJAdbFHJtd4GgcGzlvO6nRfx6aQlXD8of7ThQV kOfMMZ07/FVEQvaldctT+CD7czf7rfLMyMSpg2MPaBOD3H37WkOIzQUoSKRRzZON8pJ5 Rll34l2fbyx0nzIIKI3RC5iSePYIPSg+ZVjqAAlW8YAt9p58peZWBYQ1qTCtDkA78Sle bv0aXwEgMs8u9meWpzLyzBINSgLeo27iXtSeZjuOzub7kruR5Hc6t/gUPaZWdwi9d5y3 jHwjgvmHVQ23XIZs9HOSKxZQBUvD1Kl81O6O7o7eSP/anL1PU7XYttlgOOTdP6OZ/AIT /cYg== X-Gm-Message-State: AOAM531+Rm84FQxCRpzDywoLvnveZQc6LmE3LUPeyn0bK7w0LQMUaFZm YFA7mLwPX6f1Rm2FUsmt9sTaUQ== X-Received: by 2002:a05:6000:1b06:: with SMTP id f6mr43643742wrz.339.1620814853658; Wed, 12 May 2021 03:20:53 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a9sm26045192wmj.1.2021.05.12.03.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 03:20:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 23A731FF7E; Wed, 12 May 2021 11:20:51 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 00/31] testing/next pre-PR (hexagon, tricore, misc) Date: Wed, 12 May 2021 11:20:20 +0100 Message-Id: <20210512102051.12134-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, I was planning to cut the PR from v2 but I needed to squash a couple of remaining problems with the hexagon build and also when attempting to use clang to build the x86 tests. As a result here is a v3 that: - drops the signals stress test as it still triggers issues - sanitizier fail on __get_user(*get_freg(env, i), &sc->fpregs.fprs[i]); - qemu-s390x on s390x segs around 4% of the time - skip clang for building i386/x86_64 tests (falls back to docker) - tweak the hexagon image to include ninja/git The following still need review: - tests/tcg: don't allow clang as a cross compiler - tests/tcg: fix missing return - tests/tcg: don't iterate through other arch compilers Alessandro Di Federico (2): docker: Add Hexagon image tests/tcg: Use Hexagon Docker image Alex Bennée (9): tests/docker: fix copying of executable in "update" tests/docker: make executable an optional argument to "update" tests/docker: allow "update" to add the current user tests/docker: add "fetch" sub-command gitlab: add build-user-hexagon test tests/tcg: don't iterate through other arch compilers tests/tcg: fix missing return tests/tcg: don't allow clang as a cross compiler configure: use cc, not host_cc to set cross_cc for build arch Andrew Melnychenko (1): tests/docker: Added libbpf library to the docker files. Bastian Koppelmann (15): tests/tcg: Add docker_as and docker_ld cmds tests/tcg: Run timeout cmds using --foreground hw/tricore: Add testdevice for tests in tests/tcg/ tests/tcg/tricore: Add build infrastructure configure: Emit HOST_CC to config-host.mak tests/tcg/tricore: Add macros to create tests and first test 'abs' tests/tcg/tricore: Add bmerge test tests/tcg/tricore: Add clz test tests/tcg/tricore: Add dvstep test tests/tcg/tricore: Add fadd test tests/tcg/tricore: Add fmul test tests/tcg/tricore: Add ftoi test tests/tcg/tricore: Add madd test tests/tcg/tricore: Add msub test tests/tcg/tricore: Add muls test Greg Kurz (1): checkpatch: Fix use of uninitialized value Matheus Ferst (2): tests/docker: gcc-10 based images for ppc64{,le} tests tests/tcg/ppc64le: tests for brh/brw/brd Thomas Huth (1): cirrus.yml: Fix the MSYS2 task configure | 3 +- include/hw/tricore/tricore_testdevice.h | 38 ++++ tests/tcg/tricore/macros.h | 129 +++++++++++ hw/tricore/tricore_testboard.c | 8 + hw/tricore/tricore_testdevice.c | 82 +++++++ tests/tcg/multiarch/system/memory.c | 1 + tests/tcg/ppc64le/byte_reverse.c | 21 ++ .cirrus.yml | 4 +- .gitlab-ci.d/containers.yml | 13 +- .gitlab-ci.yml | 11 + MAINTAINERS | 3 + hw/tricore/meson.build | 1 + scripts/checkpatch.pl | 1 + tests/docker/Makefile.include | 29 ++- tests/docker/docker.py | 78 +++++-- tests/docker/dockerfiles/alpine.docker | 1 + tests/docker/dockerfiles/centos8.docker | 1 + .../dockerfiles/debian-hexagon-cross.docker | 45 ++++ .../build-toolchain.sh | 141 ++++++++++++ .../dockerfiles/debian-powerpc-cross.docker | 12 - .../debian-powerpc-test-cross.docker | 17 ++ .../dockerfiles/debian-ppc64-cross.docker | 11 - tests/docker/dockerfiles/fedora.docker | 1 + tests/tcg/Makefile.qemu | 17 ++ tests/tcg/Makefile.target | 5 +- tests/tcg/configure.sh | 207 +++++++++--------- tests/tcg/ppc64/Makefile.target | 13 ++ tests/tcg/ppc64le/Makefile.target | 13 ++ tests/tcg/tricore/Makefile.softmmu-target | 26 +++ tests/tcg/tricore/link.ld | 60 +++++ tests/tcg/tricore/test_abs.S | 7 + tests/tcg/tricore/test_bmerge.S | 8 + tests/tcg/tricore/test_clz.S | 9 + tests/tcg/tricore/test_dvstep.S | 15 ++ tests/tcg/tricore/test_fadd.S | 16 ++ tests/tcg/tricore/test_fmul.S | 8 + tests/tcg/tricore/test_ftoi.S | 10 + tests/tcg/tricore/test_madd.S | 11 + tests/tcg/tricore/test_msub.S | 9 + tests/tcg/tricore/test_muls.S | 9 + 40 files changed, 931 insertions(+), 163 deletions(-) create mode 100644 include/hw/tricore/tricore_testdevice.h create mode 100644 tests/tcg/tricore/macros.h create mode 100644 hw/tricore/tricore_testdevice.c create mode 100644 tests/tcg/ppc64le/byte_reverse.c create mode 100644 tests/docker/dockerfiles/debian-hexagon-cross.docker create mode 100755 tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh delete mode 100644 tests/docker/dockerfiles/debian-powerpc-cross.docker create mode 100644 tests/docker/dockerfiles/debian-powerpc-test-cross.docker delete mode 100644 tests/docker/dockerfiles/debian-ppc64-cross.docker create mode 100644 tests/tcg/tricore/Makefile.softmmu-target create mode 100644 tests/tcg/tricore/link.ld create mode 100644 tests/tcg/tricore/test_abs.S create mode 100644 tests/tcg/tricore/test_bmerge.S create mode 100644 tests/tcg/tricore/test_clz.S create mode 100644 tests/tcg/tricore/test_dvstep.S create mode 100644 tests/tcg/tricore/test_fadd.S create mode 100644 tests/tcg/tricore/test_fmul.S create mode 100644 tests/tcg/tricore/test_ftoi.S create mode 100644 tests/tcg/tricore/test_madd.S create mode 100644 tests/tcg/tricore/test_msub.S create mode 100644 tests/tcg/tricore/test_muls.S -- 2.20.1