From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046565; cv=none; d=zohomail.com; s=zohoarc; b=Rl0fLyEYGhru4DCbzq3yXPNblIIIeNNW/uF5TulUSIYzPuHBzNyb9IPR+TG/NKPTjzJoZvrP9BSJMEHQoKk9KgV9uMSh6Qa8iJQJzC287/kkgUbyO3CNMLc5AzR35qgUww0C2sgGmkstteEsS6sVFjyEzjTmPZC15gB2XFTLb5I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046565; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=OfV20wDQiQfC7BsYy4k3NMKtcqz6Zhn9KKxdloWgusA=; b=kVJxe418YuT16TG/P2S0Sy73dFQFuAyNpDowB06Fp02LNJtUbHaVmTXkFaxSj8CAhbDR/N7k25f5r7/PT7FEAnf5RbO7eUr3xwFcgr1hTeQ4g29EZXN972maDOCpqMBAjB1FTeLZYlH4opMO4kfqCldgXpTaMKZmWyDMtnxC6vo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046564752902.2517413434097; Thu, 11 Feb 2021 04:29:24 -0800 (PST) Received: from localhost ([::1]:52866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAB63-0004Nf-NC for importer@patchew.org; Thu, 11 Feb 2021 07:29:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4e-0002je-Dk for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:27:56 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:44431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4c-0003o3-Ku for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:27:56 -0500 Received: by mail-wr1-x432.google.com with SMTP id g6so3952097wrs.11 for ; Thu, 11 Feb 2021 04:27:54 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a84sm9943176wme.12.2021.02.11.04.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:51 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 161D41FF87; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OfV20wDQiQfC7BsYy4k3NMKtcqz6Zhn9KKxdloWgusA=; b=m1rTmN78akKlGogycP+B0aGjC2yJbd0YeF8de/Fia2NPx/bFwyKHv7gRD+I14e3iqd Xo1NmWhCnWYTW8sG8Wm00dOIFPhM+CfxEq9vBIF734gCIueG3q4Qb5k5lxnpOxstG6bl fGB9sx5rC/i6NwPBNlr2svNTXkZacMNoZDtoXBMbniSKueE6e/S0nN+Z0w7Qdzm0RGwi dEC9/q+uZoSyPv5FwpQ8/8yHIJcEss694RsESxZt6KSqJHLhvZ5XYMuCsVtVFQmlJme2 c3LQ2iNRpK/D8XEB61L2Y4O0kxmMTXhjOwhH0HZJdI5xDyFpVZI3MMFUsLEGyp9LRV2I oXSg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=OfV20wDQiQfC7BsYy4k3NMKtcqz6Zhn9KKxdloWgusA=; b=W3smDiXSi5nto1HDysU/ytd3CUQpcN1ZJibj6kVCoVtJ9h0/yjYYi4x2Wp+ewJ81EG aXBGm4Ph0Kqdz8NFQT7Df3eVT4ecE9Lr+tJK2Kb/Zq05xuBrXOaHPio9PKN9TK0HqUG2 sfivFI1xe66gLoRmzMHmYP5is4exIy8Hc0reEZVj6x1tnvMBAfHkVeieYz/L6Yk8MbjR RtxUI2M+Co5z/0WwL4wMlt697c2leDmJ0CPBLBBb8N5BS/0kWcrw8o3zWVpi6PeBBEe/ b6Ymb6QXvY8H222u9/tQB+hmyN9p14vp4lD1RS3ZkwqR2l38IkFXSzqnNR32dFXDTlvA njaQ== X-Gm-Message-State: AOAM530DskOCk0+3+w0gc2zkRduRvzsagE0MwH/b/l/DjgQbGMvSvle2 G+5lIfnz0pjtPNosdZArVIzLgQ== X-Google-Smtp-Source: ABdhPJx24daMA/rTsoXeUIX+w6CC9wXriYN8acBPCx1qbJESrG9qdbb4lRORB0ijtlemhJ/ms+KwOA== X-Received: by 2002:a05:6000:242:: with SMTP id m2mr553581wrz.422.1613046473215; Thu, 11 Feb 2021 04:27:53 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 01/15] travis.yml: Move gprof/gcov test across to gitlab Date: Thu, 11 Feb 2021 12:27:36 +0000 Message-Id: <20210211122750.22645-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.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, Thomas Huth , berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, Wainer dos Santos Moschetta , =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 Similarly to commit 8cdb2cef3f1, move the gprof/gcov test to GitLab. The coverage-summary.sh script is not Travis-CI specific, make it generic. [thuth: Add gcovr and bsdmainutils which are required for the coverage-summary.sh script to the ubuntu docker file, and use 'check' as test target] Message-Id: <20201108204535.2319870-10-philmd@redhat.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Wainer dos Santos Moschetta Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210211045455.456371-2-thuth@redhat.com> --- .gitlab-ci.yml | 12 ++++++++++++ .travis.yml | 15 --------------- MAINTAINERS | 2 +- scripts/{travis =3D> ci}/coverage-summary.sh | 2 +- tests/docker/dockerfiles/ubuntu2004.docker | 2 ++ 5 files changed, 16 insertions(+), 17 deletions(-) rename scripts/{travis =3D> ci}/coverage-summary.sh (92%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28a83afb91..222858b553 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -467,6 +467,18 @@ check-deprecated: MAKE_CHECK_ARGS: check-tcg allow_failure: true =20 +# gprof/gcov are GCC features +gprof-gcov: + <<: *native_build_job_definition + variables: + IMAGE: ubuntu2004 + CONFIGURE_ARGS: --enable-gprof --enable-gcov + MAKE_CHECK_ARGS: check + TARGETS: aarch64-softmmu ppc64-softmmu s390x-softmmu x86_64-softmmu + timeout: 70m + after_script: + - ${CI_PROJECT_DIR}/scripts/ci/coverage-summary.sh + build-oss-fuzz: <<: *native_build_job_definition variables: diff --git a/.travis.yml b/.travis.yml index 5f1dea873e..05fa1ca905 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,6 @@ addons: - ninja-build - sparse - uuid-dev - - gcovr # Tests dependencies - genisoimage =20 @@ -166,20 +165,6 @@ jobs: compiler: clang =20 =20 - # gprof/gcov are GCC features - - name: "GCC gprof/gcov" - dist: bionic - addons: - apt: - packages: - - ninja-build - env: - - CONFIG=3D"--enable-gprof --enable-gcov --disable-libssh - --target-list=3D${MAIN_SOFTMMU_TARGETS}" - after_success: - - ${SRC_DIR}/scripts/travis/coverage-summary.sh - - # Using newer GCC with sanitizers - name: "GCC9 with sanitizers (softmmu)" dist: bionic diff --git a/MAINTAINERS b/MAINTAINERS index e6f1eca30f..cc8767d4b4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3233,7 +3233,7 @@ R: Philippe Mathieu-Daud=C3=A9 S: Maintained F: .github/lockdown.yml F: .travis.yml -F: scripts/travis/ +F: scripts/ci/ F: .shippable.yml F: tests/docker/ F: tests/vm/ diff --git a/scripts/travis/coverage-summary.sh b/scripts/ci/coverage-summa= ry.sh similarity index 92% rename from scripts/travis/coverage-summary.sh rename to scripts/ci/coverage-summary.sh index d7086cf9ca..8d9fb4de40 100755 --- a/scripts/travis/coverage-summary.sh +++ b/scripts/ci/coverage-summary.sh @@ -3,7 +3,7 @@ # Author: Alex Benn=C3=A9e # # Summerise the state of code coverage with gcovr and tweak the output -# to be more sane on Travis hosts. As we expect to be executed on a +# to be more sane on CI runner. As we expect to be executed on a # throw away CI instance we do spam temp files all over the shop. You # most likely don't want to execute this script but just call gcovr # directly. See also "make coverage-report" diff --git a/tests/docker/dockerfiles/ubuntu2004.docker b/tests/docker/dock= erfiles/ubuntu2004.docker index 8519584d2b..9750016e51 100644 --- a/tests/docker/dockerfiles/ubuntu2004.docker +++ b/tests/docker/dockerfiles/ubuntu2004.docker @@ -1,8 +1,10 @@ FROM ubuntu:20.04 ENV PACKAGES flex bison \ + bsdmainutils \ ccache \ clang-10\ gcc \ + gcovr \ genisoimage \ gettext \ git \ --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046570; cv=none; d=zohomail.com; s=zohoarc; b=PfVmXCt/kr/uwvgk7N27/TXoRunl32pKR/MpLaSJA0A/A06dnBoQqu2Qa5LFV4OUjDcsaNa2olZlFOkuUzeE+ymLPnA+ZEMmYL0dDGYtWva7R/33EMXHU93qPTPD7ysmwCACeyEQcLJiFadmiIZ3I833fQZe6wm9xYC7sxXIjEI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046570; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=uJnQ+vDRiYWzAH5ii1I9lgXMv0YbUk7I6oDAWjuTyE4=; b=aXTiuiVHJym3lgnmeoRfgTdiyeyTq7jIZ60zBx1CPKLaP5V51b4kKHGTb5SzL5JipMPInJHJVKL9Gs5//n1grPuYL40ffBKTDn0JNk8r0bcylrFzghSlKh7FaiIf6p5bKXQcPYRPyhuYoX9XVX+svvWbiIPPdvlZbqq32RuVCNA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046570383808.6733159750312; Thu, 11 Feb 2021 04:29:30 -0800 (PST) Received: from localhost ([::1]:53216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAB66-0004WR-8A for importer@patchew.org; Thu, 11 Feb 2021 07:29:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4g-0002kf-5T for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:27:58 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:38115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4e-0003pF-Ed for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:27:57 -0500 Received: by mail-wr1-x42a.google.com with SMTP id b3so4000744wrj.5 for ; Thu, 11 Feb 2021 04:27:56 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k205sm10642191wmf.23.2021.02.11.04.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:52 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2F92B1FF8C; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uJnQ+vDRiYWzAH5ii1I9lgXMv0YbUk7I6oDAWjuTyE4=; b=Skz3IcpK9na6d4nJBiz/9U6mOPaMhG7CqM4t2K+ejgcd9W9c1GmoFB9xBVm2J/kp0G iTDg5SS2IkkDENxTV3VkEpyoAJO991Yvc2o7wkRxpQ2CoZxZpxepf8bdyIMiLWURLYZy V6/pTQd2EUkAM7XVEXUm+JE74Mm3mQklLiD1VV878oysmWcQWdetsAa26sZKG13P4Bb4 czZIq8or+GByC40M5eUSyVK6v8txdscLbQNKgQZGN7Ap0KiwhZQ2P9d9d+mtHWYxSfpt LRrD1y75h7gtQy0hqNPu2rfzqglYYbTO27Num/onvuI2Q1K9/axvwcsXd12qS5KiIMry 70dQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=uJnQ+vDRiYWzAH5ii1I9lgXMv0YbUk7I6oDAWjuTyE4=; b=LVyy/j51gCyrq/Vba91HFcB7wnOEb/nUei+REh5p9Mh2dJofTsR6dABuOj1B2Wah1i BBQfwcu3f+OQCMKS6sfjGJhbsZdkPSmypzlD+gS0vR8V/9rCud1/d9QluAuSZpqSgUti zqiN1eU80GChjXMqfIT6n2cRMV05o7ARNjM2efMMTYzwg8DWQN716LYzHqVJdTmC3WRF +ccHBA36o3FDVbGa7AjOwHznn8aJgKqntmvtLEVu+O5WGdJSOLpLmAKccogA8HXY/OVB r5XjlrlfmMMNtYN/txDHjIcp1OUK1k1TwdE3smO4Mp9aJIvquzNze7EpKk6Bp6MsQiZ6 k5Dg== X-Gm-Message-State: AOAM53094JOWdSMbwC7SCAIRNWwRKW8wIb6rQpBYRg7NmlAMJnNKNopg G8ZuuzpULNj0TUt6gne1c59q4g== X-Google-Smtp-Source: ABdhPJzj8bVYAqT2jrwF/3+vrREQndG9iqmCdZ1EH0qz1oRyzq00Px7i3PRpSg+dSTjcocNU5JFnFg== X-Received: by 2002:adf:fc4c:: with SMTP id e12mr5656415wrs.106.1613046475211; Thu, 11 Feb 2021 04:27:55 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 02/15] travis.yml: Move the -fsanitize=undefined test to the gitlab-CI Date: Thu, 11 Feb 2021 12:27:37 +0000 Message-Id: <20210211122750.22645-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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, Thomas Huth , berrange@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth Add it to the existing Clang job and also add a job that covers the linux-user code with this compiler flag. To make sure that the detected problems are not simply ignored, let's also use "-fno-sanitize-recover=3D..= ." now instead. Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210211045455.456371-3-thuth@redhat.com> --- .gitlab-ci.yml | 16 +++++++++++++--- .travis.yml | 27 --------------------------- 2 files changed, 13 insertions(+), 30 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 222858b553..5f3d42221a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -432,14 +432,24 @@ build-some-softmmu-plugins: TARGETS: xtensa-softmmu arm-softmmu aarch64-softmmu alpha-softmmu MAKE_CHECK_ARGS: check-tcg =20 -build-clang: +clang-system: <<: *native_build_job_definition variables: IMAGE: fedora CONFIGURE_ARGS: --cc=3Dclang --cxx=3Dclang++ + --extra-cflags=3D-fsanitize=3Dundefined --extra-cflags=3D-fno-saniti= ze-recover=3Dundefined TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu - ppc-softmmu s390x-softmmu arm-linux-user - MAKE_CHECK_ARGS: check + ppc-softmmu s390x-softmmu + MAKE_CHECK_ARGS: check-qtest check-tcg + +clang-user: + <<: *native_build_job_definition + variables: + IMAGE: debian-all-test-cross + CONFIGURE_ARGS: --cc=3Dclang --cxx=3Dclang++ --disable-system + --target-list-exclude=3Dmicroblazeel-linux-user,aarch64_be-linux-use= r,i386-linux-user,m68k-linux-user,mipsn32el-linux-user,xtensaeb-linux-user + --extra-cflags=3D-fsanitize=3Dundefined --extra-cflags=3D-fno-saniti= ze-recover=3Dundefined + MAKE_CHECK_ARGS: check-unit check-tcg =20 # These targets are on the way out build-deprecated: diff --git a/.travis.yml b/.travis.yml index 05fa1ca905..533a60c130 100644 --- a/.travis.yml +++ b/.travis.yml @@ -138,33 +138,6 @@ jobs: - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" =20 =20 - # Test with Clang for compile portability (Travis uses clang-5.0) - - name: "Clang (user)" - env: - - CONFIG=3D"--disable-system --host-cc=3Dclang --cxx=3Dclang++" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-clang-default" - compiler: clang - - - - name: "Clang (main-softmmu)" - env: - - CONFIG=3D"--target-list=3D${MAIN_SOFTMMU_TARGETS} - --host-cc=3Dclang --cxx=3Dclang++" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-clang-sanitize" - compiler: clang - before_script: - - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - - ${SRC_DIR}/configure ${CONFIG} --extra-cflags=3D"-fsanitize=3Dun= defined -Werror" || { cat config.log meson-logs/meson-log.txt && exit 1; } - - - - name: "Clang (other-softmmu)" - env: - - CONFIG=3D"--disable-user --target-list-exclude=3D${MAIN_SOFTMMU_= TARGETS} - --host-cc=3Dclang --cxx=3Dclang++" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-clang-default" - compiler: clang - - # Using newer GCC with sanitizers - name: "GCC9 with sanitizers (softmmu)" dist: bionic --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046734; cv=none; d=zohomail.com; s=zohoarc; b=AJ/xkfceMA9I6nz6h8f++qauE5OiPLCS0aUY7oNXGtyojzW3PupTJuSRap9JWERgDbj1dtVczVcHWnix+SnlZ4WnWcY8X6ZczE/u7emr4dHb4XY4ER0cI7AywU9YaZN9jxbIxNS3duerXC+A44a8SDrRDFkSvJbHv0CHxAS+K9c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046734; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2We8/sZtwq1DlmSucW+0kgZWs16c1Ki/Zxoxb1J6gc0=; b=UU1Nz2ZvtyzP+8yH4N99OvFhvwhdrs1F1AAUfeK+FnDQt50mmCRxfRo6ZFawkL2bOIb8rj4SDPR3eVln+mP99yF3clICIu96OrQm8RW5utY8Y3e1TvJ/LQbYi6dS7AU6apHLkbH/WKoUwsNRy80+xqLMtd+EWjIRjbKR16/E5eo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046733835538.120052807337; Thu, 11 Feb 2021 04:32:13 -0800 (PST) Received: from localhost ([::1]:33074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAB8m-0008Oa-Aa for importer@patchew.org; Thu, 11 Feb 2021 07:32:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4h-0002nn-Uz for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:27:59 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:34199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4g-0003pU-98 for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:27:59 -0500 Received: by mail-wr1-x431.google.com with SMTP id g10so4031376wrx.1 for ; Thu, 11 Feb 2021 04:27:57 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x15sm4814336wro.66.2021.02.11.04.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:54 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4989F1FF8F; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2We8/sZtwq1DlmSucW+0kgZWs16c1Ki/Zxoxb1J6gc0=; b=rTigV/4nIJQmbGvpMU0jexg2SzipcVZiJUdP0HQUiWz2ksFW8Wf4p8QAY1qZyLLHky BXqvcXxqZM3OZhrKKiw4tPuMwXp44xZHfB7vlfUyeuRv0dUBz6MayYBQnp3UDDSDrmte DlkLi/DtnHSKA2dnF7Wc82jmbxD09W5CkTx8e0XjNmyWF3f7DjNvW649qt3FO5LNNdA4 pa93ki8o8xoOspZfQ1UjgJDB9HONymPPHYcrqNoLC879SVhueTk/ryDOY/LlKhcBiPed CgDEtV7NOhcRzFZ5ctWInb5EABq5fCwsx6kqJZCso6v/VGFXdW2UT+A9ystSz49rD5f/ asaQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=2We8/sZtwq1DlmSucW+0kgZWs16c1Ki/Zxoxb1J6gc0=; b=Zdo8ctX/uaUvWbm050FXTmVQJcnTpqLpdc1znn296+uMR079frJs8nOBx5wvzE6aNR 1ZYHZFYdo6v5iynBj7qalN0fQtF6WDXO55SmQto3RHR5lx5pmuuE21goOjTabZu5i28h QqaSvGE/F/DaHUVYIA4yD21gdCu5nJGp3T8no97j/8jUogiEBBPnmZ8Nsdl09RVs0pH2 q57zKl4U6gCJKI0018azPho8Z6FH2uwx8kVVSxP6m9Slg2erkduysB878vqIblpbOliD le5jEJ02CSfu2TQxJZIeuPD8qJY6NFsHte9jXwiLfZ8RyJxghcZPSXBEGS1D7wBRoaEH n9+w== X-Gm-Message-State: AOAM5314elRFm2fzRxUTlhPeA3r+zcDeiAPBMBwzyZYRjMJPCAz4LfAR Lcm8UlI9MTLtnugE/6Fu6ft0ag== X-Google-Smtp-Source: ABdhPJxd4xo1NXsQkXVOT1BHeTWYHpr3Iy5ia2OMGLVMb8gjhVufAeblvc5fLRf1LXupcROax9Qexg== X-Received: by 2002:a5d:4e09:: with SMTP id p9mr5533945wrt.346.1613046477048; Thu, 11 Feb 2021 04:27:57 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 03/15] travis.yml: Move the --enable-modules test to the gitlab-CI Date: Thu, 11 Feb 2021 12:27:38 +0000 Message-Id: <20210211122750.22645-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.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, Thomas Huth , berrange@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth Simply add the flag to an existing job, no need for yet another job here. Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210211045455.456371-4-thuth@redhat.com> --- .gitlab-ci.yml | 1 + .travis.yml | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f3d42221a..da2fad1249 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -222,6 +222,7 @@ build-system-centos: variables: IMAGE: centos8 CONFIGURE_ARGS: --disable-nettle --enable-gcrypt --enable-fdt=3Dsystem + --enable-modules TARGETS: ppc64-softmmu or1k-softmmu s390x-softmmu x86_64-softmmu rx-softmmu sh4-softmmu nios2-softmmu MAKE_CHECK_ARGS: check-build diff --git a/.travis.yml b/.travis.yml index 533a60c130..7744ec3a2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -131,12 +131,6 @@ jobs: - CONFIG=3D"--enable-debug-tcg --disable-system" - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-debug-tcg" =20 - # Module builds are mostly of interest to major distros - - name: "GCC modules (main-softmmu)" - env: - - CONFIG=3D"--enable-modules --target-list=3D${MAIN_SOFTMMU_TARGET= S}" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" - =20 # Using newer GCC with sanitizers - name: "GCC9 with sanitizers (softmmu)" --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046931; cv=none; d=zohomail.com; s=zohoarc; b=bauzLNyfN9abPrfEan2WcQOsnKU2AkNlrJQi3ZsZ5YlL7QO6j3obR0BkLORoi0GuyYiINLoX9bOnVfNoG1XkOVjiro5KLkFQB/AV3ZpusGafW6Lq7/e7UWToygmB5o2aj2UfTjOnRnpy6f/p+MY3WyoxKo/d6T60CSBgtuj4q74= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046931; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=LhvdiUgnExmYSuc2t56I/3IBPaK+wI6GsmdLTVz1jsU=; b=LKKrvpww9AP+GVtlkAF1P5pUz9FBLug7Vj1zzEJ0boxJQmOw9GWJ7+i61R6ROSo88rJ3dfkXqKuHBgSIsdnHf285J8G3Mqptgd+EdcnlLs7lQV7rCW0nmQ1/q6O302q/onrs56HOtaRqQTRQwV8OCe8zThIXfhSGRLVkCg73M3Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046931496766.3545314370197; Thu, 11 Feb 2021 04:35:31 -0800 (PST) Received: from localhost ([::1]:40928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABBy-0003EJ-9C for importer@patchew.org; Thu, 11 Feb 2021 07:35:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4i-0002qz-U3 for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:00 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:40524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4h-0003qh-6C for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:00 -0500 Received: by mail-wr1-x433.google.com with SMTP id v14so3977658wro.7 for ; Thu, 11 Feb 2021 04:27:58 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r17sm4705978wrx.33.2021.02.11.04.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:54 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 637441FF90; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LhvdiUgnExmYSuc2t56I/3IBPaK+wI6GsmdLTVz1jsU=; b=PHVX1UUG5dj+/F/uJcKga8x13AlKW7g5NIvjlNDgxdHgzBKv5YK2U93oA7l2NNZPBA Lj2PVsOiS6wicERznUgFHppHeHhpqpdcjIqAcOW+pHFkIIwOjoiapEUd6eLxMOoC3StE 8fZcfD8Fhs/4hkmMO0mLFfdJvOA2V0K8zYDdswqKTVhbLTDwT9vDpxmsMN3My+Z5231s ymobvSfI/GT/IiumoyzosHzYSJ4QaSZ3Hz7GWU/RquFRTKhloiJ2+m6ZgnMmcrfHcjQ1 r5WnPSAgp8kNRxXmg9NtrTBFGS39kX/mHlu9V2N0ntdKUqLeKskyoVLGu+db9R03HAU/ EXOA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=LhvdiUgnExmYSuc2t56I/3IBPaK+wI6GsmdLTVz1jsU=; b=s+YD2e8UHhU0u1RxXYJ7Zu1rE9TIE44lstFxc0vlBKo6XyxPoMHsOcfEDfrLX3WkFs 2U+jWqGpdg3j7VWL1NNPZnbBrTL38ipIdJPfCqtZXO++p3NyJob6Fopu9OBYJCtbYRnH tW9XdaV8Hx2Qnwwh5uwYG26d+wLp5fkkf3gcaXjCGl047FiGywm9j8KHZ5E6RR0DTtxR brxSl6tLnLTfhnIv2JLNMkpv9CBwQXnuHRp+6xJjTI9ZwFIPYsqF5SFkAgnn4n8qytPT jcV79dPNurwr7HKDPOv14VDX4JRV3t/glPqaaNg7plWpq3df+QSqqQMmh+zVhSZWkeqf shoA== X-Gm-Message-State: AOAM5333IYkEfG8XGiJqWfTp82WuMk+7X5k14peBidbJfNLPJnlgNbpU tSaAv4nDs3tc9c86i6RDlmUyKA== X-Google-Smtp-Source: ABdhPJxZQmJpj7Vpffk85CkNnaXWyVT6Q7AUQta+zZzhwMkPar8oBDyLE4M22ay3hnG1XBN44X98ZA== X-Received: by 2002:a5d:618e:: with SMTP id j14mr3535658wru.377.1613046477939; Thu, 11 Feb 2021 04:27:57 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 04/15] travis.yml: (Re-)move the --enable-debug jobs Date: Thu, 11 Feb 2021 12:27:39 +0000 Message-Id: <20210211122750.22645-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x433.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, Thomas Huth , berrange@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth We already have similar jobs in the gitlab-CI ("build-some-softmmu" and "build-user-plugins"), so let's switch one of them to use --enable-debug instead of --enable-debug-tcg, then we can simply drop these jobs from the Travis-CI. Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Wainer dos Santos Moschetta Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210211045455.456371-5-thuth@redhat.com> --- .gitlab-ci.yml | 2 +- .travis.yml | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da2fad1249..e878cc0847 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -403,7 +403,7 @@ build-some-softmmu: <<: *native_build_job_definition variables: IMAGE: debian-all-test-cross - CONFIGURE_ARGS: --disable-tools --enable-debug-tcg + CONFIGURE_ARGS: --disable-tools --enable-debug TARGETS: xtensa-softmmu arm-softmmu aarch64-softmmu alpha-softmmu MAKE_CHECK_ARGS: check-tcg =20 diff --git a/.travis.yml b/.travis.yml index 7744ec3a2f..f0e2b1059c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -118,18 +118,6 @@ after_script: =20 jobs: include: - # --enable-debug implies --enable-debug-tcg, also runs quite a bit slo= wer - - name: "GCC debug (main-softmmu)" - env: - - CONFIG=3D"--enable-debug --target-list=3D${MAIN_SOFTMMU_TARGETS}" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-debug" - - - # TCG debug can be run just on its own and is mostly agnostic to user/= softmmu distinctions - - name: "GCC debug (user)" - env: - - CONFIG=3D"--enable-debug-tcg --disable-system" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-debug-tcg" =20 =20 # Using newer GCC with sanitizers --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046930; cv=none; d=zohomail.com; s=zohoarc; b=BZrcHGotgt6Zs+iaK22WuV4DRAy9Givlseh8C9ekjNMvf3emQQv5CJ3QKj5jqJw3Z39jZ8X2X1VNnHw++elu2dAG+nlgyXnDaOthHU9fcGL06FRQ5zN6bNsUoN8iJHGDfpw+ZqIHjzm4X7oToEbS520WyzB2hbCyIn+iOG6fRY0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046930; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=JjI+A8S8kj24iQBJyBWYv0s3f8Vb/UMmaw7Q2yhCD7g=; b=hruu2nbvkAuu82wXIeMlOOZNyKyURSZcuWBcLuKuWBxn2hvA4eB8mM5WJt2TYPBFdZzDcQ+7b97L88BYxVj+YjnMkKED5VQnZcxcNjiIup2Hz9GG7j1WggLMOMmZPq+LHKfcoZFPScxh3Nuk5rcYgPtZj1pLwH44KwYy5UapMzI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046929997923.5577026704703; Thu, 11 Feb 2021 04:35:29 -0800 (PST) Received: from localhost ([::1]:40946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABBw-0003Ej-M1 for importer@patchew.org; Thu, 11 Feb 2021 07:35:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4p-0002xK-3N for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:07 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:33736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4n-0003sK-0c for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:06 -0500 Received: by mail-wm1-x331.google.com with SMTP id a16so5898993wmm.0 for ; Thu, 11 Feb 2021 04:28:04 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r11sm9547388wmh.9.2021.02.11.04.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:55 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7D9531FF91; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JjI+A8S8kj24iQBJyBWYv0s3f8Vb/UMmaw7Q2yhCD7g=; b=SjF4S3+oEwpJvqubfAKLClqml7TDxOQLlCD5SAmjK0f22BwIC9Cu2AEJeKgqQZaIQO Oy4awsYiSNK4DGGAznRGKVNLQ8Fab9jHf+qhsEzsoa1IeyjzozWnYfDvT1degUEVhB7l 9FtA9F1YSx6YBsy2KcgyE/n8fcA5jUT5lMn/kR+6CQd8wULShjMHG3ht6NgYquq+VQfX +niGB283yirB4HymNW2mQH4wYxc8zTiQCxpobOnfRqfN0rxbm5DJb5ACq3gAVHxv0mCp tmLD7TxgLnDk1MwBw97Fh01D3DxX+fZ55NHwrkd3eMHgx9+JDkLuf08RvfYdbZrDvX0J uIkQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=JjI+A8S8kj24iQBJyBWYv0s3f8Vb/UMmaw7Q2yhCD7g=; b=cB8DjHevOh7mFCnlkF3OA2TiN9WouJpgLiLO8tCZANp4VV072WrDTI3Znq84aAngvb t/fu/myNibbFJ08K7XG0zwBXPbbDXcYucZ1M4nT/81U64hEaehZuPxcKRqqOlbxSDHuq kqw0mqBq79/4npTsi6uJdQpzf3Ywl82Y1qWPdjnKRho6772xuadSw7U5KgRz78KJp0t0 s+0jf6DtI4x/Q4kQyHRJV8QFLJb0b7GXzZEsYNquNaWQwQTKomsqS4f+BV46n1bqZC7a GJPCrd2g/F7EHNbz05p9kD75MH73OT9gOSRF46Q8rLNMhvQq8xoGdis4aAZpwA1GA6y/ pJ4g== X-Gm-Message-State: AOAM531yaNlvg8McRMRZeHv68J9UTOTlEAq7LtKfHHdpc8fKWczwi+Gq HLk+NKEu0jte4knirHFncI6HzQ== X-Google-Smtp-Source: ABdhPJx8MtxF497teYSBDw9pjyesUT8QaAOSxmpx4PCxUBLgqgvXqkTst7v9bVfAHV76nN4sNn2yEg== X-Received: by 2002:a7b:ce17:: with SMTP id m23mr4746467wmc.80.1613046483722; Thu, 11 Feb 2021 04:28:03 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 05/15] travis.yml: Move the -fsanitize=thread testing to the gitlab-CI Date: Thu, 11 Feb 2021 12:27:40 +0000 Message-Id: <20210211122750.22645-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.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, Thomas Huth , berrange@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth Use clang-10, so we can also use the --enable-tsan configure option instead of only passing the flag via --extra-cflags. Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210211045455.456371-6-thuth@redhat.com> --- .gitlab-ci.yml | 9 +++++++++ .travis.yml | 51 -------------------------------------------------- 2 files changed, 9 insertions(+), 51 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e878cc0847..7adb9a4cef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -452,6 +452,15 @@ clang-user: --extra-cflags=3D-fsanitize=3Dundefined --extra-cflags=3D-fno-saniti= ze-recover=3Dundefined MAKE_CHECK_ARGS: check-unit check-tcg =20 +tsan-build: + <<: *native_build_job_definition + variables: + IMAGE: ubuntu2004 + CONFIGURE_ARGS: --enable-tsan --cc=3Dclang-10 --cxx=3Dclang++-10 --dis= able-docs + --enable-fdt=3Dsystem --enable-slirp=3Dsystem + TARGETS: x86_64-softmmu ppc64-softmmu riscv64-softmmu x86_64-linux-user + MAKE_CHECK_ARGS: bench V=3D1 + # These targets are on the way out build-deprecated: <<: *native_build_job_definition diff --git a/.travis.yml b/.travis.yml index f0e2b1059c..0a4f38b9d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,57 +119,6 @@ after_script: jobs: include: =20 - - # Using newer GCC with sanitizers - - name: "GCC9 with sanitizers (softmmu)" - dist: bionic - addons: - apt: - update: true - sources: - # PPAs for newer toolchains - - ubuntu-toolchain-r-test - packages: - # Extra toolchains - - gcc-9 - - g++-9 - # Build dependencies - - libaio-dev - - libattr1-dev - - libbrlapi-dev - - libcap-ng-dev - - libgnutls28-dev - - libgtk-3-dev - - libiscsi-dev - - liblttng-ust-dev - - libnfs-dev - - libncurses5-dev - - libnss3-dev - - libpixman-1-dev - - libpng-dev - - librados-dev - - libsdl2-dev - - libsdl2-image-dev - - libseccomp-dev - - libspice-protocol-dev - - libspice-server-dev - - liburcu-dev - - libusb-1.0-0-dev - - libvte-2.91-dev - - ninja-build - - sparse - - uuid-dev - language: generic - compiler: none - env: - - COMPILER_NAME=3Dgcc CXX=3Dg++-9 CC=3Dgcc-9 - - CONFIG=3D"--cc=3Dgcc-9 --cxx=3Dg++-9 --disable-linux-user" - - TEST_CMD=3D"" - before_script: - - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - - ${SRC_DIR}/configure ${CONFIG} --extra-cflags=3D"-g3 -O0 -fsanit= ize=3Dthread" || { cat config.log meson-logs/meson-log.txt && exit 1; } - - - name: "[aarch64] GCC check-tcg" arch: arm64 dist: focal --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613047147; cv=none; d=zohomail.com; s=zohoarc; b=UzUlYTd8FkmxFkk/WoTzEvL15Vcm99aFQ2NIhjJrRSwlDgV6vkfU/mgzmEJY2meUqNYKaDi9+wmjO6ms6R/yGDKMLNW2rX2oqefXh0uxyIlXrpWBLT7HzL6ijgj72pOMZSvmumfxgjDmfm1/nZbw57cEu7zkZUFdUe2LALY9EhY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613047147; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=x1/vAKnRSQADsQsBmMIYqdCFCBIIugEXj3Af6+IKIY4=; b=KKwv44AHc6nwjBW1pTuvqq/eZ8XXpaDKItneZYhBDHOdOjoGSkg3bUE4ZZF1Js4APbBBICbKWn2Tf9TfLHM8qtIVPQhOSp1TA3xa+ZjCqXnSBfWIphfQWXoDJ5hVSMWl2JqOihvG0uHa8RXe8WDdvP9HwauRzrK7kGbeQY7+Bjw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613047147337904.6927226775832; Thu, 11 Feb 2021 04:39:07 -0800 (PST) Received: from localhost ([::1]:49090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABFS-0007OQ-BL for importer@patchew.org; Thu, 11 Feb 2021 07:39:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4n-0002sb-B1 for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:05 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:35340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4j-0003qu-9P for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:05 -0500 Received: by mail-wm1-x32c.google.com with SMTP id n10so3684285wmq.0 for ; Thu, 11 Feb 2021 04:28:00 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s64sm10377513wms.21.2021.02.11.04.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:55 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 964D61FF92; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x1/vAKnRSQADsQsBmMIYqdCFCBIIugEXj3Af6+IKIY4=; b=HiO+xL91kWvrQ0kdZ9Cr+7aeFIV/a6y+GrRoOtGGk9fyIYx7igps4FBk/B+LzZXgpC eoa421S9vHXH3zJfZr54k5HDYt6p8JtiBQbQk7TIh58T+vQmqnCvpJ6AQAVgpYmGrIyr SXE58cfj8JwmLTQe2E6F3dOmwiO2lDf3PniAcVY8K4q7AQeXg9OxteOlfFqI8Llg0H4D 58yUetPe0X/HJmZuK3NWCCXmZo4cF3I40mg+/M3LPhxaAWXN2B6IiS3glukYACOhmSry SWu0sPMc44RNOIyvp+c35RFrVQnjkblc/akISGDX+0crmNV2P0Cn7CVl5p+lzKTMv6SI L/ew== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=x1/vAKnRSQADsQsBmMIYqdCFCBIIugEXj3Af6+IKIY4=; b=krFzWKhrcjanE+UmWo0trMLqmxoCbDU98c8BSARrzur605aR8erDsGcj8wshwaIouT LtkWaeRxOIJsu3tpT0BH6ahgXNGWpdkHid0sQ6/ZgQ00CEicaVWMZtmSRh0lxnhfNkjy pObRVPmJhonhJ9qg5GndeKcVy3uqT8qOzVYJJalTo2dfNAO37lZnc87GiP2kjtkQ8lWP Ric/zoIK5Lsum2sCJp5lf5V+VMX1aI3/ZYawAHtM52TWwwbZvsBrNlLNzRJoVYNMXjQn 4j0iT5la2MLDNaAZD5/zy4qMrYBnZrptTYnPia3VRC/wR33IwsdWafUjblfyMdQ+ySEa dfwA== X-Gm-Message-State: AOAM532GO8DFRqk2/3m2+lpiaScj4HU0DpQLVvXkgo6ySMuHQ74qHMBr JWewXqJ8PvyPgkABZFbf4bD02g== X-Google-Smtp-Source: ABdhPJyirz94XU4fsry3WxLYteemK946Nt92Z5eTNTjd7+s3lNJAqWmNpSKWRViNlFFtm+kFKV6Teg== X-Received: by 2002:a1c:e08a:: with SMTP id x132mr4959610wmg.184.1613046479918; Thu, 11 Feb 2021 04:27:59 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 06/15] .shippable: remove the last bits Date: Thu, 11 Feb 2021 12:27:41 +0000 Message-Id: <20210211122750.22645-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.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, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Shippable is about to sunset in May 2021 [1] and we had already moved a chunk of the crossbuilds to GitLab. We already cross build mips-softmmu targets since: 6bcb5fc0f7 ("gitlab-ci: Add cross-compiling build tests") and x86 is very well covered. [1]: https://blog.shippable.com/the-next-step-in-the-evolution-of-shippable= -jfrog-pipelines Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210210154106.20825-1-alex.bennee@linaro.org> --- v2 - update MAINTAINERS --- .shippable.yml | 23 ----------------------- MAINTAINERS | 2 -- 2 files changed, 25 deletions(-) delete mode 100644 .shippable.yml diff --git a/.shippable.yml b/.shippable.yml deleted file mode 100644 index 97bfa2a0f3..0000000000 --- a/.shippable.yml +++ /dev/null @@ -1,23 +0,0 @@ -language: c -git: - submodules: false -env: - global: - - LC_ALL=3DC - matrix: - - IMAGE=3Ddebian-amd64 - TARGET_LIST=3Dx86_64-softmmu,x86_64-linux-user - - IMAGE=3Ddebian-mips-cross - TARGET_LIST=3Dmips-softmmu -build: - pre_ci_boot: - image_name: registry.gitlab.com/qemu-project/qemu/qemu/${IMAGE} - image_tag: latest - pull: true - options: "-e HOME=3D/root" - ci: - - unset CC - - mkdir build - - cd build - - ../configure --disable-docs ${QEMU_CONFIGURE_OPTS} --target-list=3D$= {TARGET_LIST} - - make -j$(($(getconf _NPROCESSORS_ONLN) + 1)) diff --git a/MAINTAINERS b/MAINTAINERS index cc8767d4b4..0b0b5ddc05 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3234,12 +3234,10 @@ S: Maintained F: .github/lockdown.yml F: .travis.yml F: scripts/ci/ -F: .shippable.yml F: tests/docker/ F: tests/vm/ F: scripts/archive-source.sh W: https://travis-ci.org/qemu/qemu -W: https://app.shippable.com/github/qemu/qemu W: http://patchew.org/QEMU/ =20 FreeBSD Hosted Continuous Integration --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046573; cv=none; d=zohomail.com; s=zohoarc; b=Oc9nRUH6RmocNuQOY4tTeXkjh9WncT9v44372QPr7a4/3r1kAPavUiHxGqn/AVK9bWWuJvU7J8Wz4TQE3bBAI2dMHzp5BgvxDI7WQkKHZFrLJY366FwIfFqj+vIlFL4lKH3iYw3nciV6+EecqUrcsuqiEBsSvCc+O9JGbSgihXQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046573; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Gl9xFNM+9T4uY/Qi4zDURzY+BCcVcqbAc2SPVGPcuVc=; b=N/f3BSwW52S91bzm6jnBV5qqYFWhfrNxnt/5THXzwo3WdhV5z7PpGupkKQ25vL7DpPqYN1X9S3hvfxcIpBIj+cfzPZYTtRxFjCpX0jXUxgdkAy4XTvINj9B445t2NEJ5QFBvzTLl/e871QdIhJRfHe+73OVe2nUgGsKF/SbGlI0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046572797891.4597419671428; Thu, 11 Feb 2021 04:29:32 -0800 (PST) Received: from localhost ([::1]:53702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAB6A-0004ia-LN for importer@patchew.org; Thu, 11 Feb 2021 07:29:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4q-0002zZ-4v for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:08 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:34064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4n-0003sE-0X for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:07 -0500 Received: by mail-wm1-x329.google.com with SMTP id o10so5893626wmc.1 for ; Thu, 11 Feb 2021 04:28:03 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q15sm4890130wrr.58.2021.02.11.04.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:55 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AE1901FF93; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Gl9xFNM+9T4uY/Qi4zDURzY+BCcVcqbAc2SPVGPcuVc=; b=mdCp8tcfFgidK6CcmyPEDT62b/qVI8aObYy6MV9WCv4uRdNrXASAajo4shKynelgvd pS8Nk1WxRnRdazsn5zJrjiNxlEqujY1QoLT4EVYjpg+UorGK94zZOM/FO9oEGxWYV/bh +riFPBsP2KqyQ7+pJFS65ShPjKTJfb+zA8ekfJnJl5X7Ck/ik8DDpswdfpPHVh815GOi vHiHsqCY7ZjlBUooIrfhVtw85JCaBUkEc1KpxNldbsQWvHGiPKrEeL5YUDOGRsl6L0C5 u6UPqk4u2wSjnwPKOD7LphjdgNaYY22ohfQ+WeQqQal/hlH47s5JaB5UEM6rnKxabB9u /Vkg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Gl9xFNM+9T4uY/Qi4zDURzY+BCcVcqbAc2SPVGPcuVc=; b=uiZLeTsxkFRlIUhlI+zNrlph4ppDoMFmMzodDmjsJysS14u8VC1YX35aSvFrs7ES1I gkpzkX/LcNec8EA75n18CmP/07g+8sUcReJf7SYJJ83CvFb+B23dCy2xy2dM1W79MP5J i+5vAc2bfCsY+g5HZYSs6AEncz+Uk/xYeSOjLYYVmVl7zSP6zlnSh4CRtOKmYuwwwpSk bnSmGuJJVyz3Cki6Pl5eKYRYP8id2lSx7PtWXC7C+0pukLT7YRt868aRF4zQ6qeDziVl HAF9N0u2Z/OYqUMcwbhxjAxoUSwRMjWb1T8GNLey0sRPb9boZjnYkYTb2138/8xcsV1U YUhw== X-Gm-Message-State: AOAM530zD87k4C5XTvF2sS6hHzhigQJ0RDgMbbACmmB8n4PLSqHsfgds GlKlIMkU5u8/Hmc7RVi0hwZeGg== X-Google-Smtp-Source: ABdhPJwVE8zrDWoa/9lLdwqWO3eT5hM9FKLwaJH8GMg7K3B0ySEpn8T79CoA2p/OtLCiSBYG/bw7Vw== X-Received: by 2002:a1c:e104:: with SMTP id y4mr4719523wmg.89.1613046482796; Thu, 11 Feb 2021 04:28:02 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 07/15] travis-ci: Disable C++ optional objects on AArch64 container Date: Thu, 11 Feb 2021 12:27:42 +0000 Message-Id: <20210211122750.22645-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 Travis-CI seems to have enforced memory limit on containers, and the 'GCC check-tcg' job started to fail on AArch64 [*]: [2041/3679] Compiling C++ object libcommon.fa.p/disas_nanomips.cpp.o FAILED: libcommon.fa.p/disas_nanomips.cpp.o {standard input}: Assembler messages: {standard input}:577781: Warning: end of file not at end of a line; newli= ne inserted {standard input}:577882: Error: unknown pseudo-op: `.lvl35769' {standard input}: Error: open CFI at the end of file; missing .cfi_endpro= c directive c++: fatal error: Killed signal terminated program cc1plus compilation terminated. Until we have a replacement for this job on Gitlab-CI, disable compilation of C++ files by forcing the c++ compiler to /bin/false so Meson build system can not detect it: $ ../configure --cxx=3D/bin/false Compilation C compiler: cc Host C compiler: cc C++ compiler: NO [*] https://travis-ci.org/github/qemu/qemu/jobs/757819402#L3754 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Wainer dos Santos Moschetta Message-Id: <20210207121239.2288530-1-f4bug@amsat.org> Signed-off-by: Alex Benn=C3=A9e --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0a4f38b9d8..fc27fd6330 100644 --- a/.travis.yml +++ b/.travis.yml @@ -150,7 +150,7 @@ jobs: - genisoimage env: - TEST_CMD=3D"make check check-tcg V=3D1" - - CONFIG=3D"--disable-containers --target-list=3D${MAIN_SOFTMMU_TA= RGETS}" + - CONFIG=3D"--disable-containers --target-list=3D${MAIN_SOFTMMU_TA= RGETS} --cxx=3D/bin/false" - UNRELIABLE=3Dtrue =20 - name: "[ppc64] GCC check-tcg" --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046733; cv=none; d=zohomail.com; s=zohoarc; b=NXTxKbg/MWu+qKot89/ssiHvTinX2YF1cYg76cmr27EARSb+B/zvZhd8B2GQwFOwhMKKJ2szhLS+A5aJ0/pnKb+NOw+DlL3R5uNUImtfDggwDmY0vifNmJ9/Chd9ox8kvy1306o4reuCaaKkWHqFqYG9dlo8y8lZ6WNw58Cd0kU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046733; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=PcSgBItycwymRs8ySH1bdQO4v6Za+ruNlKZOt7N1n+A=; b=Td0W/72XTJlIAAhltP+fQeFgs/y1Th287hCwfLEZ7x4wNbEtpb4ZsROJI0qB18fNHJT0aZPpUIM5DK5gJz/NOE9+vMM2gKQLYDRW/WwPlnmOXla8rEZtITC2zTtddrV6Gb43SrvagManpLo4M/GvKGa5obkZ938w58NiQZov54A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046733032571.3415052474595; Thu, 11 Feb 2021 04:32:13 -0800 (PST) Received: from localhost ([::1]:32982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAB8l-0008MK-Je for importer@patchew.org; Thu, 11 Feb 2021 07:32:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4o-0002vj-Dx for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:06 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:53127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4k-0003s4-27 for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:06 -0500 Received: by mail-wm1-x32d.google.com with SMTP id l17so3832704wmq.2 for ; Thu, 11 Feb 2021 04:28:01 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g15sm4809434wrx.1.2021.02.11.04.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:27:55 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id CAC401FF96; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PcSgBItycwymRs8ySH1bdQO4v6Za+ruNlKZOt7N1n+A=; b=e8pe701/WQIddSNcFulf8hbC5FFB4kzUZrOxRRQ/LMHS86v5l5EtW3mM1dVXjFrqym B4skbdm7GUgJmpES5JMXXWCdZ/1QtRSujefch+M8XQyviOsQxMQervaP+g7NHksrkmWq mP8iV1MZxdxCs5667OTKRigtf7w8tifhra8kx+8K2yQFe5jBeAveaYwPlby+4jzy/OJQ PKvRJ7dmGI/I4AANGN6wzA7yZ8oO8cVXoeDbhpfXn22LHPDpn/LKq7Fa0wNkhefY8Dnz UW2wq1v3yYz3hYfOTIRFC4UANN6dJzzI89U3kO5hMTKftaSZ28GFBA+0FKELzDGRgweE 4QHA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PcSgBItycwymRs8ySH1bdQO4v6Za+ruNlKZOt7N1n+A=; b=nZvloEdjM3+HJqxMN6v2EtMPu/p7AGAyZufghIaQXn4INYbjCjNJr1hEnU09MUm0W6 A7u/SPe5HIJztXXjFBj0iXKRh4XtGHR8N8rals1rGg7oNSbOqcaRUlsHSiKLqth349Xu pDWMXfyQ+T1fN/O1gzzrkfMCQbVzELIyrpCNzIaxHhXs7wCywEwxzRqUHupd68zayc8x xg3rmNevQhMVFPtjxeyEvdgJlRypQPBee9vJCJ0ga2PpFcqsalxI9tHYLTOcgkf153H6 +fKp7kMpuoevPzWq23T5atp3tr+0cr/XuURevQu9nLZmcDN0KrAaQmLay4tx7+S69WOi w15w== X-Gm-Message-State: AOAM530/VqGtGwEdgXW9PvNzp7tdvWOcwVl5dn/USEv3esYIKOzeezeb qo6aXcEWDzJkjRiI9AS17D38ag== X-Google-Smtp-Source: ABdhPJyBgGUdjgcfyXnKEY4Orjvjs6sfeaM9mcB3YazOV8aDnUKNYUe7vfzAyy6lR8TXrlWwuuW/QQ== X-Received: by 2002:a1c:59c5:: with SMTP id n188mr4888657wmb.176.1613046480631; Thu, 11 Feb 2021 04:28:00 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 08/15] tests/docker: remove travis container Date: Thu, 11 Feb 2021 12:27:43 +0000 Message-Id: <20210211122750.22645-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.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, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, Wainer dos Santos Moschetta , =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Daniel P. Berrang=C3=A9 The travis container that we have no longer matches what travis currently uses. As all x86 jobs are being moved to GitLab CI too, there is no compelling reason to update the travis container. It is simpler to just remove it. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Wainer dos Santos Moschetta Signed-off-by: Daniel P. Berrang=C3=A9 Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210209135011.1224992-2-berrange@redhat.com> --- docs/devel/testing.rst | 14 -------- tests/docker/Makefile.include | 11 ++---- tests/docker/dockerfiles/travis.docker | 17 ---------- tests/docker/travis | 22 ------------ tests/docker/travis.py | 47 -------------------------- 5 files changed, 2 insertions(+), 109 deletions(-) delete mode 100644 tests/docker/dockerfiles/travis.docker delete mode 100755 tests/docker/travis delete mode 100755 tests/docker/travis.py diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 209f9d8172..00ce16de48 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -357,20 +357,6 @@ source and build it. =20 The full list of tests is printed in the ``make docker`` help. =20 -Tools ------ - -There are executables that are created to run in a specific Docker environ= ment. -This makes it easy to write scripts that have heavy or special dependencie= s, -but are still very easy to use. - -Currently the only tool is ``travis``, which mimics the Travis-CI tests in= a -container. It runs in the ``travis`` image: - -.. code:: - - make docker-travis@travis - Debugging a Docker test failure ------------------------------- =20 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 93b29ad823..7cab761bf5 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -21,8 +21,6 @@ DOCKER_REGISTRY :=3D $(if $(REGISTRY),$(REGISTRY),registr= y.gitlab.com/qemu-project DOCKER_TESTS :=3D $(notdir $(shell \ find $(SRC_PATH)/tests/docker/ -name 'test-*' -type f)) =20 -DOCKER_TOOLS :=3D travis - ENGINE :=3D auto =20 DOCKER_SCRIPT=3D$(SRC_PATH)/tests/docker/docker.py --engine $(ENGINE) @@ -126,7 +124,7 @@ ifneq ($(HOST_ARCH),x86_64) DOCKER_PARTIAL_IMAGES +=3D debian-mips-cross debian-mipsel-cross debian-mi= ps64el-cross DOCKER_PARTIAL_IMAGES +=3D debian-ppc64el-cross DOCKER_PARTIAL_IMAGES +=3D debian-s390x-cross -DOCKER_PARTIAL_IMAGES +=3D fedora travis +DOCKER_PARTIAL_IMAGES +=3D fedora endif =20 docker-image-debian-alpha-cross: docker-image-debian10 @@ -147,8 +145,6 @@ docker-image-debian-s390x-cross: docker-image-debian10 docker-image-debian-sh4-cross: docker-image-debian10 docker-image-debian-sparc64-cross: docker-image-debian10 =20 -docker-image-travis: NOUSER=3D1 - # Specialist build images, sometimes very limited tools docker-image-debian-tricore-cross: docker-image-debian10 docker-image-debian-all-test-cross: docker-image-debian10 @@ -174,7 +170,7 @@ DOCKER_PARTIAL_IMAGES +=3D fedora-i386-cross fedora-cri= s-cross =20 # Expand all the pre-requistes for each docker image and test combination $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES)), \ - $(foreach t,$(DOCKER_TESTS) $(DOCKER_TOOLS), \ + $(foreach t,$(DOCKER_TESTS), \ $(eval .PHONY: docker-$t@$i) \ $(eval docker-$t@$i: docker-image-$i docker-run-$t@$i) \ ) \ @@ -212,9 +208,6 @@ endif @echo 'Available tests:' @echo ' $(DOCKER_TESTS)' @echo - @echo 'Available tools:' - @echo ' $(DOCKER_TOOLS)' - @echo @echo 'Special variables:' @echo ' TARGET_LIST=3Da,b,c Override target list in builds.' @echo ' EXTRA_CONFIGURE_OPTS=3D"..."' diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfi= les/travis.docker deleted file mode 100644 index cd1435a7e9..0000000000 --- a/tests/docker/dockerfiles/travis.docker +++ /dev/null @@ -1,17 +0,0 @@ -# -# Travis Image - this is broadly the same image that we run our CI -# tests on. -# -FROM travisci/ci-sardonyx:packer-1552557266-f909ac5 -ENV DEBIAN_FRONTEND noninteractive -ENV LANG en_US.UTF-8 -ENV LC_ALL en_US.UTF-8 -RUN sed -i "s/# deb-src/deb-src/" /etc/apt/sources.list -RUN apt-get update -RUN apt-get -y build-dep qemu -RUN apt-get -y install device-tree-compiler python3 python3-yaml dh-autore= conf gdb strace lsof net-tools gcovr ninja-build -# Travis tools require PhantomJS / Neo4j / Maven accessible -# in their PATH (QEMU build won't access them). -ENV PATH /usr/local/phantomjs/bin:/usr/local/phantomjs:/usr/local/neo4j-3.= 2.7/bin:/usr/local/maven-3.5.2/bin:/usr/local/cmake-3.9.2/bin:/usr/local/cl= ang-5.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -ENV FEATURES clang pyyaml docs -USER travis diff --git a/tests/docker/travis b/tests/docker/travis deleted file mode 100755 index 47c03677d6..0000000000 --- a/tests/docker/travis +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -e -# -# Mimic a travis testing matrix -# -# Copyright (c) 2016 Red Hat Inc. -# -# Authors: -# Fam Zheng -# -# This work is licensed under the terms of the GNU GPL, version 2 -# or (at your option) any later version. See the COPYING file in -# the top-level directory. - -. common.rc - -requires pyyaml -cmdfile=3D/tmp/travis_cmd_list.sh -$QEMU_SRC/tests/docker/travis.py $QEMU_SRC/.travis.yml > $cmdfile -chmod +x $cmdfile -cd "$QEMU_SRC" -unset BUILD_DIR SRC_DIR -$cmdfile diff --git a/tests/docker/travis.py b/tests/docker/travis.py deleted file mode 100755 index 37307ac366..0000000000 --- a/tests/docker/travis.py +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python3 -# -# Travis YAML config parser -# -# Copyright (c) 2016 Red Hat Inc. -# -# Authors: -# Fam Zheng -# -# This work is licensed under the terms of the GNU GPL, version 2 -# or (at your option) any later version. See the COPYING file in -# the top-level directory. - -import sys -import yaml -import itertools - -def load_yaml(fname): - return yaml.safe_load(open(fname, "r").read()) - -def conf_iter(conf): - # If "compiler" is omitted from the included env then Travis picks the - # first entry of the global compiler list. - default_compiler =3D conf["compiler"][0] - def env_to_list(env): - return env if isinstance(env, list) else [env] - for entry in conf["matrix"]["include"]: - yield {"env": env_to_list(entry["env"]), - "compiler": entry.get("compiler", default_compiler)} - -def main(): - if len(sys.argv) < 2: - sys.stderr.write("Usage: %s \n" % sys.argv[0]) - return 1 - conf =3D load_yaml(sys.argv[1]) - print("\n".join((": ${%s}" % var for var in conf["env"]["global"]))) - for config in conf_iter(conf): - print("(") - print("\n".join(config["env"])) - print("alias cc=3D" + config["compiler"]) - print("\n".join(conf["before_script"])) - print("\n".join(conf["script"])) - print(")") - return 0 - -if __name__ =3D=3D "__main__": - sys.exit(main()) --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046945; cv=none; d=zohomail.com; s=zohoarc; b=ZSu56JUKVdPBO4/pJ3dAssGQOykpVnPW/j0bZVkif0X/mvuOCjoRvSl+/V2hhnAR3b5rUbcJgN+1yP4TVNTYDDdbiPGlnzDafe7Z51pvNFE0ogrKgBS6AYrMjqiL6ylo9b85vnhnyjt2xPKjheyvX6ECAm8jP9QFl3cepEIXMjQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046945; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=q/r6ozA8AMgNk3NK5Gk4JgNhOCqCOpaSvGrBuktxPls=; b=kEyOu+QJ8nYYuTvSYKhczlpdFR8V3t1j9YkwUGz0bMsE08LpHSNsDzNMGBwmlbTBqMN2GVAomWlfYxh75InoUboOktwnfwDPYrzo9j3UaYUiQBmbV18vV+xQyeyz3263cGrnsQqntDiCvIHOK7scx+rlu+nOPrCblgWki+AVYqk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046944946393.40037222603905; Thu, 11 Feb 2021 04:35:44 -0800 (PST) Received: from localhost ([::1]:41612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABCB-0003VJ-OR for importer@patchew.org; Thu, 11 Feb 2021 07:35:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB53-0003X4-7O for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:21 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:39377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4p-0003tt-K4 for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:20 -0500 Received: by mail-wr1-x42b.google.com with SMTP id v1so405246wrd.6 for ; Thu, 11 Feb 2021 04:28:07 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u4sm4399520wrr.37.2021.02.11.04.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:28:04 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E1F2A1FF98; Thu, 11 Feb 2021 12:27:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q/r6ozA8AMgNk3NK5Gk4JgNhOCqCOpaSvGrBuktxPls=; b=OhRf+sjQTIrFIZy/SW7/V5nEObDHg0F5T6GH1733FJGAWWM5cXWvDsNPDOaWG8xOYY WOErbo5qLBJQcxlLzl1vsPl2bwIGWTWlmhBtLcbAe1Y6HXhRio4L4i9S9TS4rN5HBdqK 0xCtOR5cM5Uw9m0Rc3dHSI/qdF5D+Zg8YJfBiFEk0xXMUS1x6FWcIlkNuikEcDdIBFwt pKO+8G77UrlGOimviK0zol3QZQnds4TWsmWHVj+7P13qEB+8t9q6LJDrwbQ9lxl/3OGV 7holSPkkfu/aezSeNShxH2SLYd+R5sDxkrRslFqaVhADNG5pqG+i75GQjXoxjPZWE2mr MYMw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=q/r6ozA8AMgNk3NK5Gk4JgNhOCqCOpaSvGrBuktxPls=; b=JlDBM8prUIIyOo6/q5CuIlyuvNJNnlfoWlBS21XIuX6I8+nswnsbcEOfDk/8gp7VrV B3d4/+/0kkUQG6S9QypYJdb7w6h64DgXeFx1q9X0t55SX/X/5Mn2U8Ry0d49HK05tRqL 5MW0JDhZlVq4mX2ebEYpRWKITIAF7EWSKfg3tKJNVP8BM3/LXv2iakY6ic2SuQof825P pyUoNnrf8qpRDAH34zvhb4ujWqXmleQlgZjq3OkC6Rl7/JtBkOg7o7BnHfGj3z5A+ILA djw/qcjzlbD9V1BmNqKHPcx0lgScuwH5XdgQ8RFLjr2Hr6kp1Scr/vsPfh0ceyorvReF pvYA== X-Gm-Message-State: AOAM532l5KcF9u+RtIRhoSoZ9eMTBh4g4QU99X2vH5L06rnOArX5J1eS z8l0ZmeP7K8PudnEuhk9h2890w== X-Google-Smtp-Source: ABdhPJy+oL/39jMbljKmR2/YT8GT+LNFKg5fZJmLEmJ6mLfSZScfd6X1TDPYAJpFfrRhtJ7ORwgm1Q== X-Received: by 2002:a5d:4a0c:: with SMTP id m12mr5439625wrq.274.1613046486270; Thu, 11 Feb 2021 04:28:06 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 09/15] MAINTAINERS: Add gdbstub.h to the "GDB stub" section Date: Thu, 11 Feb 2021 12:27:44 +0000 Message-Id: <20210211122750.22645-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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, 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, Peter Maydell , berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell The F: patterns in the "GDB stub" section forgot gdbstub.h; add it. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Alex Benn=C3=A9e Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210208113729.25170-1-peter.maydell@linaro.org> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0b0b5ddc05..a2b92f973a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2338,6 +2338,7 @@ M: Alex Benn=C3=A9e R: Philippe Mathieu-Daud=C3=A9 S: Maintained F: gdbstub* +F: include/exec/gdbstub.h F: gdb-xml/ F: tests/tcg/multiarch/gdbstub/ =20 --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613047151; cv=none; d=zohomail.com; s=zohoarc; b=iAh0sJWmnNx1JSHt2Ce+N17NPvgcyITGhT+fSObE7OElLkkFHUjquroQFZCIx7XEToCTMcXDSZ7MyTkjI8HWZMndRwInXFE1kOTBIH/02qJtcQV9c7IrmbRaUioBkbr2bG83ccr0zSHyeEHXWSudB6RbMpejGzmSej0OwKOh0hQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613047151; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=GIbE/qLv653vgs2uzn3n69u8JtE57yItTNm6pSzkbH8=; b=g/hgQwAlf9KiBQoVa7dsqsGY+lv2nrqeBkbK0nzI7aPBhZfKAhTD7dtstFuvapcqJNeKJZhiHNbPws95riDuiygf+8XX7U9Jic0Cio5lD5k+EoGO98/iPO2f1n1Oc4YJTgHiDZ1HLRcPj1lmm/+p8+Sb6h4+jyYnmFEw3xCCWw8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613047150936529.8328164991415; Thu, 11 Feb 2021 04:39:10 -0800 (PST) Received: from localhost ([::1]:49184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABFV-0007QU-Ts for importer@patchew.org; Thu, 11 Feb 2021 07:39:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4t-00037f-DH for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:11 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:35435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4r-0003uR-MU for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:11 -0500 Received: by mail-wr1-x42e.google.com with SMTP id l12so4023536wry.2 for ; Thu, 11 Feb 2021 04:28:09 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j71sm10205808wmj.31.2021.02.11.04.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:28:04 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 053EB1FF99; Thu, 11 Feb 2021 12:27:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GIbE/qLv653vgs2uzn3n69u8JtE57yItTNm6pSzkbH8=; b=t1pygzljX8TvOTUTVDcG0ckUEpMnRlnV7gXX/YGOAqjHOypJBZOSZ2ge9fdo671cVA pXs0aDXT/TT/vc9KzWL0Qu4LX6XHLiyI3nwMsS6OnC2/J7qknxkmnz3MxsmkOA/cZd08 WBoR8YU5VhYE+4Z9CWE+jdFU2uhUxfpZY3zTG6A6d6tsblISTlcuk8GjTGvcNQIjYhrY nQrkbaMlQHtxJDl0qXpxP5Ulsrog/lbxYHOE01DVQdWeWAAVzgTzDP/Y7sBAhqvrLaem jJcXmT9FuBAW0CUVxHUkVJLJI4YoPnk2q0oYQu5DMwvPtaIV2/6OrD0oY/QeQW2T1Jc6 O2og== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=GIbE/qLv653vgs2uzn3n69u8JtE57yItTNm6pSzkbH8=; b=orozDvMxEF7qMHVDp0wE02KfMYXGjJ+vMArQzOAooZ8B+PMP4OMBfHFrbkxAd98JJf nbl+YUpq6txfQZ1m4P3hmcLH3lU1i8GPBYu66fW1ec5VT5qZlHelNo5DNfJx7Hffkbcg ZTzt4Zd9AHZLI4uoQhaXj/D91HVzFrox5bCxa+6I8WxGu0DJdPzSoJC4nbjoPyWFDk9N kfBHaxHJMQmdzEYDSjViIzsras1ehrh2Vv58z7UcxDjIFkIfzJGV5nS/pXhFhjuPbwzE 6XAnmO78mwoGjOYfpHk1C6FKwCuhc559PcmJwsc6kSW6+dN10OambyvpKelFVj+/6t2z LFdA== X-Gm-Message-State: AOAM530N709fgYGL3MPk2c5eeb+Yg2uDoF1lO9wIuD2piCE8rPrTDZwl wdjj3JVMAnavAZ1HfztoZ4ZNrg== X-Google-Smtp-Source: ABdhPJx+udqioyegNJFOPgCHprRckGJ+WW0CZZxB+A+eqOYaW/IuUt/ArzVfepTtLia1eDqVwhvxwA== X-Received: by 2002:adf:a1c4:: with SMTP id v4mr5537450wrv.104.1613046488337; Thu, 11 Feb 2021 04:28:08 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 10/15] target/sh4: Drop use of gdb_get_float32() and ldfl_p() Date: Thu, 11 Feb 2021 12:27:45 +0000 Message-Id: <20210211122750.22645-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.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, Peter Maydell , berrange@redhat.com, Yoshinori Sato , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell We used to make a distinction between 'float64'/'float32' types and the 'uint64_t'/'uint32_t' types, requiring special conversion operations to go between them. We've now dropped this distinction as unnecessary, and the 'float*' types remain primarily for documentation purposes when used in places like the function prototypes of TCG helper functions. This means that there's no need for a special gdb_get_float32() function to write a float32 value to the GDB protocol buffer; we can just use gdb_get_reg32(). Similarly, for reading a value out of the GDB buffer into a float32 we can use ldl_p() and need not use ldfl_p(). Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210208113428.7181-2-peter.maydell@linaro.org> --- target/sh4/gdbstub.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/sh4/gdbstub.c b/target/sh4/gdbstub.c index 34ad3ca050..3488f68e32 100644 --- a/target/sh4/gdbstub.c +++ b/target/sh4/gdbstub.c @@ -58,9 +58,9 @@ int superh_cpu_gdb_read_register(CPUState *cs, GByteArray= *mem_buf, int n) return gdb_get_regl(mem_buf, env->fpscr); case 25 ... 40: if (env->fpscr & FPSCR_FR) { - return gdb_get_float32(mem_buf, env->fregs[n - 9]); + return gdb_get_reg32(mem_buf, env->fregs[n - 9]); } - return gdb_get_float32(mem_buf, env->fregs[n - 25]); + return gdb_get_reg32(mem_buf, env->fregs[n - 25]); case 41: return gdb_get_regl(mem_buf, env->ssr); case 42: @@ -119,9 +119,9 @@ int superh_cpu_gdb_write_register(CPUState *cs, uint8_t= *mem_buf, int n) break; case 25 ... 40: if (env->fpscr & FPSCR_FR) { - env->fregs[n - 9] =3D ldfl_p(mem_buf); + env->fregs[n - 9] =3D ldl_p(mem_buf); } else { - env->fregs[n - 25] =3D ldfl_p(mem_buf); + env->fregs[n - 25] =3D ldl_p(mem_buf); } break; case 41: --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046736; cv=none; d=zohomail.com; s=zohoarc; b=UqWMES4m26pS67wTaxoJhVAmq+mHT8HQbCSDbm3rBALot7FA08nFnhgemiXzl/Z83KZ7QXksf72l1TJ2KzatYl8sDlJDBwpM26ApUknEun+viJ28YMJx52kzJbfaa0n9AKKxX6lq9cQyncoJicGN4lFVtYXH78I3AYHPG4vTeGA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046736; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=r/KTynis7rZSXV4lF8cKxJg2SgNT0zTWC2dECjua/lg=; b=aIyBkAWZbNe9OpvhijvpAWKiTVrx99kuvhU0h1MVN92SgMgaVVjZ9jxAYcEJ3+aHpU9ZUXLVY+8E/P1icifAJVcaaLbXSMx4LNWaoPmswBN/NVuoi9l2Cg7pd3wd3Ms35/9YuDmNKrey0kzyhQwWTcroOL0Dt4oR5yGNnOVFPE0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046736749406.47080568192894; Thu, 11 Feb 2021 04:32:16 -0800 (PST) Received: from localhost ([::1]:33404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAB8p-00005o-L7 for importer@patchew.org; Thu, 11 Feb 2021 07:32:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4s-00034p-Jf for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:10 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:44429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4q-0003uB-Jf for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:10 -0500 Received: by mail-wr1-x42d.google.com with SMTP id g6so3952850wrs.11 for ; Thu, 11 Feb 2021 04:28:08 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l2sm9666838wmf.15.2021.02.11.04.27.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:28:04 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1AB551FF9A; Thu, 11 Feb 2021 12:27:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=r/KTynis7rZSXV4lF8cKxJg2SgNT0zTWC2dECjua/lg=; b=a5iNE14LgWhI7weexCA40cJBXhMKV7v7ZunXcMNNi3A8Gy3AHkZhyEhlQkT2ZVosIT St8SBqLcW2SLwHt+ecKuCc30X6+nXPsjyCSXJ4zUAJd2c2A9j1ofw9+sg1oMVdp04G80 iys1g1d7q2BRxRFhMA2Hd9O/c5fSfOADHlTpREffn9R2NSY/ab9Vkva92cgcELJeaoAu qJj+Emww/3u/YgGeBE5bOGtzw4LpcuiG3i2XFwqeondf5/IBzqv2XPs9SdMiZwlzsAnk /p2Fmk/khMS+Sy2AWILkBN/KVlfBgidB8vfHsxK2EqR3MCbiRFny8B/4qfsyhbR+mUpK H+wA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=r/KTynis7rZSXV4lF8cKxJg2SgNT0zTWC2dECjua/lg=; b=MuGDlkL2ixWvbR9AZnyjOVEwaa5aqvWe9tamTfp5YIRR5TF4+RRjgPsVVRp5fkVGh+ 4oo3F2bhRE7ImZecUGjd66hHZ2uoJOoOtfw0tcKhC8WVtSR3Z7hIRqsS1LHu2oIouh9z pJy24HbDzEDSXI1IBilYx14fmwuGQjxTQ7J3wq1EM5rXg0oTCioRinG8eSqfWoOcRfob oFkg3oZNarKJd46TpkX0n1PmshN0C2d5WXjnFyFGgUNZBbhksdhoOr3Sv23SzZA9yiZj IrjqXms9wdFPw526MMat4LGMRzFmyiUcFnJ68nFm7opZU1rupy/nmS7mid1wlGevLKaW gcjg== X-Gm-Message-State: AOAM531tylb1F8gcRffQAsWijt+aVBMbIUcF6Wy3zf8XTy0vFPed7N4d 4VDYoWeHr8ex2VKNrIO63SWMSQ== X-Google-Smtp-Source: ABdhPJwLwNf9gdwm93GQG6gQRYey01q9oQwnhlX7uue1nn6dBLLcYqZ5Co1BJQ57YKQIyUNcmiz8UA== X-Received: by 2002:adf:9bd7:: with SMTP id e23mr5509082wrc.48.1613046487256; Thu, 11 Feb 2021 04:28:07 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 11/15] target/m68k: Drop use of gdb_get_float64() and ldfq_p() Date: Thu, 11 Feb 2021 12:27:46 +0000 Message-Id: <20210211122750.22645-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.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, Peter Maydell , berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, Laurent Vivier , =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell We used to make a distinction between 'float64'/'float32' types and the 'uint64_t'/'uint32_t' types, requiring special conversion operations to go between them. We've now dropped this distinction as unnecessary, and the 'float*' types remain primarily for documentation purposes when used in places like the function prototypes of TCG helper functions. This means that there's no need for a special gdb_get_float64() function to write a float64 value to the GDB protocol buffer; we can just use gdb_get_reg64(). Similarly, for reading a value out of the GDB buffer into a float64 we can use ldq_p() and need not use ldfq_p(). Signed-off-by: Peter Maydell Acked-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210208113428.7181-3-peter.maydell@linaro.org> Signed-off-by: Alex Benn=C3=A9e --- target/m68k/helper.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/target/m68k/helper.c b/target/m68k/helper.c index 3ff5765795..09f0391d50 100644 --- a/target/m68k/helper.c +++ b/target/m68k/helper.c @@ -72,8 +72,7 @@ static int cf_fpu_gdb_get_reg(CPUM68KState *env, GByteArr= ay *mem_buf, int n) { if (n < 8) { float_status s; - return gdb_get_float64(mem_buf, - floatx80_to_float64(env->fregs[n].d, &s)); + return gdb_get_reg64(mem_buf, floatx80_to_float64(env->fregs[n].d,= &s)); } switch (n) { case 8: /* fpcontrol */ @@ -90,7 +89,7 @@ static int cf_fpu_gdb_set_reg(CPUM68KState *env, uint8_t = *mem_buf, int n) { if (n < 8) { float_status s; - env->fregs[n].d =3D float64_to_floatx80(ldfq_p(mem_buf), &s); + env->fregs[n].d =3D float64_to_floatx80(ldq_p(mem_buf), &s); return 8; } switch (n) { --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613047073; cv=none; d=zohomail.com; s=zohoarc; b=gy9zAPOSooWOX8ASJQGDC/cJGl8UeQUiCR5a6h85Q2I4M0gazcvYFkvYoIWwWY80VD/bZoHvvcFjTCSdZ8SAlcUTF4lVHOTbnWJBKWSM84LiQ2pyYTFQjnSmJZPDxEktBpwmqXeNntWWPY7YM7XFk3626DegtgiSjT9ZUuQTZKY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613047073; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=JuFQ5vAHnDaon6m/CuHXMWN0xMbchoTGcLjdHzV+MRs=; b=IhdQq0vIVAVE8gvl8kBggL+N38Ql8tSv3htGOoGOEajOFtXbBzy1Talab2kJwflEy9jSgoZL0uEe82BgMqIYdYSGQeKPREGat0XKJ0Mgb7zs/DvNYysfYQBz7CF3XishSPbySqiysAo57knez4UXFxM+28aV2Fqemiqfi+bih3Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613047073256145.14850208884377; Thu, 11 Feb 2021 04:37:53 -0800 (PST) Received: from localhost ([::1]:45852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABEG-0005dp-26 for importer@patchew.org; Thu, 11 Feb 2021 07:37:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lABBl-0003Yi-0A for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:35:17 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:45409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lABBe-0006qi-Ig for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:35:16 -0500 Received: by mail-wr1-x42a.google.com with SMTP id m13so3967785wro.12 for ; Thu, 11 Feb 2021 04:35:10 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id p10sm642597wrt.69.2021.02.11.04.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:35:07 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 31FB51FF9B; Thu, 11 Feb 2021 12:27:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JuFQ5vAHnDaon6m/CuHXMWN0xMbchoTGcLjdHzV+MRs=; b=dcN4mQRnZIohtn5TIUsFsFOWwxvktSNhkuFNhCsqHeEEhXkhWlJtOyWK0JbwqHvmRs CrP4RIpEpXqHWbYNcPnc7qnSlaB+E0G2Xqn57YA8asTZD/yfZNFrsiUXdKEl20I5kbZl DpoXeIR0qYfPvLAF18oMVKuwxYyOmyUl/pw/HJ5TCtO19ueGoEq3d58z7iLkZEZr8YXK weQuHZ4lcluI2z/ien6FX1eWZU5zh2NP3ZDaJ+71VypSC8bBL4YexjHoycwVSn5E7tWt PgUTdA7DsKnXl/sAeXyJlyraTuVW6Ju2/+XgzJGoAzmkqMExThFWul0SjgDMYaHFhpk6 C+YA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=JuFQ5vAHnDaon6m/CuHXMWN0xMbchoTGcLjdHzV+MRs=; b=NjXZnx9Qi/2PmqVpdycFgduvhlAg/qrEG/uPT1e3AFWB/J7pvrJgetYJ/dVxIEzxrh BPl3FF6JQDwXrNzOmfcVBxXNtjL6fnLaaNioWIMJRyRCowwAoF+Kg8bFHey+bR27jR0k SsJvsn8/MvKPtLgsJB2t+3DT7e4mRipBcF5aaRblRcDYtOEFoQV9JTLchx9sf0R8fGvZ w+CpnROEJ+EU+s7ZnFqvwjPs7LSq6jfJ7g6gNzGPk/BdM87IjLpckRznKyky3BaUQJn0 pISKaqCYyfTvnG1xx7pRpbvn5Cl+kMfdV6nG/oseSV+kRTdJkSHhVBh5gyQgR4SSVqAf AMyg== X-Gm-Message-State: AOAM530PwRggBv58uvsXo4dpHZH+2R3BWrOH/Zg+IXbmLMo/8Tyf6Dff 31fV8hH8clSR3QKr4zaiErAKOQ== X-Google-Smtp-Source: ABdhPJzR1NXlSMzyyxx7RsYfBO00Bm1WVlqe3agfL/phF/TO7JRd3eAN+A4sfWYg2wcxkxKFYNzMbQ== X-Received: by 2002:adf:f6c3:: with SMTP id y3mr4295304wrp.24.1613046909204; Thu, 11 Feb 2021 04:35:09 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 12/15] target/ppc: Drop use of gdb_get_float64() and ldfq_p() Date: Thu, 11 Feb 2021 12:27:47 +0000 Message-Id: <20210211122750.22645-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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=unavailable 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, Peter Maydell , berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, Greg Kurz , =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, "open list:PowerPC TCG CPUs" , aurelien@aurel32.net, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell We used to make a distinction between 'float64'/'float32' types and the 'uint64_t'/'uint32_t' types, requiring special conversion operations to go between them. We've now dropped this distinction as unnecessary, and the 'float*' types remain primarily for documentation purposes when used in places like the function prototypes of TCG helper functions. This means that there's no need for a special gdb_get_float64() function to write a float64 value to the GDB protocol buffer; we can just use gdb_get_reg64(). Similarly, for reading a value out of the GDB buffer into a float64 we can use ldq_p() and need not use ldfq_p(). Signed-off-by: Peter Maydell Acked-by: David Gibson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210208113428.7181-4-peter.maydell@linaro.org> --- target/ppc/gdbstub.c | 8 ++++---- target/ppc/translate_init.c.inc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/target/ppc/gdbstub.c b/target/ppc/gdbstub.c index 01459dd31d..c28319fb97 100644 --- a/target/ppc/gdbstub.c +++ b/target/ppc/gdbstub.c @@ -130,7 +130,7 @@ int ppc_cpu_gdb_read_register(CPUState *cs, GByteArray = *buf, int n) gdb_get_regl(buf, env->gpr[n]); } else if (n < 64) { /* fprs */ - gdb_get_float64(buf, *cpu_fpr_ptr(env, n - 32)); + gdb_get_reg64(buf, *cpu_fpr_ptr(env, n - 32)); } else { switch (n) { case 64: @@ -184,7 +184,7 @@ int ppc_cpu_gdb_read_register_apple(CPUState *cs, GByte= Array *buf, int n) gdb_get_reg64(buf, env->gpr[n]); } else if (n < 64) { /* fprs */ - gdb_get_float64(buf, *cpu_fpr_ptr(env, n - 32)); + gdb_get_reg64(buf, *cpu_fpr_ptr(env, n - 32)); } else if (n < 96) { /* Altivec */ gdb_get_reg64(buf, n - 64); @@ -241,7 +241,7 @@ int ppc_cpu_gdb_write_register(CPUState *cs, uint8_t *m= em_buf, int n) env->gpr[n] =3D ldtul_p(mem_buf); } else if (n < 64) { /* fprs */ - *cpu_fpr_ptr(env, n - 32) =3D ldfq_p(mem_buf); + *cpu_fpr_ptr(env, n - 32) =3D ldq_p(mem_buf); } else { switch (n) { case 64: @@ -291,7 +291,7 @@ int ppc_cpu_gdb_write_register_apple(CPUState *cs, uint= 8_t *mem_buf, int n) env->gpr[n] =3D ldq_p(mem_buf); } else if (n < 64) { /* fprs */ - *cpu_fpr_ptr(env, n - 32) =3D ldfq_p(mem_buf); + *cpu_fpr_ptr(env, n - 32) =3D ldq_p(mem_buf); } else { switch (n) { case 64 + 32: diff --git a/target/ppc/translate_init.c.inc b/target/ppc/translate_init.c.= inc index 3ec45cbc19..e7324e85cd 100644 --- a/target/ppc/translate_init.c.inc +++ b/target/ppc/translate_init.c.inc @@ -9923,7 +9923,7 @@ static int gdb_get_float_reg(CPUPPCState *env, GByteA= rray *buf, int n) { uint8_t *mem_buf; if (n < 32) { - gdb_get_float64(buf, *cpu_fpr_ptr(env, n)); + gdb_get_reg64(buf, *cpu_fpr_ptr(env, n)); mem_buf =3D gdb_get_reg_ptr(buf, 8); ppc_maybe_bswap_register(env, mem_buf, 8); return 8; @@ -9941,7 +9941,7 @@ static int gdb_set_float_reg(CPUPPCState *env, uint8_= t *mem_buf, int n) { if (n < 32) { ppc_maybe_bswap_register(env, mem_buf, 8); - *cpu_fpr_ptr(env, n) =3D ldfq_p(mem_buf); + *cpu_fpr_ptr(env, n) =3D ldq_p(mem_buf); return 8; } if (n =3D=3D 32) { --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613046746; cv=none; d=zohomail.com; s=zohoarc; b=RlYkoQYozvjZnA4bibmwinbKiQ0sKkwn7SmVvPR2rkeiFuiDXtJoj5cEioEvWPgnnkl/T6lDY7U7Qszo9HkHlseEN84sr8rXEGvr3M1VJqEPuWy25mIEfFQvPdrNPow7DRHz20upewUSbAYwnBvsvl4Z8WgvWSE5QkOyKN5ynuI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613046746; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CMnqpr20flSURyNM92Gx7GeWK7ajly5dp8lWEdqL/SE=; b=adVXRFLBHCKyFQm5EJzoyiDfEG7DuBsLFVcqEo8IScm12to15AyjIr/3F233nhjI4vX8xzXlvO6Cm+8Es4+qbjxnl2BCj2+uf3vc7jNM2fH60EV2uxE9Jn15U4wSLFwGddNzL5MzmfbWcIcUtii6LnCjyNS4NW63YqBKqVsD5hs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613046746163447.41098820112916; Thu, 11 Feb 2021 04:32:26 -0800 (PST) Received: from localhost ([::1]:34036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAB8y-0000ME-UZ for importer@patchew.org; Thu, 11 Feb 2021 07:32:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4v-0003Dy-U4 for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:13 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:53133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4u-0003w4-7C for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:13 -0500 Received: by mail-wm1-x331.google.com with SMTP id l17so3833235wmq.2 for ; Thu, 11 Feb 2021 04:28:11 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id w12sm9274364wmi.4.2021.02.11.04.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:28:04 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 49D521FF9C; Thu, 11 Feb 2021 12:27:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CMnqpr20flSURyNM92Gx7GeWK7ajly5dp8lWEdqL/SE=; b=obrv2+UmiQIXifPJIqfJbs/t90qNwZT3oY82gbqP2BODTpDIRSCVT1gQ1KW+7T5Tx/ JChorMCWHBMyZK8WRKJbzBX3owcgE9h8Lk/0OKiVW19QGn9lyUuRNLpsvubmWwY0iP2a DZdHApRRLUycGMomiXLEnf9SXUtPC0iJChr68EK8wXUREc9SSQ67N8Hbt7Te0ou46Ggo N52biQdUE35B876C4UdzVAebmqum2GuiKEtcIaAG8l4wlfc+WhJB9gGoG3RS1z1x+Bbb qB/7Cs3VgEE3KxDcR2Q4Wq83W0no2NV4Mp3pi4ntYWL6vUa6e7nJjDIyBfooJP58Rhpj khgg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=CMnqpr20flSURyNM92Gx7GeWK7ajly5dp8lWEdqL/SE=; b=r2H0OT0KKs1pMzX8Ko7meKhu6cBy6pqJe/1nOQBX+tom8BCSmO7mTn0oQzTnbTlH12 6rzrWUxV55Td7KLMCvniCtKQ3Ekmcvi7vXjLodU+cboMm84PGBtsizn6tcQ+LntgIgLn sYa4QlGP8aNvCQRgXkyIEqSecbQHi9qniQDuJWBZHlvT7S1E5IjQLexpGFjPO2rycVN0 RFV8WXWTrN6qBlQKOx9olfLKwNJbChNcYFZRCsBTFXyxEbgVBMXKcS0Tq+yxLkBfpLRf PTiurtu61CGUeGsmsjE8qfwdnacV29brJtzk3gRV+/XzzeTEJ9ISoWW+hUkAtooTUOHS 1pSw== X-Gm-Message-State: AOAM5312rrHuUwbnVTw0p7fiRtVCQrQ67wRaW+kC34VBZhljMgldWbX7 ge7hIzPEZk8AdfJ83oKqXWbIow== X-Google-Smtp-Source: ABdhPJyJX67NvbjJ1ydvm0o1KRZu6eTfR0ygWzl0P0PGTZ9IND/LZ5sIwhmmMysl3x+PDlJdeRF2xg== X-Received: by 2002:a7b:c199:: with SMTP id y25mr4890128wmi.72.1613046490906; Thu, 11 Feb 2021 04:28:10 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 13/15] gdbstub: Remove unused gdb_get_float32() and gdb_get_float64() Date: Thu, 11 Feb 2021 12:27:48 +0000 Message-Id: <20210211122750.22645-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.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, Peter Maydell , berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell The functions gdb_get_float32() and gdb_get_float64() are now unused; remove them. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210208113428.7181-5-peter.maydell@linaro.org> --- include/exec/gdbstub.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h index ff0b7bc45e..a024a0350d 100644 --- a/include/exec/gdbstub.h +++ b/include/exec/gdbstub.h @@ -135,26 +135,6 @@ static inline int gdb_get_reg128(GByteArray *buf, uint= 64_t val_hi, return 16; } =20 -static inline int gdb_get_float32(GByteArray *array, float32 val) -{ - uint8_t buf[sizeof(CPU_FloatU)]; - - stfl_p(buf, val); - g_byte_array_append(array, buf, sizeof(buf)); - - return sizeof(buf); -} - -static inline int gdb_get_float64(GByteArray *array, float64 val) -{ - uint8_t buf[sizeof(CPU_DoubleU)]; - - stfq_p(buf, val); - g_byte_array_append(array, buf, sizeof(buf)); - - return sizeof(buf); -} - static inline int gdb_get_zeroes(GByteArray *array, size_t len) { guint oldlen =3D array->len; --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613047363; cv=none; d=zohomail.com; s=zohoarc; b=kWgcO9l4hTgZI4HUwwaI0YK8uSfnFxtud4ouEpc1OPRknx8szvjofaedVi+s+qfbHA34mBQf+VJjrbVmPNbShobvzMfFxJeFLqwa5bLVhbx7FrjF/yENRo+mk8PjmboexLusIfgy679Pq/sRyB/JNE2KbEmRXUPnigx2TOFBZtU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613047363; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Y7xh5Q0am567f2ghZbDcOvvaEWJ5DdA7QdC3uMKc3CA=; b=KUiBSPJsOP3LiRQGUJ9QpiyNw5cWXrttQQfU8HfOoZgVilQL78adwBuN1N0nMtlPALwf/jvIUe0baRxcubDnZcEidJ2tltKwBBs0K+rJInumZz9NWi0O9DCIuHzW917/FdWF+UVeIP+TsxwfypC2bJ6cmbjg+3h09579VxOc1hg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613047362910948.6417748933827; Thu, 11 Feb 2021 04:42:42 -0800 (PST) Received: from localhost ([::1]:55578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABIv-0001sc-NR for importer@patchew.org; Thu, 11 Feb 2021 07:42:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAB4v-0003D9-L7 for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:13 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:38119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAB4t-0003vy-Mq for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:28:13 -0500 Received: by mail-wr1-x42c.google.com with SMTP id b3so4001503wrj.5 for ; Thu, 11 Feb 2021 04:28:11 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a21sm10096952wmb.5.2021.02.11.04.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:28:04 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 650971FF9D; Thu, 11 Feb 2021 12:27:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y7xh5Q0am567f2ghZbDcOvvaEWJ5DdA7QdC3uMKc3CA=; b=a/QARga0/9deLR9hpp8MGIWB76nqw+TCzU6xhQgWXR1wT8sFaPdB1JlW+jFAoeokpS ghrkw5gXqV9Jm5ijsrwhEXH20V1fOvrj07hE5ctH2Mtfwa88zJ+iZGFLCuXG6w0zmvmY njhodaG+gUzwPjS9Hd4g8WQnRHxOXo+qqfHaYw5TuPWPfMMcJebeB/eqAr3SJ7LnXQct 42qWuSKw2yJmBz6IEdOiYPi7xSiubA8S5Z8eKvFY58GmjTqOWF0gna7epd1YyMmEA+Q5 vOdJNqxrvEL2RlLt2lnwlltfR6T69EFwPPsLHs67zZ2DSkFsuoDfOZiS68BGfafHTlIL 4aqg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y7xh5Q0am567f2ghZbDcOvvaEWJ5DdA7QdC3uMKc3CA=; b=VJPrGK3GhQXGOANVduKpV5bn+4hL0ONQC/TBYMQQyD4kXhBZy+S2TusuoVFrsOsGV3 azFGQ88MUG0v0+zXUC5CRweFy/eMe/13ZfvdDIKBGdii+FPnmrPoZaea1efA3latIYPk fHjfHu++jm1q4pGjqvgkmcxVuHd/UnGJSLofTprmvj9u9l8cWUSqhr1IqhPCGfYqhQ9f k6mj3J8QlR66WY+X9fOjKr8csE7VgLJU45PqNTVgiEcYoZzlj2J3eT4v/Ufc5JBEdKCM 8+e8mZz4yWij+YD8RlQ+AdHGW4vU7KAmzS3t1SEQxD2jz6N8umFJcTAl0NJUEceV4JBO uS2g== X-Gm-Message-State: AOAM530JERkK1URz4Qph/iGpwxhNiYWTCFPVnbw/PqHZ/hL3DGz9B/5D UvjlJ291YfN7cS6DjFWx2lNlrA== X-Google-Smtp-Source: ABdhPJw0118JtTHGt1xMUij3vH8aofgpT/5w3MjgGSckX3HfN0cXlX0yuuznSbArboOmQFfCVWPbcw== X-Received: by 2002:adf:de11:: with SMTP id b17mr569382wrm.225.1613046490227; Thu, 11 Feb 2021 04:28:10 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 14/15] bswap.h: Remove unused float-access functions Date: Thu, 11 Feb 2021 12:27:49 +0000 Message-Id: <20210211122750.22645-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.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, Peter Maydell , berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , richard.henderson@linaro.org, f4bug@amsat.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , cota@braap.org, Paolo Bonzini , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell The float-access functions stfl_*, stfq*, ldfl* and ldfq* are now unused; remove them. (Accesses to float64 and float32 types can be made with the ldl/stl/ldq/stq functions, as float64 and float32 are guaranteed to be typedefs for normal integer types.) Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210208113428.7181-6-peter.maydell@linaro.org> --- docs/devel/loads-stores.rst | 14 ++++----- include/exec/cpu-all.h | 8 ----- include/qemu/bswap.h | 60 ------------------------------------- 3 files changed, 5 insertions(+), 77 deletions(-) diff --git a/docs/devel/loads-stores.rst b/docs/devel/loads-stores.rst index ee43f5dfee..568274baec 100644 --- a/docs/devel/loads-stores.rst +++ b/docs/devel/loads-stores.rst @@ -24,16 +24,12 @@ potentially unaligned pointer values. =20 Function names follow the pattern: =20 -load: ``ld{type}{sign}{size}_{endian}_p(ptr)`` +load: ``ld{sign}{size}_{endian}_p(ptr)`` =20 -store: ``st{type}{size}_{endian}_p(ptr, val)`` - -``type`` - - (empty) : integer access - - ``f`` : float access +store: ``st{size}_{endian}_p(ptr, val)`` =20 ``sign`` - - (empty) : for 32 or 64 bit sizes (including floats and doubles) + - (empty) : for 32 or 64 bit sizes - ``u`` : unsigned - ``s`` : signed =20 @@ -67,8 +63,8 @@ of size ``sz`` bytes. =20 =20 Regexes for git grep - - ``\`` - - ``\`` + - ``\`` + - ``\`` - ``\`` - ``\`` =20 diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index cfb1d79331..babf0a8959 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -125,13 +125,9 @@ static inline void tswap64s(uint64_t *s) #define ldsw_p(p) ldsw_be_p(p) #define ldl_p(p) ldl_be_p(p) #define ldq_p(p) ldq_be_p(p) -#define ldfl_p(p) ldfl_be_p(p) -#define ldfq_p(p) ldfq_be_p(p) #define stw_p(p, v) stw_be_p(p, v) #define stl_p(p, v) stl_be_p(p, v) #define stq_p(p, v) stq_be_p(p, v) -#define stfl_p(p, v) stfl_be_p(p, v) -#define stfq_p(p, v) stfq_be_p(p, v) #define ldn_p(p, sz) ldn_be_p(p, sz) #define stn_p(p, sz, v) stn_be_p(p, sz, v) #else @@ -139,13 +135,9 @@ static inline void tswap64s(uint64_t *s) #define ldsw_p(p) ldsw_le_p(p) #define ldl_p(p) ldl_le_p(p) #define ldq_p(p) ldq_le_p(p) -#define ldfl_p(p) ldfl_le_p(p) -#define ldfq_p(p) ldfq_le_p(p) #define stw_p(p, v) stw_le_p(p, v) #define stl_p(p, v) stl_le_p(p, v) #define stq_p(p, v) stq_le_p(p, v) -#define stfl_p(p, v) stfl_le_p(p, v) -#define stfq_p(p, v) stfq_le_p(p, v) #define ldn_p(p, sz) ldn_le_p(p, sz) #define stn_p(p, sz, v) stn_le_p(p, sz, v) #endif diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h index 8b01c38040..4aaf992b5d 100644 --- a/include/qemu/bswap.h +++ b/include/qemu/bswap.h @@ -400,36 +400,6 @@ static inline void stq_le_p(void *ptr, uint64_t v) stq_he_p(ptr, le_bswap(v, 64)); } =20 -/* float access */ - -static inline float32 ldfl_le_p(const void *ptr) -{ - CPU_FloatU u; - u.l =3D ldl_le_p(ptr); - return u.f; -} - -static inline void stfl_le_p(void *ptr, float32 v) -{ - CPU_FloatU u; - u.f =3D v; - stl_le_p(ptr, u.l); -} - -static inline float64 ldfq_le_p(const void *ptr) -{ - CPU_DoubleU u; - u.ll =3D ldq_le_p(ptr); - return u.d; -} - -static inline void stfq_le_p(void *ptr, float64 v) -{ - CPU_DoubleU u; - u.d =3D v; - stq_le_p(ptr, u.ll); -} - static inline int lduw_be_p(const void *ptr) { return (uint16_t)be_bswap(lduw_he_p(ptr), 16); @@ -465,36 +435,6 @@ static inline void stq_be_p(void *ptr, uint64_t v) stq_he_p(ptr, be_bswap(v, 64)); } =20 -/* float access */ - -static inline float32 ldfl_be_p(const void *ptr) -{ - CPU_FloatU u; - u.l =3D ldl_be_p(ptr); - return u.f; -} - -static inline void stfl_be_p(void *ptr, float32 v) -{ - CPU_FloatU u; - u.f =3D v; - stl_be_p(ptr, u.l); -} - -static inline float64 ldfq_be_p(const void *ptr) -{ - CPU_DoubleU u; - u.ll =3D ldq_be_p(ptr); - return u.d; -} - -static inline void stfq_be_p(void *ptr, float64 v) -{ - CPU_DoubleU u; - u.d =3D v; - stq_be_p(ptr, u.ll); -} - static inline unsigned long leul_to_cpu(unsigned long v) { #if HOST_LONG_BITS =3D=3D 32 --=20 2.20.1 From nobody Sat May 18 21:26:35 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613047722; cv=none; d=zohomail.com; s=zohoarc; b=nUOA/wdwrRoSB7KJAcVWBuJXRvEnv9f75wqnJ+Ry+9onxQXDu3ni+UdTBmZTyG7I+Ajd6pWpB7FLQwIO+LCrBYAIerv4w8Ar0npzXXApotRXEajB/xUgMSyxFleYBI2yraEC0St1C/u9QSUrz2M9bZrMgF7bCw2YBLNcNfOhPvI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613047722; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=eEkBUwSW8IrSA602NYTa31NYQltmUAywbOzfT8fIKVM=; b=hkV+cBQp0UJbRdKVdHIOfcZE8rgMt6T1WCaQBJnT3lEQR1eNXNp5zD9SusZlHeUI3urrR+lpmlyQ/ktbWXK98p4aMg/FjAn2aAFord9S//Ltbz7bYTeJD21W4eL5Z45f1HcNNM81vXg6ftLATdZPJ/s9CcQjk22X4XAd2V4mFxk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613047721969281.58620104797683; Thu, 11 Feb 2021 04:48:41 -0800 (PST) Received: from localhost ([::1]:37968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lABOi-0006Ph-Fo for importer@patchew.org; Thu, 11 Feb 2021 07:48:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lABBg-0003Wr-3N for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:35:16 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:35415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lABBe-0006qf-Ie for qemu-devel@nongnu.org; Thu, 11 Feb 2021 07:35:11 -0500 Received: by mail-wm1-x330.google.com with SMTP id n10so3706218wmq.0 for ; Thu, 11 Feb 2021 04:35:10 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u14sm9194549wmq.45.2021.02.11.04.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 04:35:07 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7C4041FF7E; Thu, 11 Feb 2021 12:27:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eEkBUwSW8IrSA602NYTa31NYQltmUAywbOzfT8fIKVM=; b=BcJeLVh8+5fuVJ/s/i28/vjB7VE14Ec+8xSbifqBDE+IcZj58dffMtAnnFB3Xz+uLe UtKNZz2WtjdwY2F5ik4FC0coUpnqYofXmVMm2rGzpn2w+7GqaZkvJ/JJI0N7VO6DMGMB fxJPDZK1xUOBlEUs0gkdmuOdtbEefZjYpvoB38EFIjrGYfvRzChs4KvvqIAWrTmKUMSw 6jPPoJO0zXZY3eACfbJEn//lE484urXtVTTMrE+TdWQfeqwFp5MD5Vy7/hTxjck12EUu ueDYjPJ3K6nKfBuArxEvBvXVtFWC236Fo8g8nhCoxSqj7XgQcolPCg9AkJMqsx2/M/Ui uaQw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=eEkBUwSW8IrSA602NYTa31NYQltmUAywbOzfT8fIKVM=; b=DLOiHASTaBvL4rGwaynFAz5EG4dHbYmH4lm+s5wP5JjqrzwrSv9Nt9S7vakG2kmkPX AX8n07SLRJDl3KVKxwjuPWL8aRhwhjAoVVrk/Z1kF7DTWHyCCdCeXf9OBNmbNtx4wIM0 fSQrK6cLSb2nfBFk6/IB4GorhLQL/P/7HvWhHg2cfcYDoZ8JkQ026jI6lTCWb+U4cjP1 qQZo+XKbXAr6PKw2UTpBuSpjLngc3ntzRgk1lBaOY95EHlVhS5FPlwHpcyiDoxAk5Ujk ce/VXkKE9FogoIXQ/N5iTtQzOXzj0MofaMJWYjh3zX/ZI/Kc5+OsmaM5GKD5so0/MyHu cx5A== X-Gm-Message-State: AOAM530W+XykCukXOsdiC8vEHYfLEvo4IGglEME6ymmTnKCC2BA3N57w LUe4GPAwMcOyNdFhqUcO5hVRrg== X-Google-Smtp-Source: ABdhPJw9pmmf2igJyNH98qkTw7hJ33pAyqwCpx8Iymce3+WDek7uG6sf2NayJ50826bI3VEIux9TaA== X-Received: by 2002:a1c:720d:: with SMTP id n13mr4840305wmc.103.1613046908627; Thu, 11 Feb 2021 04:35:08 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 15/15] tests/tcg: fix silent skipping of softmmu gdb tests Date: Thu, 11 Feb 2021 12:27:50 +0000 Message-Id: <20210211122750.22645-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210211122750.22645-1-alex.bennee@linaro.org> References: <20210211122750.22645-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x330.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, =?UTF-8?q?Alex=20Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Signed-off-by: Alex Benn=C3=A9e --- tests/tcg/multiarch/system/Makefile.softmmu-target | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/tcg/multiarch/system/Makefile.softmmu-target b/tests/tcg= /multiarch/system/Makefile.softmmu-target index 4657f6e4cf..625ed792c6 100644 --- a/tests/tcg/multiarch/system/Makefile.softmmu-target +++ b/tests/tcg/multiarch/system/Makefile.softmmu-target @@ -27,5 +27,9 @@ run-gdbstub-memory: memory --bin $< --test $(MULTIARCH_SRC)/gdbstub/memory.py, \ "softmmu gdbstub support") =20 -MULTIARCH_RUNS +=3D run-gdbstub-memory +else +run-gdbstub-%: + $(call skip-test, "gdbstub test $*", "need working gdb") endif + +MULTIARCH_RUNS +=3D run-gdbstub-memory --=20 2.20.1