From patchwork Mon Apr 19 14:54:10 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: 423996 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp2791256jaf; Mon, 19 Apr 2021 07:56:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXVbMChlOO3er8m8VZblObDHI+HsAs+WETW5k+ccA9NsN8klSI9PsftBqpICqrYjkmiWpl X-Received: by 2002:a05:6e02:1062:: with SMTP id q2mr18048067ilj.194.1618844165522; Mon, 19 Apr 2021 07:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618844165; cv=none; d=google.com; s=arc-20160816; b=yZE79gIaiF/dDEX+grKHsSs22/AEOJXccbP+/0npEHHBWK2T8fjuGT1ApU7nwc5Lzn E6FEC3vAmU4nAA6jytuSSg3dIXdbJ2kFvl0lLJ8CJ7TqB2ayoFKkKOLB1zShb/6qmbJQ F1+g2nc7itfVCndG6E89diJJzUJgzDu/9xeNGnTloKfDvOVvfl3WH/eg3FMaCTN//YzH MWBrtomFCm40QBQMrLdXEebanuGfY8dEN4klulKy91gT6Kx0wv9RQGZKFjHcuMEV1RLu MdeA0BiCl+aPkYUY3JUwFyDmeQI3dL1uKMlM66laTzc3JjlbJKgGXwhltohEvpkrQW+Z WOWw== 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=dZOeTxdPuwy8HJl5kf8O3xEO7xibb3lbAKtiwiUZ/kg=; b=aFwxmp1Uy8AQ/Ba3nbbx6yMC7hwX9txNCfcXjtsEedKabJVw+aVyKtv+qn2m8jNfah uUVNxw7mF0iCqCUkICMevJxl3m9FSrZoIEUpu7/CnD3BINtJ1DPWnANroMWblK9cJV1n WPgcfevfLReB59b+nNna0BHrOa369KqNo0x0SCgxeibaWI78qpfAie7G7r3N63/WoeRX 0+83ON5TY2IBNgX5xUVt00HNgIGXVslNH1bBye47paoeIuKiVapBB3o4vrXo6Qx56gGz 9waNFXq3KtmtjSnJtBE1irsyl8hHp3gqSEmSLh1YKGDtm585nLJLtLiHjjTjmBxhY51v dNzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JYdEu5Np; 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 a1si20066680jat.14.2021.04.19.07.56.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Apr 2021 07:56:05 -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=JYdEu5Np; 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]:49028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYVJk-0002yu-TE for patch@linaro.org; Mon, 19 Apr 2021 10:56:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYVIO-0002yd-I0 for qemu-devel@nongnu.org; Mon, 19 Apr 2021 10:54:40 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:45717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYVIM-0006rl-My for qemu-devel@nongnu.org; Mon, 19 Apr 2021 10:54:40 -0400 Received: by mail-wr1-x430.google.com with SMTP id h4so25334347wrt.12 for ; Mon, 19 Apr 2021 07:54:38 -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=dZOeTxdPuwy8HJl5kf8O3xEO7xibb3lbAKtiwiUZ/kg=; b=JYdEu5Np7YQOO3F+o5QoIvrrNl1J/xhQHQ9Z/kg2UogkYP6U9rOB5OfSH33lM/EZyR xq1GqjiPuLwqVZ6tTRCyQOcDpcRJ1q72CnwgJjXBgqxVonsaEbaN2/nljJ3pwhMpJkfE Bd/wA9Xt3ypirP8rIE9kouphqOslSThbmygw9vrEFsne5MCQ8YCkAhK2S6CHIkVsoTWB uYqQBMhr46ARZPfWwF0OE5O4SiDobNSHFUxJCuyjPM0LMYqjLFXbTBQ5hEPbgEOHpelf 0SBcgwU2fv2mMuLmkDHsGOPhzapdpSz2GdsodfPSaopWpBxs7wm7TFZt/6fvrx7Xgh4D n7/w== 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=dZOeTxdPuwy8HJl5kf8O3xEO7xibb3lbAKtiwiUZ/kg=; b=kKtEDqqyMLiEqkPwoDS4IlDUquh+/kSDE9I1lFcNlYia9nu0v44x70IK/gf2NuI4Qu +auBF8MEUNEaxNoaUKyrUxH5aBgrbABV7i/HwJTJyi8XIVL5zGMHoTEUGr6Z68rRAweR JMmm1E5l+XDVXN1zy4co3k31z6+xq/556jP99cs9uo8xTE60/b+3RIcI+xrzWAZAX/PB byvAfMYhCjPjwSEJ8PAUcGTbY7tgu0ojEw/crvctGwS4iEnmA+Jfbe6jhr2bkL16pc0x nMwvpzlItdMYcOtr8G51AUoxtwvZD5VpAc7cA22lJuUBy6BIyWPk3GyJpuIdrwfpCC6I 8euw== X-Gm-Message-State: AOAM5305JN6cFzvPKq79LfRBxIYqKIBk7lGtLmb+bdT5ov0CyBlhGOth nOK/CovT3dcMRDanrX1Bwv9o/g== X-Received: by 2002:a5d:4e81:: with SMTP id e1mr15028482wru.305.1618844077224; Mon, 19 Apr 2021 07:54:37 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h10sm8891026wrt.40.2021.04.19.07.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Apr 2021 07:54:36 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 964641FF7E; Mon, 19 Apr 2021 15:54:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH for post 6.0 v1 00/25] testing/next (hexagon/tricore/test cc) Date: Mon, 19 Apr 2021 15:54:10 +0100 Message-Id: <20210419145435.14083-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, This is the current state of my testing tree in preparation for the opening of the flood gates once 6.0 is out of the door. It includes fixes for 3 areas: - updates to the docker scripting to support pre-built images, specifically for hexagon - some tweaks to tcg/configure.sh to deal with disabling local compiler usage. - a series of patches adding support for Tricore TCG tests I'm also carrying Greg's tweak to checkpatch. Currently the following have not got reviews: - tests/tcg: don't iterate through other arch compilers - docker: Add Hexagon image - tests/docker: add "fetch" sub-command - tests/docker: allow "update" to add the current user - tests/docker: make executable an optional argument to "update" - tests/docker: fix copying of executable in "update" Alessandro Di Federico (2): docker: Add Hexagon image tests/tcg: Use Hexagon Docker image Alex Bennée (6): 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 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 configure | 1 + 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 ++++++++ .gitlab-ci.yml | 11 ++ MAINTAINERS | 3 + hw/tricore/meson.build | 1 + scripts/checkpatch.pl | 1 + tests/docker/Makefile.include | 24 ++- tests/docker/docker.py | 78 +++++--- tests/docker/dockerfiles/alpine.docker | 1 + tests/docker/dockerfiles/centos8.docker | 1 + .../dockerfiles/debian-hexagon-cross.docker | 44 +++++ .../build-toolchain.sh | 141 ++++++++++++++ tests/docker/dockerfiles/fedora.docker | 1 + tests/tcg/Makefile.qemu | 15 ++ tests/tcg/Makefile.target | 5 +- tests/tcg/configure.sh | 175 +++++++++--------- tests/tcg/tricore/Makefile.softmmu-target | 26 +++ .../tcg/tricore/Makefile.softmmu-target.orig | 25 +++ 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 + 32 files changed, 858 insertions(+), 114 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/docker/dockerfiles/debian-hexagon-cross.docker create mode 100755 tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh create mode 100644 tests/tcg/tricore/Makefile.softmmu-target create mode 100644 tests/tcg/tricore/Makefile.softmmu-target.orig 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