From patchwork Wed May 20 14:05:26 2020 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: 186989 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp657030ilb; Wed, 20 May 2020 07:14:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztnGF9/nOaVHzIzmR599FkGAWoY6C9/Tm6SRAHaAjWRDHXahVyCU27zjUsLVOxNg8/dwIs X-Received: by 2002:a37:e30f:: with SMTP id y15mr4925578qki.249.1589984071954; Wed, 20 May 2020 07:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589984071; cv=none; d=google.com; s=arc-20160816; b=uxH28XwsIUL37HTLTK5OeKsDUusG0VrkkvKK7bYTCQ5Zf0fqr8EZQ+38aTMbQuJ/MG tmCQwUYGb2f+tEwjIzeaCQMURgv0303brr4QC6ZvTJ3rVrnxHZsI8C8Xcl6jUGq4fDJR Y8wOffUmOYVeJ2p0NigcU1MW1lApNmQij5uzyHmy1Y83LjUyxgTVpJU+hUNKbeemMPHJ 5+06hyg6QnBACIxja5RGRngWz2xhLaVjHgCzFJZhDWb/oFU9rF9npqs7qCuCAf7SOVm5 qOf60ng3g6DSittyQD9fWPObvZIfywA+p2/aPVLnuw89Zk4jS2F3yUeqSgfGRVlAwwOR QCgw== 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=+eYBUW9i9LEqNAlwNOSXlSk7O/CmGupV0lmi1g2GZD4=; b=rcfT8hw8V/byEBwm6YVh1UNC2tnMXO34xgt/9fdh1XZFXRb8RFSDwI2jcUd25jzNO6 F+7QnLwf+Gb0USdaj/xbN4G4exJXocT9rvz+VkT9LypusIrnhS4qSXOSUs6jvz8xDu4m 1g3REILv9QtVlaa6Ylj6tOW+0WIrrVfewzP0YKLajJDF1KDI3fq+BxgyOaWbUcal79HA jg59l/7B0aUKrqNM8UZ4HybU3VqQHhyRyauc77v66cfRMzvuQ57pf91RIYUlCgpx4YvU GKO6/NqRN0eyeT5B4LsOm8Qoxez4kEWuSEgRK03LUMVjuwvUS4tq7j7/Cz3j8pbFEf4S YtMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="qAZ/tnxv"; 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=pass (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 x7si1546457qtk.156.2020.05.20.07.14.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 May 2020 07:14:31 -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=pass header.i=@linaro.org header.s=google header.b="qAZ/tnxv"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbPUN-0005Nt-5p for patch@linaro.org; Wed, 20 May 2020 10:14:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbPM2-0008Sz-H8 for qemu-devel@nongnu.org; Wed, 20 May 2020 10:05:54 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:34964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbPM0-0001ur-OJ for qemu-devel@nongnu.org; Wed, 20 May 2020 10:05:54 -0400 Received: by mail-ej1-x633.google.com with SMTP id s21so3982651ejd.2 for ; Wed, 20 May 2020 07:05:50 -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=+eYBUW9i9LEqNAlwNOSXlSk7O/CmGupV0lmi1g2GZD4=; b=qAZ/tnxvhbwE8lF4CoUEsT1QfzJvxKEy9Zn159AoIUQFUH7eqeycSQj3fFG+5HXHOa +g5HgxBGl8VQyekidzHCF1O1r6M0dpW4356a0wfYPY4GtfbfFG9bst8QFZZzCio7AXdy YPPE5V7eTHgBcQe1KFzPywxQWKVj7GXUf85dn57eV/0Fyc5EzmSAe6dJUBLfe5WnfnOy l8g16uFzwvnS5r6bDDoD4eDEMSwGSy2p6TAeIJibgy3XQdFWXUJUtiO5nJMdC38rrTb3 cUUuK/JZuEEU4tYA9kqQCCKYAG2Ba8ZGoID7qlyrg+5to8+B1M7uX8ly5aSfELA7wb08 8kRA== 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=+eYBUW9i9LEqNAlwNOSXlSk7O/CmGupV0lmi1g2GZD4=; b=f+IU06eHs4+sJ/x95WV+XUG9WaXSDz0U6izjT5svpwm647m4/ZipkYSS9G1E3rXGyg FGT+zErnb5kPiS/2yS1HkkZEFrY3FefwDMHP6vWbF1i5X8ljUDLASL7EmPiFhCOeM0kl SdnXubb99KD4cIc0Ptd8wex+FzLEqAD3e4KsVQCBaCd6Rsd2Y9+9Nv/YFbGpylTJHdkv iZwf62xMV89U2pENBFZEbLZPP3+5Pn6U+huMGRMAvmfHYvUuvpGpMuADregQ2D4ZSvck ky2mJ8l8k7k1Ns3qViY2S4jJi/2dvO8WOgkeMtMuCKNK2/7oV7LOFsDQVZgdQu+9wUFC fshg== X-Gm-Message-State: AOAM533nt9+KFzQXjcpuMtKZ/rRZrU8JEyf8Ox3gIQuZ0NRg9RQO7bFX wQu3OT3WfCEY90656XBnAXhQjA== X-Received: by 2002:a17:906:2610:: with SMTP id h16mr3994006ejc.423.1589983544544; Wed, 20 May 2020 07:05:44 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id lr21sm2026808ejb.117.2020.05.20.07.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2020 07:05:42 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 357221FF7E; Wed, 20 May 2020 15:05:41 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 00/15] testing and plugin updates Date: Wed, 20 May 2020 15:05:26 +0100 Message-Id: <20200520140541.30256-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::633; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x633.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, Here is the current status of various testing and plugin related patches. Most of the patches should be uncontroversial although I would draw attention to the cpu and linux-user QOM object lifetime patches. I think properly de-referencing the vCPU object associated with the linux-user thread is the cleaner solution but it does involve also changing some assumptions about the cpu indexing. The following patches need review: - plugins: new lockstep plugin for debugging TCG changes - linux-user: properly "unrealize" vCPU object - cpus-common: ensure auto-assigned cpu_indexes don't clash - tests/docker: use a gcc-10 based image for arm64 tests - tests/docker: add debian11 base image - tests/docker: bump fedora to 32 - tests/tcg: better detect confused gdb which can't connect - tests/fp: split and audit the conversion tests - tests/fp: enable extf80_le_quite tests - configure: add alternate binary for genisoimage Alex Bennée (13): configure: add alternate binary for genisoimage tests/vm: pass --genisoimage to basevm script tests/tcg: fix invocation of the memory record/replay tests tests/fp: enable extf80_le_quite tests tests/fp: split and audit the conversion tests tests/tcg: better detect confused gdb which can't connect tests/docker: bump fedora to 32 tests/docker: add debian11 base image tests/docker: use a gcc-10 based image for arm64 tests cpus-common: ensure auto-assigned cpu_indexes don't clash linux-user: properly "unrealize" vCPU object tests/tcg: add new threadcount test plugins: new lockstep plugin for debugging TCG changes Richard Henderson (1): tests/tcg/aarch64: Add bti smoke test Thomas Huth (1): travis.yml: Use clang++ in the Clang tests configure | 2 +- cpus-common.c | 10 +- linux-user/syscall.c | 19 +- tests/plugin/lockstep.c | 340 ++++++++++++++++++ tests/tcg/aarch64/bti-1.c | 62 ++++ tests/tcg/aarch64/bti-crt.inc.c | 51 +++ tests/tcg/multiarch/threadcount.c | 64 ++++ .travis.yml | 8 +- tests/Makefile.include | 44 ++- tests/docker/Makefile.include | 4 +- .../debian-arm64-test-cross.docker | 13 + tests/docker/dockerfiles/debian11.docker | 18 + tests/docker/dockerfiles/fedora.docker | 2 +- tests/plugin/Makefile | 1 + tests/tcg/Makefile.target | 2 +- tests/tcg/aarch64/Makefile.softmmu-target | 2 +- tests/tcg/aarch64/Makefile.target | 9 + tests/tcg/configure.sh | 8 +- tests/tcg/multiarch/Makefile.target | 2 + tests/tcg/multiarch/gdbstub/sha1.py | 4 + tests/vm/Makefile.include | 1 + tests/vm/basevm.py | 16 +- 22 files changed, 641 insertions(+), 41 deletions(-) create mode 100644 tests/plugin/lockstep.c create mode 100644 tests/tcg/aarch64/bti-1.c create mode 100644 tests/tcg/aarch64/bti-crt.inc.c create mode 100644 tests/tcg/multiarch/threadcount.c create mode 100644 tests/docker/dockerfiles/debian-arm64-test-cross.docker create mode 100644 tests/docker/dockerfiles/debian11.docker -- 2.20.1