From patchwork Tue Jun 9 10:37:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187638 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp400004ilo; Tue, 9 Jun 2020 03:39:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNp0m6u2Bl/qRR6CZZmRrqowronnhIQZN64Kk7Dpsik2H/6HbtddtVNLD1nBE39j3t7YHX X-Received: by 2002:a25:770b:: with SMTP id s11mr5003545ybc.157.1591699145201; Tue, 09 Jun 2020 03:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699145; cv=none; d=google.com; s=arc-20160816; b=SWDA8ZpokxfX4+Sxky3tfoeS1hn4Skg9cUhTObaeGInXtTa8+00GSMwdJ+CJ9U6nVo vvYsnzZAQohr3LorFvN5fGR+wsBcVOwC9WP0JEo9t2okP3c9K0KoN7iweNWaVMLM9Etx pYNtJiuq6Im7L5i4R40BSIfisGqem280+0/sgAx6yJwWTY15w+qv4jcToDL6Jv0JhX9r Fbuu8zihXYlVMH+tMqMmymxZi2yY0uuLO9yLyl/pyEG8l1SOvz6VticxCELhgMv4Bgi2 Vr7WS2D4SLfxqQvN+CG+T/KxxQlDy/yiVMte/bcPW8uFn1x5BLpFFtYKcKnokiVKYKmb L8gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=w3tU0oQT5iXZ75VzNmUziXK2vuiXpZ8kg2IAT1OBASY=; b=bVefCz79GqNHe0RnMOD4bb3Lyhci5Kv2MILPt97ovkt5CmUSLeis8pbfzLKEWDDE4/ p6oHPUZ7pHEzxgyv3gh2jFU0WmINiMeXhJ5Spti2Usz2rZoAI2WDKWV8Y/CWTK4ugqvn S4klgmcw3d4lPF+KjxnA8pzIYIKlv0cgRwVp0rbEoV/tUTn48N0bb68BvONyE+gDa/k4 CyJx++HQt3vT/OgVU/s0ukQLMsyP2XWdPQAZKT3pRH/iqEhLiSn0qRweheZhvv0xSQ7c XAPFGatUQX/fYWF8iQbxyYRYgZGid8O4CmHu3x9B3oaU+7hAsA4vrsjA5jQpWxlFO6vu /CxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="ms/DOMYH"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v203si2156245ybv.150.2020.06.09.03.39.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:39:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="ms/DOMYH"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibeq-0007aN-K9 for patch@linaro.org; Tue, 09 Jun 2020 06:39:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibe3-0007Zk-GN for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:15 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:33494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibe2-0004N5-8w for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:15 -0400 Received: by mail-wr1-x436.google.com with SMTP id l11so20724905wru.0 for ; Tue, 09 Jun 2020 03:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w3tU0oQT5iXZ75VzNmUziXK2vuiXpZ8kg2IAT1OBASY=; b=ms/DOMYHzBkJkfSCtPb62tbYYllhfKrqIrKk/v52fWiMAkFz6YJLbLjZ4H2w7mzvbQ Q64RfkOEBeKVq+eKKo8+PkPxu2K5F+LivHy3IAZirPnzaWgL9wPwXBBmY2w+wykwXkRn 6LB75s9YPY1es7UzPJpLBiWOOT2nAVvU7sKIWdnA4ecExcw+HN11/Y2CAdVXS1WRbNQ6 Alf5fAXw+c5p4Cfty7IhbPh8uDfpnm1UVhgjBo61ghGNNjwREJH/u+1NPNJ4NrRU8lyH 5aApnqRmHj0gtO69fMgQ1VGdygeLow7WlqZS/zfM8CtaBb70Z+uRvCyQXr8CiE0Zeuy5 chbA== 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=w3tU0oQT5iXZ75VzNmUziXK2vuiXpZ8kg2IAT1OBASY=; b=atwzf75S1vzFtEgUP0Lhys1Up+7Q14EMuZxxNOouLi97Sl0Cntv6JlYjxvddmUbUWI SVrYIqeioMoB2QkhfLjG8XEknTWdRKYPxY0LrW7EYl6cN2lWH5/a8i6l7b81fFb9xK6G W3r+vjlu+NRRX28hVePPka+uD3cJQC839pnHua2oZ7Z8u7KyH5RwLx60NqD0bobgGbxa VOn0FHgKwszLtc0KGPdKMvP7i/Y0uD8XeTZVJG/frUhyBMEZcW8eT/DUIvlLJbG8hPM8 2jtqUmQvI8tdoKPcYyhHAGMYkbCWbspCBoLLz/HaDSqI55TPZ6JFFBeI+CZCOvnKf3Sx ERCA== X-Gm-Message-State: AOAM531FwFTp1W4pzM32wPPyj9sqjqpDGzVL64w2pMrArBB9GpAIaLNK lD/NQPXFY2y9dNh1OtuukLPdVg== X-Received: by 2002:adf:f450:: with SMTP id f16mr3693578wrp.307.1591699092874; Tue, 09 Jun 2020 03:38:12 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q11sm2879776wrv.67.2020.06.09.03.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:10 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 13F011FF87; Tue, 9 Jun 2020 11:38:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 01/17] qemu-plugin.h: add missing include to define size_t Date: Tue, 9 Jun 2020 11:37:53 +0100 Message-Id: <20200609103809.23443-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Emilio G. Cota" , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Signed-off-by: Emilio G. Cota Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20200524202427.951784-1-cota@braap.org> Message-Id: <20200605154929.26910-2-alex.bennee@linaro.org> -- 2.20.1 diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h index 89ed579f559..bab8b0d4b3a 100644 --- a/include/qemu/qemu-plugin.h +++ b/include/qemu/qemu-plugin.h @@ -12,6 +12,7 @@ #include #include +#include /* * For best performance, build the plugin with -fvisibility=hidden so that From patchwork Tue Jun 9 10:37:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187639 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp400016ilo; Tue, 9 Jun 2020 03:39:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaDBd+XF/5BVS8bVLiRyqsr9L9AUOvrPlWSGXTjxtlIh9r+AYMUDIlKfBFAJy/8kjyYQPt X-Received: by 2002:a25:e685:: with SMTP id d127mr5371284ybh.265.1591699146489; Tue, 09 Jun 2020 03:39:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699146; cv=none; d=google.com; s=arc-20160816; b=RRy+uMacLeQRB9l6S2Ual8F1GNFBtUQRns4KGYA+rpLa2FJwoEFdj3M1tZ6REyHw/9 Ofw1QwtpZ0J12ojwoH3NtbTv7vEWFNXci1HMUM2UFZXPaJoYYLTre3PDMaCoNM2KVcam 3ABRLVZzdhJKuaY0HfHPohzyoX+IjbNQeDUTu6amnxgmfaF4cJwUb12Ey2VgHhbi1EkS 4WRIFIwH7GzfKDxD0R1fnEKnNCkfA/qrvxIWbkneF6ftpVScAgYRxtyjDyRg2m1zKRTs xfzxn4gUlOEqUKbP1UfzW2hHsb3EtGCeTzmhwO2SS5T/w0EMASbV+44DNSgT6hMu1UAI 2IjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=9pkl6iqDPM5DBUIjjPAZ8d3gYA1coOAv0ui3m8FG6bQ=; b=pk4vJpsShewuFD2igflDKppDSU248EXZxNYL/SpJK2wqGz0QUZGVjPucypEwt+AyyX EArLSss+bezt+hQctivzYGa5Dc7jvkBOcGmCpvRjO5DiAcnrovAiPvSyiBCsg52OQ3CX 6zxj35gHNFLODZ7liPFioXxOm/prm2KIpaW1E9b++pMgGMf6fAxH8EauBZ3QciLRvRAl Ih0QBOuwRsf/l2EKLCfD5B5X68xL36iKRf3IpU9eW5p0xlsDz8Cyn1K+ppuGGTurRW+4 Krm83JV+sbtH5pCCS92goKiAy669sKYFYLPm7lln+KZXPLbrrSKY6SWoNUYTdXqYXq4Y G/9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="AtibFGV/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i201si2132070yba.183.2020.06.09.03.39.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:39:06 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="AtibFGV/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiber-0007fs-RU for patch@linaro.org; Tue, 09 Jun 2020 06:39:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibe9-0007cz-3Q for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:22 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:34603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibe3-0004NF-GH for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:20 -0400 Received: by mail-wr1-x430.google.com with SMTP id r7so20744394wro.1 for ; Tue, 09 Jun 2020 03:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9pkl6iqDPM5DBUIjjPAZ8d3gYA1coOAv0ui3m8FG6bQ=; b=AtibFGV/7JcGtqyPrCAVXwAoAb92UuyOmVBooJYi94/d15ascHEhCG/1qLHEhWlA76 Gha7WGOd/L89d/2gLppwH0qx1YouOjtT2fBoZPAMkhA0e/ERxHMOSpe0Op++R+27Mcv/ 7WsRfsfncAWwh7nV/ieoEAVznNVECfN+hFuk0v6tP5M4n4eHVT2ulk3EZEitJTBg83qA 19WzmlYi1R9TOMoeM1MMLyROeJjj3XidCW5nrMESaIYnnKLCL2S+cwSNpqQ3Nm6YTjtg AaSYA+b+5dMnNkodD1g2DbF9YBnZMIiEUm8WjXGvjwhqzk1qRKK8Pf/LVWK+bXQmxuN0 9BfA== 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=9pkl6iqDPM5DBUIjjPAZ8d3gYA1coOAv0ui3m8FG6bQ=; b=U5/YP2gruIfx63jmtCRQwAh8hY5AJZeFsaA3wixZdCiJwwnCDkWKPbB4pacBwETW9i n7f0j1O/OgG52XSDRv8Ug/vwE0a22iTNxFXJygcwHWcwtswK7mGqGI2xLHQ9UmqY46jt X1BvfajcEZi7VQ0qRr56ScPa2jd64fTZKM+nzy8fLOPdFNvDzgTvm1hqJMaQljnaMK3R MuoqfuVRtsy89Epywt9ms5BPprRLxdx6Y/QlLCyFWr9t6MNTA+KpEJiKmZMizQxIST9Q WEy/+5Rcu/nb4lraxgUdPGyBpmGxT6hdh1Z6cZHsrpC0hjzibJBg37r5hnrrgLrMlgQV F/nQ== X-Gm-Message-State: AOAM5333eSl3sA6Lu1DmBrFVc8pb8GIdhFmKUD27ULJwXis03fYFNSQ2 9dl2LNUpJCIbq3jkz96vI7gzfA== X-Received: by 2002:a5d:62c2:: with SMTP id o2mr3601739wrv.51.1591699094101; Tue, 09 Jun 2020 03:38:14 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id d24sm2370416wmb.45.2020.06.09.03.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:13 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 418681FF8C; Tue, 9 Jun 2020 11:38:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 02/17] scripts/clean-includes: Mark 'qemu/qemu-plugin.h' as special header Date: Tue, 9 Jun 2020 11:37:54 +0100 Message-Id: <20200609103809.23443-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Emilio G . Cota" , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé "qemu/qemu-plugin.h" isn't meant to be include by QEMU codebase, but by 3rd party plugins that QEMU can use. These plugins can be built out of QEMU and don't include "qemu/osdep.h". Mark "qemu/qemu-plugin.h" as a special header that doesn't need to be cleaned for "qemu/osdep.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Emilio G. Cota Signed-off-by: Alex Bennée Message-Id: <20200524215654.13256-1-f4bug@amsat.org> Message-Id: <20200605154929.26910-3-alex.bennee@linaro.org> -- 2.20.1 diff --git a/scripts/clean-includes b/scripts/clean-includes index dd938daa3ec..795b3bea318 100755 --- a/scripts/clean-includes +++ b/scripts/clean-includes @@ -123,6 +123,7 @@ for f in "$@"; do ;; *include/qemu/osdep.h | \ *include/qemu/compiler.h | \ + *include/qemu/qemu-plugin.h | \ *include/glib-compat.h | \ *include/sysemu/os-posix.h | \ *include/sysemu/os-win32.h | \ From patchwork Tue Jun 9 10:37:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187644 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp402221ilo; Tue, 9 Jun 2020 03:42:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz490XcoY0V6+U3COk0N/j+CUJQJbJ1vd9yDvqlux2ilK/qFkCGMp9JOMl0hG6IrocqAqgV X-Received: by 2002:a25:1085:: with SMTP id 127mr5140329ybq.254.1591699346121; Tue, 09 Jun 2020 03:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699346; cv=none; d=google.com; s=arc-20160816; b=eDuzVNKZiLwGkzsn9iSDWjiZIqc3PT++sFiMKZfRCiaWRrn33SLQ6a2yZEvdWcqpFT FygyNRHIq+Pmf6LKhphdd3E0XmT/UsnCSNY/D0ioN3Qy2uR7pmbEgh5sVvUFh+fCnd71 PWFUPP4K0wUSqm/RKrauBoBsPPwVRx5WMZIBnsMUqwQpCv1HekSZywCdoNnQ2SeW6+hO il6HLTp/OR5c+UGLuE/V0VYrgdKUfMGZqMdiTXPjFXETV0fZ0HhXyBIQWYjnh0oLoWf/ el8pYwGnMJpB8KbIcjr7eFDISClYzwc4kQALWYy8k9GnDu0ZoSWBOkyC0mWUJ5ngRdfB OF5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=rEdfwRSO3GyhnFXhhrEW06DMlH84FkvCaHVKL6ZFOos=; b=RdDQb+H/qPFE4MjbtH05PD8xQGJsQO3p5ZHUcStE7CMC5TqWtPrO3PXrjoh+Iys7bV m4bMCuxorpH+Je4h2M8mEExYpiGeo/ndtB/hpBy2ONPlJa8vb5N/t5263xzqhMqvllDR qk70y25zmcsYARvWbQ4ibhLIwQ3Kj2afmogbljSabY7gHZy6LyFz47v49jmkO1T0HK6q nEtabmIjeC4KO/XtjBJxE6aDBlCmr0mIjMphGzdXgvQYR/UUpDQrqAHbTT7wR2W1Kl5S NiD0MIJxQO6PAX5HQjquuIBx+0cvI3CqNDWcMKvTuZT60Q1CbWkGB4mNQXNxIJZUfGwW 3UOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=tJSE8DOP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p16si2147161yba.199.2020.06.09.03.42.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:42:26 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=tJSE8DOP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibi5-0005Kp-KW for patch@linaro.org; Tue, 09 Jun 2020 06:42:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibe8-0007bx-77 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:20 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:39976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibe7-0004Ne-12 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:19 -0400 Received: by mail-wm1-x332.google.com with SMTP id r15so2557213wmh.5 for ; Tue, 09 Jun 2020 03:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rEdfwRSO3GyhnFXhhrEW06DMlH84FkvCaHVKL6ZFOos=; b=tJSE8DOPg2yirOHecRe22tQjHagO7HeYDvpYpBGE3P1GUFi1odwM3tLMmUumDJrl9/ 4q0cIZFqWSL+HDM8VDaWRYCICYBjkXl0wL/3eBAf09+CarR0BBMZs0kHh4oQOdP6h+E+ GOQL7jK3lEV9MJlJzoisAznR95Fe/tq7qZAEyglBZ97njt5yvi+t18sZEmUrR2F01cz3 or7Oh0fXnf/mPyAqCr9eDwjr++hBH5+8HGkBZt14Ftkrhu3zrMAEhyJ4rpiVmBkcDk6T NZObz/hll2mhZdDGRQ+3T0uOQz1xuXnNiN9fqJvDDRSyGXDXIgOwkrrD/peIuo//pUdS zlAA== 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=rEdfwRSO3GyhnFXhhrEW06DMlH84FkvCaHVKL6ZFOos=; b=RrZWOPpeGziWCxzT6cHHXGsOGj3P0XnwXxm9ShvRmDlpDP5YW1kKOTjAi+eAn8sebQ /Q3wym6GppAMNWe+IFM2J7WvzLd4uNf2/2Ig9+odMDMlX3d/cyTJCNguoWrJs91SL8/6 C8pWzvYuhb5OB0wQaVcFUvYikM7xCTVzjf4SZ+kP/5httr+zjv0nOTnX2PLsG6iFIl8B 3NiZcs4G6uo1caRBliSVsgUgatRil67TZqCpcGXK/LkoEAoVNAVk/IwNAPsY03Jz4KRg MM03cwe7OfKoxXt6CDNU2rcPxsh9MiWwurqMP0h5NR6bpMdTWlS0YbWkgS+cNSEAe17a j48Q== X-Gm-Message-State: AOAM5315lo2GPnP30iQYi4H9GG0GZr0U2lskrEkfUdMj9QotGss+WM8J nKGz6XmUQOLiQwuluOJXumIgOt7CXpU= X-Received: by 2002:a1c:b7d5:: with SMTP id h204mr3328803wmf.100.1591699096435; Tue, 09 Jun 2020 03:38:16 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v28sm3126530wra.77.2020.06.09.03.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:13 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7507B1FF8F; Tue, 9 Jun 2020 11:38:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 03/17] tests/plugin: correctly honour io_count Date: Tue, 9 Jun 2020 11:37:55 +0100 Message-Id: <20200609103809.23443-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20200605154929.26910-4-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/plugin/mem.c b/tests/plugin/mem.c index 878abf09d19..4725bd851d8 100644 --- a/tests/plugin/mem.c +++ b/tests/plugin/mem.c @@ -28,7 +28,7 @@ static void plugin_exit(qemu_plugin_id_t id, void *p) g_string_printf(out, "mem accesses: %" PRIu64 "\n", mem_count); if (do_haddr) { - g_string_append_printf(out, "io accesses: %" PRIu64 "\n", mem_count); + g_string_append_printf(out, "io accesses: %" PRIu64 "\n", io_count); } qemu_plugin_outs(out->str); } From patchwork Tue Jun 9 10:37:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187642 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp401429ilo; Tue, 9 Jun 2020 03:41:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDmZJ9ANfo2PjLGp4Uop2rzjvESUFugGqbzjWbO+WzpGzu77mStQSURNfvpWDCDZb9ibR0 X-Received: by 2002:a5b:b49:: with SMTP id b9mr3672ybr.343.1591699270233; Tue, 09 Jun 2020 03:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699270; cv=none; d=google.com; s=arc-20160816; b=WxP49BLQOQ7QmLpLBvn0ICUWVMQqOoT5rLi0zSzy/O+tObkP0qh0I+oKxMM/2ddCBb Kw7Ujp3lj4fZK2V2RPC3oB+jS6bMx//z7Bmk6u1Ui0mNqQYdLabrz3C0qHrM8yNpjDhH 5NsPoTnEGy2vtGH/bXc1J8avwcMfOXlrjN2szV7VZiK/204xpDFnvmq9NRgBVCOPsn5y E0ad5c/3SikBQ2DQKswKBzfsa+fnOYBeZ+JTMyCSGue3f0PufObCRppp/Uy4WpWt7YKI iquLAHV4u79ba5T+t9snYnyh/K390DAF3QimD/dajfri/A7lvaeijKvAB2b4i9uYsyrh n0sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=p4FX53f1uEMaQTO+XmVG4SpfpCIx1tkSo1o781lno5w=; b=Uxidv9pBjSuN/N4b17fvg8IaNcXCdNR56uZEPZVExmiFjXbfupNNiRAxLHdW4Eif3O 6Qs9gzBhwnTYzxlmNWyOvxCzcA1hzwmG3bP0ydgt78Pc3R0SwCQreUAGJAzDjtNEjVKm CLDCsOGXPI/eYob1B0bFAO/NwUB3Z/hPfZYBJplNOT4qgyu5qOpu2b5AywXS6itg7aOR 53OCUWJCuP87TXVItdbpFifL0Iar/fosZP50Y7NyVe+wMnmnNkOQd5t/AHyit5sL9Fyt fxi6whI2sM1/2fYIUXSwd7HMVk8/yIaSoH10nLlclKa50jkdic9ERa/d8e2Aiz2LGcfY 0jAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="wQEW/nUk"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x7si2708344ybg.40.2020.06.09.03.41.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:41:10 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="wQEW/nUk"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibgr-0002Ym-Jz for patch@linaro.org; Tue, 09 Jun 2020 06:41:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibe7-0007am-BX for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:19 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:54584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibe4-0004NW-Qt for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:19 -0400 Received: by mail-wm1-x32d.google.com with SMTP id g10so2314769wmh.4 for ; Tue, 09 Jun 2020 03:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p4FX53f1uEMaQTO+XmVG4SpfpCIx1tkSo1o781lno5w=; b=wQEW/nUkjh2tW9rSCF5dE1raID99Ho8cPoz/ucxoEFknft0CFH6ILrQOVzaydaadQC oWWRfWh/EJfGUrvJnWhQchnqlc9Jh6YJ18GoQFXNVazcSaxKj6Ojoe0S6WXdsNy4MYOz o+enQH8Jgqn+F5z6tvLIwACxwuL1/6L8jP5lIbXGUAVQzXBKP4UYj+iy2OM5Nzy/PiTt N1ylY6MXBHj6KCAk4FCMh9W3luxlpieVT6P3lz8oxew5wJRDHr9dG/vwAS2gG2Ekn7yR Du1EAiPAreIb0AqSR/awtMOUo7JvPO+qcvExSUI8Mb1+j5zGuoIeo5FXwCdv/0KhmNp5 lf/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p4FX53f1uEMaQTO+XmVG4SpfpCIx1tkSo1o781lno5w=; b=KwvOTqF+NG5SdB7tYccf2P0Dorgn1Ef67Y7VAONCGi08xoe3KCMcGe3wRL2FP0zi7O yi5T5VpIsBYRgT/wH5btZCw/Pu959yh+XDq/Jw2/uP+sUh/ZhTubfuLmMyv++ELCZqPM lVr9YQFZRM7RfcTAnWQxPRNAxCqbtA6kPNJH5dq6W4k8zkoF5XQv92Y5Dg9A5RH2YOc3 ERd2BeSQ1reuhjj5eFcFZ213jk1a/2ZKo/CP6clgvp2WDxu3Cpt9de3x+XMrXfhX82iN zG6o3UXbCodUOzrxbu8PuLWQY26nJHjHUwDN9Yo0jQ4uRlAkwXuBeXWe8lNeY27UAQPy hyTQ== X-Gm-Message-State: AOAM532H7DLLupxKrDV+eRWiE5pKJvzmvyt/6yBGdX42MS+bjvaBJ0hQ NcpnMflk8W5k1jSHX9qUmY/3BA== X-Received: by 2002:a1c:2044:: with SMTP id g65mr3646039wmg.16.1591699095215; Tue, 09 Jun 2020 03:38:15 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c5sm3092785wrb.72.2020.06.09.03.38.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:13 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A03191FF90; Tue, 9 Jun 2020 11:38:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 04/17] exec: flush the whole TLB if a watchpoint crosses a page boundary Date: Tue, 9 Jun 2020 11:37:56 +0100 Message-Id: <20200609103809.23443-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , qemu-devel@nongnu.org, Alexander Bulekov , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" There is no particular reason why you can't have a watchpoint in TCG that covers a large chunk of the address space. We could be clever about it but these cases are pretty rare and we can assume the user will expect a little performance degradation. NB: In my testing gdb will silently squash a watchpoint like: watch (char[0x7fffffffff]) *0x0 to a 4 byte watchpoint. Practically it will limit the maximum size based on max-value-size. However given enough of a tweak the sky is the limit. Reported-by: Alexander Bulekov Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20200605154929.26910-5-alex.bennee@linaro.org> -- 2.20.1 diff --git a/exec.c b/exec.c index be4be2df3a1..a0bf9d61c87 100644 --- a/exec.c +++ b/exec.c @@ -1038,6 +1038,7 @@ int cpu_watchpoint_insert(CPUState *cpu, vaddr addr, vaddr len, int flags, CPUWatchpoint **watchpoint) { CPUWatchpoint *wp; + vaddr in_page; /* forbid ranges which are empty or run off the end of the address space */ if (len == 0 || (addr + len - 1) < addr) { @@ -1058,7 +1059,12 @@ int cpu_watchpoint_insert(CPUState *cpu, vaddr addr, vaddr len, QTAILQ_INSERT_TAIL(&cpu->watchpoints, wp, entry); } - tlb_flush_page(cpu, addr); + in_page = -(addr | TARGET_PAGE_MASK); + if (len <= in_page) { + tlb_flush_page(cpu, addr); + } else { + tlb_flush(cpu); + } if (watchpoint) *watchpoint = wp; From patchwork Tue Jun 9 10:37:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187649 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp404251ilo; Tue, 9 Jun 2020 03:45:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqJbEIWpAP+yjLGkn0tn8LH1/GfJ0azL4wFWvUki4lCZJBYaVGbRq9B+CayKOO+Y0kiINS X-Received: by 2002:a25:230a:: with SMTP id j10mr5520910ybj.148.1591699534808; Tue, 09 Jun 2020 03:45:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699534; cv=none; d=google.com; s=arc-20160816; b=M6Az25tLka4Bdozv06eKZgb34USLPZWpoqMnKFxNybltJyZVm7tcqNXI2y+c9BjzV4 MW9noyEoE0NBhtNRg2hkPVidLUa8qvwfKUWrbsvsRPybbbaRWpo+UhKjZKdAAsglgAbz nnDVM87Vvmy9U8pH9TgXW+iARGxgug3UcVL1160jzwvteNRwi4TdE5rfkme6/xMNnX0S UShmKqzSBIQntml5Dr/xCUj/qifosiA7e/vt1iL+FsUQNEGmztct5wJRwHZxr0nbRiiw yGPmcEyD3N0Qga7F4t+xTL87Ot2S+hDovQrMYPTZ8hnHDqxuYTwuhUlnb3/tTzCJETKz UdWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=dy5kY10AJguH6nm5zuGcJziOR+JWiuUYiLstcUD0qZk=; b=UFGW2/umFQ1pArIUpVSpIt4d9tJ8Ox5onwJ/st78qKNl7dArOMCa+fGlsXSUV5tO/8 MXFSgvGKMHgHN4rTTYyvayx0+XKVE/ibr+p0XYNYGR2mKHrppKoyA+6ZG1nBqaB9pZqu u2neutBnubd2LlWOOsywLCuxJTqz52/J3A3XgyQvHeR+3wNptynngQ9rPOB8+FhudEV3 AUQzPeEehz20VFlnQnF8dd1fYZPlDctL9YOU7wubuF5wxF6yjyi/NjCetbeqG7Z6qwD8 CjHRoMDjJrTFckJFxjVCAIN+p554nMIbR7VsN2r816AGhWlYJVykfZZ6rLfAoiRT+KPj eRHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=phEzfPyx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w190si1769839ybg.438.2020.06.09.03.45.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:45:34 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=phEzfPyx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibl8-0008Dj-2x for patch@linaro.org; Tue, 09 Jun 2020 06:45:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeB-0007dd-0y for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:23 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:34597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibe8-0004OG-Ph for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:22 -0400 Received: by mail-wr1-x429.google.com with SMTP id r7so20744667wro.1 for ; Tue, 09 Jun 2020 03:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dy5kY10AJguH6nm5zuGcJziOR+JWiuUYiLstcUD0qZk=; b=phEzfPyxvmh7q9LBG/r3zi1qYqM4mVN+iddKNuIMqPgsX+w+ttuwmme/jiE/F3o61T a1SQxG3SSN7/2gVrCK2Jb/bEnDAlx4fJxDkTkqTB74uu9kVyHMMZWvTJ/nBtU1uYcwIK RN3b51jFtDsRBFzSy9Hc1zcgK21vDlLQZFLzlN3P+DX3inUXcjMJ3xFx5KJlnsS30uG4 x02odV7AGwl9++oD4GjF082qiXmUgei6z7nSYfMYh13gqHtL3OGPHph0v7s/pVwN+INv ED9GNtNDGJVjuHHqys5JvHlxiFscq+IqLSEfPayyRvfzGzvq04A+qn+bthgOL5pasnRs MdpA== 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=dy5kY10AJguH6nm5zuGcJziOR+JWiuUYiLstcUD0qZk=; b=BS3OuzREALlHcARLxAMzDBmEXcbKmxJX12bTxG//7aKRHp26Jpio+d9Owc2pXgsU6H /YHjMDjg03PmdUZQ22OPHZKo2Kd/vhRGlgjWx5sxm3VmoSx17JV/wyrlTbiFQrfJVsgV qdDWN9BP0G+EfTyVZmO4Fu/VOTK4TfukQmP7vx0DY/d0jnYJQsUYC+v0se+zBsLMdVZY kHn3Hv+JUyWtKrEe4twdfGFS/DHq6ROZSX+AUSpVYP0lozpfgbOICGBLDdU5Ck7DZtPo 0c0u10n4ovck4vRMXmtyiK6aNdrgA3aRjz2Jyk5G7GM8mcdrCduV2k3S6lkVYis0H75E 0M7Q== X-Gm-Message-State: AOAM532Jxi9vYMugKfj9ZyDMYZ4whnqUD7knHjacRL78zzF5HZyDp+KY iU5at4PFmRcQzQQV7dMIEXoIMMTvNuI= X-Received: by 2002:a05:6000:341:: with SMTP id e1mr3712359wre.1.1591699098978; Tue, 09 Jun 2020 03:38:18 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z206sm2515600wmg.30.2020.06.09.03.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:13 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C3C5A1FF91; Tue, 9 Jun 2020 11:38:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 05/17] .travis.yml: allow failure for unreliable hosts Date: Tue, 9 Jun 2020 11:37:57 +0100 Message-Id: <20200609103809.23443-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x429.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" They will still run but they won't get in the way of the result. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200605154929.26910-6-alex.bennee@linaro.org> -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index 564be50a3c1..ec6367af1f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -429,6 +429,7 @@ jobs: env: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}" + - UNRELIABLE=true - name: "[ppc64] GCC check-tcg" arch: ppc64le @@ -493,6 +494,7 @@ jobs: env: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS},s390x-linux-user" + - UNRELIABLE=true script: - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF ) - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$? @@ -535,6 +537,7 @@ jobs: - TEST_CMD="make check-unit" - CONFIG="--disable-containers --disable-tcg --enable-kvm --disable-tools --host-cc=clang --cxx=clang++" + - UNRELIABLE=true # Release builds # The make-release script expect a QEMU version, so our tag must start with a 'v'. @@ -556,3 +559,5 @@ jobs: - mkdir -p release-build && cd release-build - ../configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } - make install + allow_failures: + - env: UNRELIABLE=true From patchwork Tue Jun 9 10:37:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187641 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp401102ilo; Tue, 9 Jun 2020 03:40:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQdvRIx1lDiFDzhdav3l8VA43BBsxRTOBxls/lHY7oyC9zFthdCr+3fEB2e/ETDQ9wFq75 X-Received: by 2002:a25:9746:: with SMTP id h6mr5139995ybo.409.1591699243450; Tue, 09 Jun 2020 03:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699243; cv=none; d=google.com; s=arc-20160816; b=dEZORcKC0DlGVVOci7o+NbIjNn5tntk5eH1qfgVhWeqL/sH2MDHeM8tMrmwi8LriNK 3RcO5jOgKOJ/pHtRn/fpNj5wikk/VqZZ33YXksGOPR8vtQIbw9GLNIHeueGcA+BtAQix jYvzqaTxLnNfd0o9qZHFeAp0HrCcp9mxQ63pqdcNvLqQfvl0mHP+RlB6sp7taNlriGKW e3lduuDonvW5gdfGnlLsuGjj8CgnYVxtaPd5XHD0UAmuIPE4WDk2O1eibS66a6pjbHQP g6GzaoAULKl2YvQpqjPC9JopEwlAHgyd9ixx/5gnqbmJO1U/FCeZRowJvTZSjWMvtdzh RUqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=FCvzuxz79RDdPY0dCs+Wo9qWjxWoXIJFo/KmJobCbzg=; b=sDkjUxGxyNPLIUBlu1aQuGBoujgdTcuUxubkMehgbJo+oZjGpJEAbfaX3NpKE9n4A/ 4RBYIV16iLrxe/05ye+Vuo29CLkk7WUaf8KcEj32NWcaFWvU6iVtcnmlMmS53VtTYqSX 2CojfMHETNMKOOihyiqqxhhx3PtVkf8FSECmsSYizXMvEpburFsTo9iz+FrH116DOUU4 R4GNObS0mTYuDCr27sZQSTEEBH7g6qtDo6AKqKu5Br6eKv1Li4PmZHpRCUMEVd8nPqoa ysVhxtpDqrE80I1ph0qhHIaNXT6gUAcQwEXIhou4DoJoPvpxCyXTlAKWvyIHmo+NfpiV Q3wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HO7zG6cv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 23si2472975ybf.120.2020.06.09.03.40.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=HO7zG6cv; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibgQ-0002ag-NO for patch@linaro.org; Tue, 09 Jun 2020 06:40:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeC-0007fp-5T for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:24 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:50812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibe7-0004Nm-SG for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:23 -0400 Received: by mail-wm1-x336.google.com with SMTP id l17so2340115wmj.0 for ; Tue, 09 Jun 2020 03:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FCvzuxz79RDdPY0dCs+Wo9qWjxWoXIJFo/KmJobCbzg=; b=HO7zG6cv9qA9bgWA3Mx0IJvsWOK0Ljjjp2Zgg1J/SrNN/PTWimuPAkpUy159LZut81 5jFI+X1ZK2BgpiZgqHvGfdbgtcDp5NflTrm3FGn1tsciZREEsmiswq6IGR/gmHELJOq5 ZTwAYaO1izBzzgvV+Nt0I5sEbwsRdDxzwUwI3yY/SCnCTIu99td1nCElMLgAsvm7V9op bmJ5qFQH+NIAFBn/BStaEgeRH8kkNsbIuPumzow6t0YivqLARmf0Lb4zkdkqnmqG2gdH ypWkUTkXyui2yBe6HSf9trDP7/u3Lk8okdq0iiPJXmKguORgPlqwI/FpkKu5UkYa1Cv7 1KpA== 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=FCvzuxz79RDdPY0dCs+Wo9qWjxWoXIJFo/KmJobCbzg=; b=bl45xla9tRKyXqT4sN7lYKeKvb10yr1k0AKRbqZ5WKoGNubHY8/AUeEYbs1ihDChLN X1rbZtxpV9KG8bYazkm4sZyUDomNtb7AKbXEPNQ9ojIZRM3PX9sRvZAWY60IXsCnfCZ6 nS0QnSfKjlXJVGUejH+3N6Un02Oo2h7ZWlanpCGumvppxG8b6VQHcVKVSQ4Xrwhyrkwl nkCWmB1WxgImAp4YMh+Fe9KDp3NBKTIFjIFrvBsX24NHnHcbXKRGyBscixwOYPUD2FGy /5cDmJx2ks3rrb5hJPhYYIEU88ouZaWXYI3JZ2MTH7iXw2dlvt1SF+k4hILBLoJ2zm5k Cj6w== X-Gm-Message-State: AOAM532DLBMf7uVCA9UGqnOJ37CviMKxqURzfeDS9bCOj5whHhO7nd98 zyw0hCWOF5NrbOkICs/lXwgZGw== X-Received: by 2002:a1c:4954:: with SMTP id w81mr3421321wma.86.1591699097710; Tue, 09 Jun 2020 03:38:17 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t189sm2507096wma.4.2020.06.09.03.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:13 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E1D631FF92; Tue, 9 Jun 2020 11:38:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 06/17] .shippable: temporaily disable some cross builds Date: Tue, 9 Jun 2020 11:37:58 +0100 Message-Id: <20200609103809.23443-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" These currently fail due to Debian bug #960271 as the linux-libc-library has a user-space build breaking symbol in it. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200605154929.26910-7-alex.bennee@linaro.org> -- 2.20.1 diff --git a/.shippable.yml b/.shippable.yml index 2cce7b56890..10cf219bff4 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -5,8 +5,8 @@ env: global: - LC_ALL=C matrix: - - IMAGE=debian-amd64 - TARGET_LIST=x86_64-softmmu,x86_64-linux-user + # - IMAGE=debian-amd64 + # TARGET_LIST=x86_64-softmmu,x86_64-linux-user - IMAGE=debian-win32-cross TARGET_LIST=arm-softmmu,i386-softmmu,lm32-softmmu - IMAGE=debian-win64-cross @@ -19,10 +19,10 @@ env: TARGET_LIST=aarch64-softmmu,aarch64-linux-user - IMAGE=debian-s390x-cross TARGET_LIST=s390x-softmmu,s390x-linux-user - - IMAGE=debian-mips-cross - TARGET_LIST=mips-softmmu,mipsel-linux-user - - IMAGE=debian-mips64el-cross - TARGET_LIST=mips64el-softmmu,mips64el-linux-user + # - IMAGE=debian-mips-cross + # TARGET_LIST=mips-softmmu,mipsel-linux-user + # - IMAGE=debian-mips64el-cross + # TARGET_LIST=mips64el-softmmu,mips64el-linux-user - IMAGE=debian-ppc64el-cross TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user build: From patchwork Tue Jun 9 10:37:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187650 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp404404ilo; Tue, 9 Jun 2020 03:45:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/SHrD2mcHnq+wz6of3NFxaoXrG/kGIeLAapUemz95mNxKLhMFYI/eLMT11uU2HQu0JrqH X-Received: by 2002:a25:2691:: with SMTP id m139mr5076698ybm.132.1591699548199; Tue, 09 Jun 2020 03:45:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699548; cv=none; d=google.com; s=arc-20160816; b=UKp633fbkjc2A+PkZxi6leTiakgR9xzO0pPm+RA5IgphWeE41ijmQr9UEuz+Rlc9fI LNUFRcgFajIAZZJNsVmHVMJAh6rsmXBnHiQnI7hp6bZ2lXzkcmB7rAdl4kVqAJutw4rQ 8k9Wa+9cLggmHVctHDW9rfU9meck08oOls/1MYWeqhG+kASO8IiRc1RzD1v60WPbUBgn cUqvVWtQ2/9hggXzuDOJ9rQ5a8B8NO5dTf0JzSFi5TbQUebEaNdWsFAeMZhoAKRksWzV zFBCdOhwPMv+hWxQhCHXaTuTCMSRMp0n/j5YXeC0pW6Puw6LgG+XYMlhHlZQQrfcnDOi XNMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=TdE0NVqFjv8C+w+EbnPrnutxQ+h9lo6aIv6K+mMS940=; b=I6y76Ha8AgHp+1PPYqrZiGIXj795ORQ+xdaLQKi7+R8bwoGkpjMtu+4uUt4ymO1nl8 bSm2PEbjO+Eg+O5DbGFuZ83f4hX+W6ukgUb1tWkdOiT55pg59tQ1m520sFE6ZSg21m/O VZ3Mc2/OOp+nhrBBjHmkzcowmQaFbWXshpRydkmKzKQbHSh9A73Vxpjy6BHlearqdac3 3O5H2hCR1DP8Ir4yuA5XBNKVCMxgcv0cERWKzASdKltiwAnamwrFkg3WQtDRrDk0t/Z0 hRAcb5vMc+vZvCDW51WvtMpVY7DShHIiIuO6BPBlNTsTCunZO9yVB+Z1uiWPW8FgtLhD iU4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UZGqwHud; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f129si2295998ybf.131.2020.06.09.03.45.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:45:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UZGqwHud; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:53180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiblL-0008MJ-KP for patch@linaro.org; Tue, 09 Jun 2020 06:45:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeI-0007sI-U1 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:30 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:39982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibeI-0004Q6-1b for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:30 -0400 Received: by mail-wm1-x336.google.com with SMTP id r15so2557975wmh.5 for ; Tue, 09 Jun 2020 03:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TdE0NVqFjv8C+w+EbnPrnutxQ+h9lo6aIv6K+mMS940=; b=UZGqwHudciZm8hdnxZHYyLcY7jdL/PpjeSY8+MR7bC2ksVk6MedxdkK48qFxBEXgKe vkK4J2eEu5EASVz1B5qipZu06QtPoKGLPGOnNkIwP8T/LMDRitiS32TwtPnfwdS8+P7I 48UkqXGFbeyc3Akxdw528JLxG+pB4rziCRkQU9fhUoNGbY/8XWN4xkltX0YZoZrJdhIF KmQX4AcZu/WOaBhkS8WQ0tWVN03iqeKONYDCCwoHnnUFHW+ur+xVcGQaVzNsr6XDJ/I4 GvpVwAIq79ZPDs6ZDRnrmZmSDkhjnBDZDZXETtIH6+5HN4oMWHEvW+2XgV/mH6lXGpqX IXiw== 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=TdE0NVqFjv8C+w+EbnPrnutxQ+h9lo6aIv6K+mMS940=; b=i1G7GHyYFLZXVHz4xN4X9wuzDz6xrYsozi8FBEHZ1PbSSzkqPcT0Y14kztyTK4QXZK edNIIpFxTAZBgWH6Ziqr5JQR5S17T+eXqN/Zuv9zl6ZfhYO+2yw92TE29DECaT8w6h/u xPUzSFEXKZ377AFI8fVg6+WRgSsiAfi5lP1DOqUGyuj846nqZHuP1Z1h+eYRsGskE8uB hdnGg+r9328aRzBBCC88S6njbQecT/EiPrfmxk2RGTEFnOHbkzFCwuTT0HSneVHf5LZT 7c+4Qu0cTwGLv9rKN5pBxbQAKIPLQBrZj6GaJDa11GMaTTmFVTwToknAbZUxwcVTCfCc A+aQ== X-Gm-Message-State: AOAM533c9TOjHeL3lVzEdd8PZDYtUNY3gMu4DPApISvm0CIrH7vHbcCw 2oe9VxXF3wC3T19KqI7zvuX0Mw== X-Received: by 2002:a1c:66d5:: with SMTP id a204mr3278139wmc.134.1591699108754; Tue, 09 Jun 2020 03:38:28 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y37sm3238863wrd.55.2020.06.09.03.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 106881FF93; Tue, 9 Jun 2020 11:38:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 07/17] tests/docker: fix pre-requisite for debian-tricore-cross Date: Tue, 9 Jun 2020 11:37:59 +0100 Message-Id: <20200609103809.23443-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Bastian Koppelmann , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Reported-by: Bastian Koppelmann Signed-off-by: Alex Bennée Message-Id: <20200605154929.26910-9-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index ed46bd98eb5..981b7fcf2a5 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -130,7 +130,7 @@ docker-image-debian-sparc64-cross: docker-image-debian10 docker-image-travis: NOUSER=1 # Specialist build images, sometimes very limited tools -docker-image-tricore-cross: docker-image-debian9 +docker-image-debian-tricore-cross: docker-image-debian9 docker-image-debian-arm64-test-cross: docker-image-debian11 # These images may be good enough for building tests but not for test builds From patchwork Tue Jun 9 10:38:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187647 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp402635ilo; Tue, 9 Jun 2020 03:43:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1HjS9Z9He8gku47/N4UDWTWuJ7FmhfUNDNLyEA+ztpiQqmcC0NPTHiwi9SAgyTgZjMVV2 X-Received: by 2002:a25:3295:: with SMTP id y143mr5144369yby.321.1591699385702; Tue, 09 Jun 2020 03:43:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699385; cv=none; d=google.com; s=arc-20160816; b=SIHos8l1IYC6eUqlboznZD5UbSaSu9MTNdHnOChR+N1DNzcSWBjhxh+5CJP1FFe97c T83x4z2/pkNcB+Qt3MxnxfRnP6nEeTMYLAcro6MwzqRFB6QBoiF/WThqD0aycMMoJfzk LCIm5/ObbZM5cvWaz0RGVsHR3e6dHV0+iy4zGEkvQInWl3gVYsKpdOQjZMCoN03s+0iv S4bWvSqG0YVoBjfIT5jOUbNYiiIDsoJyqZhxY4a2rcDWu014OHw3p5lUuxNE0xhr8jDB gEjv1w+PqyV2HEdchR+jq0DJHjoJwnCn0BEuxjKQxN3O49OknCb1KHHtRduew6jg7g9T KxAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=k3lF9DeNDfRTjUxYMHbrRJM1lI0Q2JxlrXUIAK9HEcQ=; b=DN8IXBorjkUpjc4yxyGfokiC65w40CfoBDkM2WdPUoS19f3DoNAJUNDNVqLjXmjayV 5df9o2CYb62dlxbDtt7ZBQhjgGYxQRQrcxLHcEr7+QO/hwioQ7QTbsrFikPpwFOjzowG OMmRcUWzWQAwhELVE33Ft8l/yuV15QfQpPGt3Ahml8DLNHT8JjMa2XiWzdVSab9qo9Fl r5tc6lwpQYkzswHhSa/LDoisHZ6ETayluvh4NSWyF0PXh9THSHK/CliL45OZh+eaOeEt uLcRvKHbN+Pgmf1d1jWSKKzCNwGt3sXHB21MPtyoP7LnLrjbCa6YdpkNONBjbN/nxLbW Xakw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=n2KP0W3r; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v64si1306647ybb.444.2020.06.09.03.43.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:43:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=n2KP0W3r; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibij-0005O3-1y for patch@linaro.org; Tue, 09 Jun 2020 06:43:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeG-0007nm-Mv for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:28 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:42512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibeF-0004Pq-TM for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:28 -0400 Received: by mail-wr1-x42f.google.com with SMTP id p5so20691611wrw.9 for ; Tue, 09 Jun 2020 03:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=k3lF9DeNDfRTjUxYMHbrRJM1lI0Q2JxlrXUIAK9HEcQ=; b=n2KP0W3r1sfXTeyfE1QD0uZ5i0HjG2xf22421NAtgelSeWmMaSfqXvgwdGmehGcILk d+XzzkHJqfGKjDkFggXmR0gWG5BGxBNN7yruzNHg4YStVG+Fp3XkVEw+Tj5gVd+GhcDx /42sxHN7k3qMXsHikfpjPRIGVK2Tla3Mw3A8G8GLlYTQbJKHb2hP6DlTwiUyhjVvdHrQ LimPZVk3gUKSnEImWudbYdSoDOAqqRs2h118j94WJDT4+KrdmV+sSdooII8g4p2ulf5O WCXQoV5IBwL+iRY2M/+W25Q1b3cXSJnRJbH63d1MhCYRdwsbV2Pa/THrpyNyf2g+ANs8 W0ow== 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=k3lF9DeNDfRTjUxYMHbrRJM1lI0Q2JxlrXUIAK9HEcQ=; b=GhA/hVDFWmfP7UPN7Iphgk7losxKN0tnTCbmsB54rV8k4yxXseKi1Za4X5QeHxjjHx 6OrAcvXP8hHcxWKp8cIydw4zLiWeHG5QzmiAz7b/vrumzjs4F00JzqAgIFdGyACluZV7 RGtB+IKc7L5CF35cHloch9igcCPt9tuwH9AWIvnaOyOeQC569wLJbv0nVMkPNN2ju4rC 8oWF5+fv8JMrChi/pMOfZD4QPhwlyWktU8ai+KOQbBDsd6JD6eOXqzwNsX8L56nkq7WL WeqH9pDy98vpHa3B1G0buNa3pB3A4Xq77gD3u9anpgntzUhlNgsSIiqZ9jrsR+qZOk2S 1TLg== X-Gm-Message-State: AOAM531CfRPSCZZGbVxorrrLP9hcc6kDI9nzurK5uUuFD5sB07uR2j48 iHHgojG2GvCOOnqVR4FXQaQjyA== X-Received: by 2002:adf:dd46:: with SMTP id u6mr3476083wrm.44.1591699105982; Tue, 09 Jun 2020 03:38:25 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b8sm3145375wrs.36.2020.06.09.03.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 35B301FF96; Tue, 9 Jun 2020 11:38:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 08/17] docker: update Ubuntu to 20.04 Date: Tue, 9 Jun 2020 11:38:00 +0100 Message-Id: <20200609103809.23443-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini Signed-off-by: Paolo Bonzini Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20200604231716.11354-1-pbonzini@redhat.com> Message-Id: <20200605154929.26910-10-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/docker/dockerfiles/ubuntu.docker b/tests/docker/dockerfiles/ubuntu.docker index eeb3b22bf20..43872417dec 100644 --- a/tests/docker/dockerfiles/ubuntu.docker +++ b/tests/docker/dockerfiles/ubuntu.docker @@ -9,7 +9,7 @@ # system won't pick up that it has changed. # -FROM ubuntu:19.04 +FROM ubuntu:20.04 ENV PACKAGES flex bison \ ccache \ clang \ From patchwork Tue Jun 9 10:38:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187643 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp401467ilo; Tue, 9 Jun 2020 03:41:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ9RD7GQHukiPSIDFlgsIbvjxHmmIytr0VgVTUn7K7ZkL1rtv8CfO/hI2buyNfWLz+3vgB X-Received: by 2002:a25:2415:: with SMTP id k21mr5510126ybk.349.1591699273389; Tue, 09 Jun 2020 03:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699273; cv=none; d=google.com; s=arc-20160816; b=gVNYQaEFH+tHp/3Gy1vYffG53sop981VnxWltDBWkq84cJMhYqqwQZ96ZCx4BMJlmc 38RstUIOne/r4wawGEqkfUad8HjEX4sFn5UQENjag66tmHfvEq4Sr+UUojaeFXLQqHmY /JYSS9KS8/SafuAxLbDAFgNPM+7py9/aeenfN4n6te8sDIlML92qA5JMEN1vrFwlyrev CPgiy91de2FLo6TndvkDFqCIJtb8Au4qZZfpPyNm/Y5h91CMkc8axFanSghrrHivBmMn avFd6GAWhDH6H/wv4KSLKy73juwlrZQGLEz1GOrGOxYwqS68uNcORtUdfx00+c8mouJh YRfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=2ELcfDT80Dh4TpW73j2IcyKGQvBld3yZPEqT0DBBzd0=; b=Eayka9r2eZOGiFX677pmu/X/Egm3HZ7QfnMUV47y2zFUkE/GMGSkf6IzPoFFOaO/Ug YZ1FW1I+ZLi4u9eZvmeH6EAoHZr7Cni/xag2CNc7uK73r54WTqtWHhYGTfWMNNFe4bys Vne1V27hfrFWa56Ad0wynuY5T+8nPVE/9EOrkvUi3xDPzQG3+caa8dSRJ5+rPQWaWK5T CoTeMuHt9O1vVF3eWVLlZuAJ0zX3aj9FBcMSmHpJAv9K+dFQQCEVGDdZBOpv6S7VWhsg lRXnqWNGWSlJePv9IRLBigy8UXoWUoMkqyTlb4zKRfChtlVW+i3H+hfFu7yf2zAtUHNH 7I5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AJwZJyU2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k22si2319477ybf.91.2020.06.09.03.41.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:41:13 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AJwZJyU2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibgu-0002cF-NJ for patch@linaro.org; Tue, 09 Jun 2020 06:41:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeE-0007lI-K6 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:26 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:53351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibeD-0004PY-Ga for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:26 -0400 Received: by mail-wm1-x32a.google.com with SMTP id l26so2322127wme.3 for ; Tue, 09 Jun 2020 03:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2ELcfDT80Dh4TpW73j2IcyKGQvBld3yZPEqT0DBBzd0=; b=AJwZJyU2gsqSDPrMFkk71y1yCCjistWBuBbIaYcPSrr1SLy61hOWwHn+oL0MScE1Md K8p48RL4mLQWhcK5Js+Hpv1wZ5O8Frbarb4z4RtNM6igfEY2REKvVapHijOHYPMtoxcs kE1xrehbj0ikPbrrBWi0CiVsxRN7aapDZ3HZAGZDaDmZqwW/bTPISDHaCyLBD3KONfsm 4GcMpVWM14xHN1p52C3li5elbbq+Zr+eXlxvtAAY9kvV6DH9MeF4fcbYTzf74A/BN5cN +x7evb/YosQpw8p3RHuEzddO5Eamwau/Uc+Tm7OD68dNKMCJRnUeXzvm+dNGrgImNK8J aczQ== 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=2ELcfDT80Dh4TpW73j2IcyKGQvBld3yZPEqT0DBBzd0=; b=SY1Mp4cGv6fyQ8s7PfN+EbmyB4ezwUEE6uujh+ySrQPXPzN29qdUTCVWI8YNJXgMxA 6wbGjRN/5PvjUgLTjrEVoKhEuykBS/aWLA/Ya8G6SiM10ZRfAS6zJL3qKxLqLwTwBsLp koAnWXSwSdXLYrFxuf2aAM5ZnIiAzDS3R2V5isesd1uue+Z2Pu3xCtjayeRa7pr8cl1y 4uzaLOaP9PC5GtgUIdoq+HwBWknWMc9lsuTZuUkkswN1CUdHK1A5XzW5bXCLRPOGXXGn oNdbRUwRleeZWqxzIAVRL4UmfQB/J4TOMFTSPGlJeI4yrE621jW9L53hoMQJawuXwHc4 Ausg== X-Gm-Message-State: AOAM533ar6zYcpCk7+YqVl+00+zHwAsRymag8h7nwMRNgTUZ/WP2tGbQ zxJBfVnlv8jl5ccbp5fD17mpdA== X-Received: by 2002:a1c:64d5:: with SMTP id y204mr3455213wmb.131.1591699103519; Tue, 09 Jun 2020 03:38:23 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g82sm2513720wmf.1.2020.06.09.03.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5E8B91FF98; Tue, 9 Jun 2020 11:38:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 09/17] hw/virtio/vhost: re-factor vhost-section and allow DIRTY_MEMORY_CODE Date: Tue, 9 Jun 2020 11:38:01 +0100 Message-Id: <20200609103809.23443-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Michael S . Tsirkin" , Fabiano Rosas , qemu-devel@nongnu.org, "Dr . David Alan Gilbert" , Stefan Hajnoczi , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The purpose of vhost_section is to identify RAM regions that need to be made available to a vhost client. However when running under TCG all RAM sections have DIRTY_MEMORY_CODE set which leads to problems down the line. Re-factor the code so: - steps are clearer to follow - reason for rejection is recorded in the trace point - we allow DIRTY_MEMORY_CODE We expand the comment to explain that kernel based vhost has specific support for migration tracking. Signed-off-by: Alex Bennée Tested-by: Fabiano Rosas Cc: Michael S. Tsirkin Cc: Dr. David Alan Gilbert Cc: Stefan Hajnoczi Message-Id: <20200605154929.26910-11-alex.bennee@linaro.org> -- 2.20.1 diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index aff98a0ede5..e3e21812905 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -27,6 +27,7 @@ #include "migration/blocker.h" #include "migration/qemu-file-types.h" #include "sysemu/dma.h" +#include "sysemu/tcg.h" #include "trace.h" /* enabled until disconnected backend stabilizes */ @@ -403,26 +404,50 @@ static int vhost_verify_ring_mappings(struct vhost_dev *dev, return r; } +/* + * vhost_section: identify sections needed for vhost access + * + * We only care about RAM sections here (where virtqueue and guest + * internals accessed by virtio might live). If we find one we still + * allow the backend to potentially filter it out of our list. + */ static bool vhost_section(struct vhost_dev *dev, MemoryRegionSection *section) { - bool result; - bool log_dirty = memory_region_get_dirty_log_mask(section->mr) & - ~(1 << DIRTY_MEMORY_MIGRATION); - result = memory_region_is_ram(section->mr) && - !memory_region_is_rom(section->mr); - - /* Vhost doesn't handle any block which is doing dirty-tracking other - * than migration; this typically fires on VGA areas. - */ - result &= !log_dirty; + MemoryRegion *mr = section->mr; + + if (memory_region_is_ram(mr) && !memory_region_is_rom(mr)) { + uint8_t dirty_mask = memory_region_get_dirty_log_mask(mr); + uint8_t handled_dirty; + + /* + * Kernel based vhost doesn't handle any block which is doing + * dirty-tracking other than migration for which it has + * specific logging support. However for TCG the kernel never + * gets involved anyway so we can also ignore it's + * self-modiying code detection flags. However a vhost-user + * client could still confuse a TCG guest if it re-writes + * executable memory that has already been translated. + */ + handled_dirty = (1 << DIRTY_MEMORY_MIGRATION) | + (1 << DIRTY_MEMORY_CODE); - if (result && dev->vhost_ops->vhost_backend_mem_section_filter) { - result &= - dev->vhost_ops->vhost_backend_mem_section_filter(dev, section); - } + if (dirty_mask & ~handled_dirty) { + trace_vhost_reject_section(mr->name, 1); + return false; + } + + if (dev->vhost_ops->vhost_backend_mem_section_filter && + !dev->vhost_ops->vhost_backend_mem_section_filter(dev, section)) { + trace_vhost_reject_section(mr->name, 2); + return false; + } - trace_vhost_section(section->mr->name, result); - return result; + trace_vhost_section(mr->name); + return true; + } else { + trace_vhost_reject_section(mr->name, 3); + return false; + } } static void vhost_begin(MemoryListener *listener) diff --git a/hw/virtio/trace-events b/hw/virtio/trace-events index e83500bee92..6427a0047df 100644 --- a/hw/virtio/trace-events +++ b/hw/virtio/trace-events @@ -5,7 +5,8 @@ vhost_commit(bool started, bool changed) "Started: %d Changed: %d" vhost_region_add_section(const char *name, uint64_t gpa, uint64_t size, uint64_t host) "%s: 0x%"PRIx64"+0x%"PRIx64" @ 0x%"PRIx64 vhost_region_add_section_merge(const char *name, uint64_t new_size, uint64_t gpa, uint64_t owr) "%s: size: 0x%"PRIx64 " gpa: 0x%"PRIx64 " owr: 0x%"PRIx64 vhost_region_add_section_aligned(const char *name, uint64_t gpa, uint64_t size, uint64_t host) "%s: 0x%"PRIx64"+0x%"PRIx64" @ 0x%"PRIx64 -vhost_section(const char *name, int r) "%s:%d" +vhost_section(const char *name) "%s" +vhost_reject_section(const char *name, int d) "%s:%d" vhost_iotlb_miss(void *dev, int step) "%p step %d" # vhost-user.c From patchwork Tue Jun 9 10:38:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187645 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp402241ilo; Tue, 9 Jun 2020 03:42:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz44DbiLrU4P47yduvTZPKaMI0kBuA0ve2uHhZSdz3ezuyJy60AzfqRSUBuLwhd/q3x8Dg6 X-Received: by 2002:a25:bd4f:: with SMTP id p15mr5652877ybm.442.1591699348590; Tue, 09 Jun 2020 03:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699348; cv=none; d=google.com; s=arc-20160816; b=iOqucE7rGUDlE9ag9p/eno5ODjzxV//UpEp+GNjUlLEpap7E8yyfi8spB5oProfX25 ZQH4mMACR/D8irGezY2qjlTIam6u0e5TDdCjggrEw9Izo6jfhem52eoqtjgiOuQcqcob GpdXA/jaktPcWFa934kZfvWzy8Pdzdh84chkM4mFPVyhN2k8YX9IQhkuXUt7fkuBdbia 96iMu3WMFI95NxS3y4QmWQ1l78dggcX4mFgBW416BW5U/PBexSGhea1qqHdi8K+jrThR xBCbpzbjxQRkAeHHdHcXeTFodTE2NkJ3nomDGnWS+zQC1X3jL630McZTXZlpA8REz8od uu9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=YwfLakl/cuGc3cX6E72LnRG3LKOeHT2DnOthsE4iiK0=; b=ecQ9o5hK5vjW4ELeSOAK3WligP0ixefGYD+H05xzmFEnrg2m5iNgDG8z94nS6xiaoi P2KhR7BsroBZE1edDFWSMWg2u+GKfb9N98WskzDFc4hUME08HvX5XeAq/okcPLPQc2Ok 9Dm4sBOxz9tn4xtxPsx0Ix/811aoQYwlE+IrFxS9mTo/sc8GJpXxECC4XiE0GZhq96y1 qA3krUNEedQMtiw6OVmyJLoQ6I4KXZzyztXG4lvnp6U/de5Cm0PYlxjFuEJGHcDRM2XO NEErIO7hvrAxSLHPgUnUNwRq/xNUhSpec0Vz87y0maBjNos5fn/OFjm25KQzc1fzPEIG j3yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Zf9S30aM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 184si1977430ybc.322.2020.06.09.03.42.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:42:28 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Zf9S30aM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibi8-0005NX-2h for patch@linaro.org; Tue, 09 Jun 2020 06:42:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeF-0007mK-7n for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:27 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:37662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibeE-0004Pd-3l for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:26 -0400 Received: by mail-wm1-x342.google.com with SMTP id y20so2593618wmi.2 for ; Tue, 09 Jun 2020 03:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YwfLakl/cuGc3cX6E72LnRG3LKOeHT2DnOthsE4iiK0=; b=Zf9S30aM3qSl0o79RsehUHHNA9idMphGwXlCnmB4Hf9zb3pXy1ksVZ7T1jDT/2s51M 5K4ZbtUQ/DjlUpx4/nCvczupno6WopEQHZhQaD7kpCdDwk5Hj7lZY7YfD2b2gIzTPnIf 5fT46IfiZMbAveIMZmT69dGoSiyagBZbanVDHz9AKJxK35vwZr4Nf2Bqk2ebWiQOXaTm DvprYuUUhNjUZw3JES0bX6OCL3a/kL1xAFhini8NaSzUK92dyYd5CpF3bheNDAnLSgtD Do0itQbjhDl/sXgveWj03iabYVQmMzE9omk25mqXl68sNOdkpTNAfDALYWPrrUP8D5nP crPg== 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=YwfLakl/cuGc3cX6E72LnRG3LKOeHT2DnOthsE4iiK0=; b=qIMbmX15tMJUVvTixIypmYXe6WVS7UhgXo6oNlp4jX697Rv9bALfqojVIXG7cpWLvg B0vOd1Gk2tt7Vyzw3C6D3CHnkd75U8p4Vew5Oo8xAkG2NJntUWOYDpj/NFg01xqU8nVq 1SJnqrDb73XW6SuT1OM3i3s295P99gI9Vfc534Vdg6+6yp59vhfA4KscNFgEra/BZTd6 u7TAr+MGZV85Uy++zGL9tQ9xpxDD1728O3KT3djiUBxc9/DKhfHBWnyGaLIZ0N0QKCmT S7RVlZnDdzYwyy93jBEbVw8CI8n1Sh14mXSmCwjll7o6bm17wMuin0S+2W33D/tts5ww 2wig== X-Gm-Message-State: AOAM531Dhze8LL8mjDyTq8rHwb1jy2Y/ETNeYmBHGxtcSWP2JPZEgvvi o1o9M7SBT76nlh3YYaBt6yQIkdbUQpA= X-Received: by 2002:a1c:7215:: with SMTP id n21mr3303172wmc.10.1591699104628; Tue, 09 Jun 2020 03:38:24 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l17sm2978481wrq.17.2020.06.09.03.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 84A781FF99; Tue, 9 Jun 2020 11:38:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 10/17] linux-user: provide fallback pgd_find_hole for bare chroots Date: Tue, 9 Jun 2020 11:38:02 +0100 Message-Id: <20200609103809.23443-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x342.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" When running QEMU out of a chroot environment we may not have access to /proc/self/maps. As there is no other "official" way to introspect our memory map we need to fall back to the original technique of repeatedly trying to mmap an address range until we find one that works. Fortunately it's not quite as ugly as the original code given we already re-factored the complications of dealing with the ARM_COMMPAGE. We do make an attempt to skip over brk() which is about the only concrete piece of information we have about the address map at this moment. Fixes: ee9474303 Reported-by: Peter Maydell Signed-off-by: Alex Bennée Message-Id: <20200605154929.26910-12-alex.bennee@linaro.org> -- 2.20.1 diff --git a/linux-user/elfload.c b/linux-user/elfload.c index ebc663ea0b3..475d243f3bd 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -2101,6 +2101,50 @@ static void pgb_have_guest_base(const char *image_name, abi_ulong guest_loaddr, } } +/** + * pgd_find_hole_fallback: potential mmap address + * @guest_size: size of available space + * @brk: location of break + * @align: memory alignment + * + * This is a fallback method for finding a hole in the host address + * space if we don't have the benefit of being able to access + * /proc/self/map. It can potentially take a very long time as we can + * only dumbly iterate up the host address space seeing if the + * allocation would work. + */ +static uintptr_t pgd_find_hole_fallback(uintptr_t guest_size, uintptr_t brk, long align) +{ + uintptr_t base; + + /* Start (aligned) at the bottom and work our way up */ + base = ROUND_UP(mmap_min_addr, align); + + while (true) { + uintptr_t align_start, end; + align_start = ROUND_UP(base, align); + end = align_start + guest_size; + + /* if brk is anywhere in the range give ourselves some room to grow. */ + if (align_start <= brk && brk < end) { + base = brk + (16 * MiB); + continue; + } else if (align_start + guest_size < align_start) { + /* we have run out of space */ + return -1; + } else { + int flags = MAP_ANONYMOUS | MAP_PRIVATE | MAP_NORESERVE | MAP_FIXED; + void * mmap_start = mmap((void *) align_start, guest_size, + PROT_NONE, flags, -1, 0); + if (mmap_start != MAP_FAILED) { + munmap((void *) align_start, guest_size); + return (uintptr_t) mmap_start; + } + base += qemu_host_page_size; + } + } +} + /* Return value for guest_base, or -1 if no hole found. */ static uintptr_t pgb_find_hole(uintptr_t guest_loaddr, uintptr_t guest_size, long align) @@ -2116,6 +2160,10 @@ static uintptr_t pgb_find_hole(uintptr_t guest_loaddr, uintptr_t guest_size, /* Read brk after we've read the maps, which will malloc. */ brk = (uintptr_t)sbrk(0); + if (!maps) { + return pgd_find_hole_fallback(guest_size, brk, align); + } + /* The first hole is before the first map entry. */ this_start = mmap_min_addr; From patchwork Tue Jun 9 10:38:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187663 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp407444ilo; Tue, 9 Jun 2020 03:50:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySrRle/OpURheuQpoNOK7nMFwCRvtWqSGZOx9Z/L32Vasq1beqe95oNBnCgQbcPEa5FBa0 X-Received: by 2002:a25:8b05:: with SMTP id i5mr5084781ybl.65.1591699816693; Tue, 09 Jun 2020 03:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699816; cv=none; d=google.com; s=arc-20160816; b=AbGC560ITVOuZJCjH8CwddhBPXH5BWrppWyPD83MfbDKjSix7ynugkWobQRJA75KiR ipq4ofXxtVttUiPCP2Oxd+NwJG/r2ve7bYF2Dj7lonnT9V0/U3F7i1mL/Baa8qlJL21q Lj4CCEHBM0ERIO//m6OFM8KSF6MOfwMJY3Nu1SjyhyqM8RgnGafw0ZLw9q+3ue3W/ugA onteSb0P1sNw7gMnF12SXwv8GBPcE2cwxqf1NDLiynqMEBhFw9nFi04ScF4jxIR7fqNk bGUI4OXXDDpxvB41p0xeEwrZ2R7SfFgd51SJfA+jxGned9ZQio8T1RuSAU9p16WE1aAi 6ymg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=zZed/y7QNny6kF0a14GXywWS17AGkkgGYqHaLimRe4g=; b=PnbJ496mQtfv13iRsucHVpEy19FZ+g9w6kCEzBzlU6DsQFv92LbzZv5Clr4mxZBEN7 ETW0kG4S1S45II5rKwdO6pjc5pUfvI3+1thVZRwzicfp7FBEsvYeGFJKbsOzoDttT4IP zg7dNCrLQATQFMB9c80lHq/OCQRKO0DQjuj9v43Cw//dozDxPTPZSLYB1y5j9+r9KKkl BgAQUozPLLdCdprVxLJMkyZDI2J3+IEX7EbcuUpXPlRoeKtaWvy0uWaGQAVa5gN7+hvk VESIAAx/5C8P3USMAAiipvz9I8g25t17XoxeIBQgl3lkVe0a4RtpLnfysHpJwXcrOrDb 0IDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=MfMbn4rE; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k205si2307119ybk.51.2020.06.09.03.50.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:50:16 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=MfMbn4rE; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibpg-0006BM-36 for patch@linaro.org; Tue, 09 Jun 2020 06:50:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeH-0007qU-UI for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:29 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:42176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibeG-0004Pz-QB for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:29 -0400 Received: by mail-wr1-x443.google.com with SMTP id p5so20691678wrw.9 for ; Tue, 09 Jun 2020 03:38:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zZed/y7QNny6kF0a14GXywWS17AGkkgGYqHaLimRe4g=; b=MfMbn4rEJRBBEYQmbyHlgeHjmEgYadWZC5Z4oQkHw3p8L1ahRn5cknwXJEkUQoOiiw 4Cr6743DQDdthweo06PKIO0rzlkCA2Gh5suvp1bvRYMJw1xolMxKtOeDSrSM8VltLDW3 S1u8uImQ0VQlziJ8sR9RDlbGmAUfyiHCikSXvlZ3Vt4RzouZ7xA2rkmbA0gBjhBQ1BQ/ 4g9Hhzq4xCHb5bHzkXCcQ4p5fAaqkl06aZWqxICsntovoslqOXSuvZudZ+aLMsFAe+hj mwRBzYmEqJL1QM7uzjf3VuoRBeWWSNMqCzfGVPFcaZ+HwkL8yQgHzxLigT+yAtBIo7Kk 77+Q== 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=zZed/y7QNny6kF0a14GXywWS17AGkkgGYqHaLimRe4g=; b=i7jNI1GylDRCUCI6ow+zPwvpCtq2LAWKCRqDlzS+VZCVm+VL+HuyC/MrP8vfsGCOLl sn2QettwR9l/whfxCZ54ufKOfpf9EX3miS7tnkWWPxPXjho8uYMpF3Z6Fpmp+ONS3A05 HCR3PsbpitYPBhE2NEm1XBRaeafUKXhC6+i7DAC8OwjcZqumTa21Zrqv66HAhHaZv5YC x8Mr8oRzDrOK71aVX7QRCoDxbix7f6TiwQ+Wmt5wkkKByPR4/BGYVtwK2mzMuqOZ67W2 bkhLw2k7fxx/J7iN7upjodE6WpP9NIbUK0abEdB3eEtsngVKjV7KQvnP8ygvFLyuYU/6 RE+A== X-Gm-Message-State: AOAM531otV1bLOv1wlqZ4xfRN3LOU55fKMqv7UhjgL8M9Gy3wcQmqZYT h4mVe4yfEuQ1gVqa2CnPq/sohw== X-Received: by 2002:adf:e58c:: with SMTP id l12mr3717353wrm.34.1591699107336; Tue, 09 Jun 2020 03:38:27 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a15sm2947032wra.86.2020.06.09.03.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B504B1FF9A; Tue, 9 Jun 2020 11:38:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 11/17] linux-user: deal with address wrap for ARM_COMMPAGE on 32 bit Date: Tue, 9 Jun 2020 11:38:03 +0100 Message-Id: <20200609103809.23443-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bug 1880225 <1880225@bugs.launchpad.net>, Riku Voipio , Richard Henderson , qemu-devel@nongnu.org, Laurent Vivier , Aleksandar Markovic , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We rely on the pointer to wrap when accessing the high address of the COMMPAGE so it lands somewhere reasonable. However on 32 bit hosts we cannot afford just to map the entire 4gb address range. The old mmap trial and error code handled this by just checking we could map both the guest_base and the computed COMMPAGE address. We can't just manipulate loadaddr to get what we want so we introduce an offset which pgb_find_hole can apply when looking for a gap for guest_base that ensures there is space left to map the COMMPAGE afterwards. This is arguably a little inefficient for the one 32 bit value (kuser_helper_version) we need to keep there given all the actual code entries are picked up during the translation phase. Fixes: ee94743034b Bug: https://bugs.launchpad.net/qemu/+bug/1880225 Cc: Bug 1880225 <1880225@bugs.launchpad.net> Signed-off-by: Alex Bennée Tested-by: Aleksandar Markovic Cc: Richard Henderson Cc: Peter Maydell Message-Id: <20200605154929.26910-13-alex.bennee@linaro.org> -- 2.20.1 diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 475d243f3bd..b5cb21384a1 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -389,7 +389,7 @@ static bool init_guest_commpage(void) { void *want = g2h(ARM_COMMPAGE & -qemu_host_page_size); void *addr = mmap(want, qemu_host_page_size, PROT_READ | PROT_WRITE, - MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); + MAP_ANONYMOUS | MAP_PRIVATE | MAP_FIXED, -1, 0); if (addr == MAP_FAILED) { perror("Allocating guest commpage"); @@ -2113,7 +2113,8 @@ static void pgb_have_guest_base(const char *image_name, abi_ulong guest_loaddr, * only dumbly iterate up the host address space seeing if the * allocation would work. */ -static uintptr_t pgd_find_hole_fallback(uintptr_t guest_size, uintptr_t brk, long align) +static uintptr_t pgd_find_hole_fallback(uintptr_t guest_size, uintptr_t brk, + long align, uintptr_t offset) { uintptr_t base; @@ -2123,7 +2124,7 @@ static uintptr_t pgd_find_hole_fallback(uintptr_t guest_size, uintptr_t brk, lon while (true) { uintptr_t align_start, end; align_start = ROUND_UP(base, align); - end = align_start + guest_size; + end = align_start + guest_size + offset; /* if brk is anywhere in the range give ourselves some room to grow. */ if (align_start <= brk && brk < end) { @@ -2138,7 +2139,7 @@ static uintptr_t pgd_find_hole_fallback(uintptr_t guest_size, uintptr_t brk, lon PROT_NONE, flags, -1, 0); if (mmap_start != MAP_FAILED) { munmap((void *) align_start, guest_size); - return (uintptr_t) mmap_start; + return (uintptr_t) mmap_start + offset; } base += qemu_host_page_size; } @@ -2147,7 +2148,7 @@ static uintptr_t pgd_find_hole_fallback(uintptr_t guest_size, uintptr_t brk, lon /* Return value for guest_base, or -1 if no hole found. */ static uintptr_t pgb_find_hole(uintptr_t guest_loaddr, uintptr_t guest_size, - long align) + long align, uintptr_t offset) { GSList *maps, *iter; uintptr_t this_start, this_end, next_start, brk; @@ -2161,7 +2162,7 @@ static uintptr_t pgb_find_hole(uintptr_t guest_loaddr, uintptr_t guest_size, brk = (uintptr_t)sbrk(0); if (!maps) { - return pgd_find_hole_fallback(guest_size, brk, align); + return pgd_find_hole_fallback(guest_size, brk, align, offset); } /* The first hole is before the first map entry. */ @@ -2173,7 +2174,7 @@ static uintptr_t pgb_find_hole(uintptr_t guest_loaddr, uintptr_t guest_size, this_end = ((MapInfo *)iter->data)->start; next_start = ((MapInfo *)iter->data)->end; - align_start = ROUND_UP(this_start, align); + align_start = ROUND_UP(this_start + offset, align); /* Skip holes that are too small. */ if (align_start >= this_end) { @@ -2223,6 +2224,7 @@ static void pgb_static(const char *image_name, abi_ulong orig_loaddr, { uintptr_t loaddr = orig_loaddr; uintptr_t hiaddr = orig_hiaddr; + uintptr_t offset = 0; uintptr_t addr; if (hiaddr != orig_hiaddr) { @@ -2236,18 +2238,19 @@ static void pgb_static(const char *image_name, abi_ulong orig_loaddr, if (ARM_COMMPAGE) { /* * Extend the allocation to include the commpage. - * For a 64-bit host, this is just 4GiB; for a 32-bit host, - * the address arithmetic will wrap around, but the difference - * will produce the correct allocation size. + * For a 64-bit host, this is just 4GiB; for a 32-bit host we + * need to ensure there is space bellow the guest_base so we + * can map the commpage in the place needed when the address + * arithmetic wraps around. */ if (sizeof(uintptr_t) == 8 || loaddr >= 0x80000000u) { - hiaddr = (uintptr_t)4 << 30; + hiaddr = (uintptr_t) 4 << 30; } else { - loaddr = ARM_COMMPAGE & -align; + offset = -(ARM_COMMPAGE & -align); } } - addr = pgb_find_hole(loaddr, hiaddr - loaddr, align); + addr = pgb_find_hole(loaddr, hiaddr - loaddr, align, offset); if (addr == -1) { /* * If ARM_COMMPAGE, there *might* be a non-consecutive allocation @@ -2282,7 +2285,7 @@ static void pgb_dynamic(const char *image_name, long align) * just above that, and maximises the positive guest addresses. */ commpage = ARM_COMMPAGE & -align; - addr = pgb_find_hole(commpage, -commpage, align); + addr = pgb_find_hole(commpage, -commpage, align, 0); assert(addr != -1); guest_base = addr; } From patchwork Tue Jun 9 10:38:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187655 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp406120ilo; Tue, 9 Jun 2020 03:48:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcGtmx8aOc+2p+DN1enFgkiSy4RVraOxww4bPYJ1nJ5zoRhHI4brBaCX+FYwecuz/Zo2VB X-Received: by 2002:a25:587:: with SMTP id 129mr5507219ybf.438.1591699683921; Tue, 09 Jun 2020 03:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699683; cv=none; d=google.com; s=arc-20160816; b=oSai88E/gxmbt/xhysPxS0oAWV0Q4+zEKYLn8+xPL0uHGQMi6mWiLlRjkBgBBHpbfM G/DHhByiBJMCUKXKpQhq3MhDebL1VQ3mi9//uq3Zv7lXwfPipVhzRNv6wMDfOTnbx4ix pUsa7ZNPUFWYoT63A8syyqFpLcP7AXd2ib2HRa/SqzWNJMluouKYwqK2gszqRJkvFgUY iVW35U1nhKWRMwClo6sQL5Oxsg962aeZ0SDZ0obkXBdFVYlpGgMxC8auV02pKrbQ25AW cjTSR1FQvVBUnm10kSxtCILua9dtPMj4L9p2bMyiD6wVA6pThq4qxuvev0E94rgBFFXb Pajw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=zqNZ4K751oQ2ZBoxvFIb7mnLgW2GU7cthJBRS997X+A=; b=G2lFjiw9fCgYMrz+IhOY85MWrAoF/iPq3DNKJWHmu1dOV8nbNIarl56ufXgVRC4KkE MRzKmvJA9yQFJTyoDUV1u0v4xDVSX7CqNLPtImCcNbjq0zEMQTofP8eORwxjTEngF7mB SokamYwL5r5K7QZv6IFQhS1ZF1rS+IT7kvHK7Hi6oVkDJwfp+wmDYSzGEg4sqBsbHKWI yesmrAdBwE2Ai94MYB60R6XTR7RjdtL8bcdoDrhmoYjfn+lfIDMGtKp/iibvksrs3o0l Zx9l5Ct6gx333Bat3dxKV7kJ2k61kb8j8YfdygHo6BoPxycIWOS7qMgJT029z/KS+WTQ wEbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=pm6rOszm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p8si2172713ybl.187.2020.06.09.03.48.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:48:03 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=pm6rOszm; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:33004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibnX-0003K2-E3 for patch@linaro.org; Tue, 09 Jun 2020 06:48:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeC-0007hF-O3 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:24 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:42508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibeB-0004PH-Q2 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:24 -0400 Received: by mail-wr1-x42b.google.com with SMTP id p5so20691432wrw.9 for ; Tue, 09 Jun 2020 03:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zqNZ4K751oQ2ZBoxvFIb7mnLgW2GU7cthJBRS997X+A=; b=pm6rOszmuS2HUXo81SiwpNvH2vqZ3UntTQNbD5rNF+AVsuvhL/brLRSgDyfcwWtR4+ oJEHihclBUgccAf9GJP1whkqqkkGh51Hi8mEj+eEJOevFY5u1S+vvpL48d86QJhben4r mIrCP/ki/5/apMvSxxtkpBskKsHf626odkRbnY/0JhBaeug4N4r++UycmkVBDGO8go99 qKyDINCIgNvlM71S4duaaE0ZxBH1XEiPFM/ban2yfjMoRkJYG51L3f6xQZq+ytEKifOC 85su6JCJkM+YVpt1vbU/hF2XyvkCbJax5fTditZTr5a+6yNMPX5QC0h7ZJo4k4+DVaHU 3r5A== 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=zqNZ4K751oQ2ZBoxvFIb7mnLgW2GU7cthJBRS997X+A=; b=bherYuy3dr9keBSRFlVCT4FCT0SQ+SnRu2DZLtSY4iiKN74eEHoXRUpGx5uzuifTaY SJuPKwUNTEAbzm4rb4FvNXnH6TGINPXHY62JG+6bGNK3Qc1aPO3P6C9RpT+beyGS5LWQ ojL5kd9Ij7/9A3Iz5YIu854f1rdpwAiVH6dopTrmzEX2WeZgVyO+FmEaCNK6DD2fuV4/ JUsQq24zuLzDHEIditEN8eT7Z+r62j/Gj3QjL1Tw+I97VUB6PAy8bU+Ymbwu96BDhbZG 17KKtxSeKeTPgzrmeuvpYH0ZwsqWG+AZXFZEDi0osK/5Tx6tueOcthYP7y8QT32oQX6m TM0w== X-Gm-Message-State: AOAM533Atrtsuf82dugDqpflKroBke0NatQ4PRLJ4t3xHoWaaRgdLTB1 +Uo4ehgnYP1DKXrfJdm/W9nzqGbKGVM= X-Received: by 2002:adf:dfcf:: with SMTP id q15mr3560955wrn.373.1591699102267; Tue, 09 Jun 2020 03:38:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h12sm2807281wro.80.2020.06.09.03.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E55D61FF9B; Tue, 9 Jun 2020 11:38:11 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 12/17] tests/tcg: add simple commpage test case Date: Tue, 9 Jun 2020 11:38:04 +0100 Message-Id: <20200609103809.23443-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , "open list:ARM TCG CPUs" , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The COMMPAGE are a number of kernel provided user-space routines for 32 bit ARM systems. Add a basic series of smoke tests to ensure it is working as it should. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20200605154929.26910-14-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/tcg/arm/commpage.c b/tests/tcg/arm/commpage.c new file mode 100644 index 00000000000..c76e70cb8bd --- /dev/null +++ b/tests/tcg/arm/commpage.c @@ -0,0 +1,61 @@ +/* + * Verify the COMMPAGE emulation + * + * The ARM commpage is a set of user space helper functions provided + * by the kernel in an effort to ease portability of user space code + * between different CPUs with potentially different capabilities. It + * is a 32 bit invention and similar to the vdso segment in many ways. + * + * The ABI is documented in the Linux kernel: + * Documentation/arm/kernel_userspace_helpers.rst + * + * Copyright (c) 2020 Linaro Ltd + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include +#include +#include + +#define ARM_COMMPAGE (0xffff0f00u) +#define ARM_KUSER_VERSION (*(int32_t *)(ARM_COMMPAGE + 0xfc)) +typedef void * (get_tls_fn)(void); +#define ARM_KUSER_GET_TLS (*(get_tls_fn *)(ARM_COMMPAGE + 0xe0)) +typedef int (cmpxchg_fn)(int oldval, int newval, volatile int *ptr); +#define ARM_KUSER_CMPXCHG (*(cmpxchg_fn *)(ARM_COMMPAGE + 0xc0)) +typedef void (dmb_fn)(void); +#define ARM_KUSER_DMB (*(dmb_fn *)(ARM_COMMPAGE + 0xa0)) +typedef int (cmpxchg64_fn)(const int64_t *oldval, + const int64_t *newval, + volatile int64_t *ptr); +#define ARM_KUSER_CMPXCHG64 (*(cmpxchg64_fn *)(ARM_COMMPAGE + 0x60)) + +#define fail_unless(x) \ + do { \ + if (!(x)) { \ + fprintf(stderr, "FAILED at %s:%d\n", __FILE__, __LINE__); \ + exit(EXIT_FAILURE); \ + } \ + } while (0) + + +int main(int argc, char *argv[argc]) +{ + void *kuser_tls; + int val = 1; + const int64_t oldval = 1, newval = 2; + int64_t val64 = 1; + + fail_unless(ARM_KUSER_VERSION == 0x5); + kuser_tls = ARM_KUSER_GET_TLS(); + printf("TLS = %p\n", kuser_tls); + fail_unless(kuser_tls != 0); + fail_unless(ARM_KUSER_CMPXCHG(1, 2, &val) == 0); + printf("val = %d\n", val); + /* this is a crash test, not checking an actual barrier occurs */ + ARM_KUSER_DMB(); + fail_unless(ARM_KUSER_CMPXCHG64(&oldval, &newval, &val64) == 0); + printf("val64 = %lld\n", val64); + return 0; +} diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index 11c39c601ea..3da09a38be7 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -68,6 +68,8 @@ run-semiconsole-arm: semiconsole-arm run-plugin-semiconsole-arm-with-%: $(call skip-test, $<, "MANUAL ONLY") +ARM_TESTS += commpage + TESTS += $(ARM_TESTS) # On ARM Linux only supports 4k pages From patchwork Tue Jun 9 10:38:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187648 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp403738ilo; Tue, 9 Jun 2020 03:44:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgJUUFXmVlJYiHin/lrwMSXed4mO8/LWOVngMCpbdoOPWjg6Qk0csMnz0h6MONb6UaFx35 X-Received: by 2002:a25:69d1:: with SMTP id e200mr5055996ybc.127.1591699488916; Tue, 09 Jun 2020 03:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699488; cv=none; d=google.com; s=arc-20160816; b=mjCu3XLNNbtFB4MGbhCMlupSyhgIuWdywZRhbg3HcyXJj5/ectTrdiB9faJrJ3ob7t 2rTOzkdbQDZcqRnLYcC8m1aaVjxl8RD2W9apDKPPF2/ni8n03YhB60BLo9uupocrIWcY G8Yq0X18JE6AbGtsZeMObY4lZX0mfxIT3D3gx3kPiI9jpdUA6X8UBSCui2xPsYvUjgNa zrtltpARpih+fefI0oZS3W7bhOhCc+DospnpgYDGGEkvTnLkTsnv9VBiGAxzWlhvpFCH VxJsy1woiStiFrldQdzwgRm3V/3cB4EWdVLOk9eYhq4IQYX9g07OiT/9BHngSeyfTHzv WDEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=l8C2CxQk5isX6LgVBcCj8l8vwP2jRtWs9gzBWt30ZL0=; b=gQXsxsZQJs36haA20uaZNALDz0Q7rsrDWeIaufELK1rFtrr9oZ7sJr9pPqu8cRWQic G1gW1tP/s6MROESLsnq/d2c3ka6z9BLcv2oC6b04muHVWoTOMXTDpWxPej2X19F40+o0 oZHVNN9DNs1oKw8fuQOxQEeUFuFZnkf3W7CoseszOtmQj0GajX7/c4C3eF+UBaHh73HV +hZ3Sw4730CRj1F4c8FdQ1X28/noTpTLIaAUONmdE4iqUYPLOlqdnECH8L3iv+kq0ich woMgCvul2co9Ss8MnzkvJrfXT4MG46ZK07mshpfWnBps779U3o6nlUYKMLywEDGPnQSO JYgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=L2XPNyqf; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a18si2276158ybs.368.2020.06.09.03.44.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:44:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=L2XPNyqf; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibkO-0007Lp-AC for patch@linaro.org; Tue, 09 Jun 2020 06:44:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibjY-0007HP-6L for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:56 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:51474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibjX-0005DZ-3H for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:55 -0400 Received: by mail-wm1-x32a.google.com with SMTP id u13so2351129wml.1 for ; Tue, 09 Jun 2020 03:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=l8C2CxQk5isX6LgVBcCj8l8vwP2jRtWs9gzBWt30ZL0=; b=L2XPNyqf2oO9DHglFSfCvQCs9Mra96UjWRRjHTcrsu4iADUPDR7GwQzy4HhDR0LFV4 +FfHvM3JT6qQPtvddPt/L2fYRHfcC91c9Uq3VwLBO3qi3Te2vYxLLiFUTkwZw4MU7t5H FwzclMaaSTd/kxYYXzp90J3NljU8ITsJxRmUGz41HYK1+/pfIB1ydU4mLjYgaE78qO7b uohj57SaWxEeAouYDXVRCdXiQ5OCa+8sCzaYfqPFlFhngtvKq5niMi6mjWU+myhzvWNV uZ56sDEOVoa4knpjMJ69vgtlR7tc1IBzQ6gMajACLPpxgNKbLj/7zUvmVSUmIuaHoKR1 evoA== 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=l8C2CxQk5isX6LgVBcCj8l8vwP2jRtWs9gzBWt30ZL0=; b=Nosy6OiiHQSDou1Vs7RYUdz9hDBQ0ZW71NV0AEjOBmpBkkLPC5ZJhq3zxr0FGMH0Dv Va6VGPs835YpUgGWvzICPOjVgXg4kClAttOJg30zPsG7CQ5wkqQui6v6WSjEstpJqtJp hqnNhe+a4wgYQFOU46xfTRQ/vymIfkzX0taMBTqGDr6v58To6TmTDAjX2enrc0PycrUJ eHSwN9OyBqGn7HaN3MMCKetMWwR+9G5dDnphof4widx+mcuTT38YQFN3Iy6h6lcT4JWC a2ippbKodH4nLA14XWfD6MTCuva6DGzk6OWqk6LNRDW/blTsJ9CBbAdiCWiiQkbIzXIu J33g== X-Gm-Message-State: AOAM531FhQO2Tx6wMDeJYPhOFJ89sjiiGhwWQ/8mOxbXBOvrFxjUq2OI ycGN4r6lU0JPhkt/odxdzPEWXA== X-Received: by 2002:a1c:8048:: with SMTP id b69mr3221723wmd.169.1591699433292; Tue, 09 Jun 2020 03:43:53 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u74sm2510677wmu.31.2020.06.09.03.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:43:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1485A1FF7E; Tue, 9 Jun 2020 11:38:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 13/17] linux-user: detect overflow of MAP_FIXED mmap Date: Tue, 9 Jun 2020 11:38:05 +0100 Message-Id: <20200609103809.23443-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Relaxing the restrictions on 64 bit guests leads to the user being able to attempt to map right at the edge of addressable memory. This in turn lead to address overflow tripping the assert in page_set_flags when the end address wrapped around. Detect the wrap earlier and correctly -ENOMEM the guest (in the reported case LTP mmap15). Fixes: 7d8cbbabcb Signed-off-by: Alex Bennée Reported-by: Laurent Vivier Message-Id: <20200605154929.26910-15-alex.bennee@linaro.org> -- 2.20.1 diff --git a/linux-user/mmap.c b/linux-user/mmap.c index caab62909eb..0019447892e 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -467,7 +467,7 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, * It can fail only on 64-bit host with 32-bit target. * On any other target/host host mmap() handles this error correctly. */ - if (!guest_range_valid(start, len)) { + if (end < start || !guest_range_valid(start, len)) { errno = ENOMEM; goto fail; } From patchwork Tue Jun 9 10:38:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187660 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp406600ilo; Tue, 9 Jun 2020 03:48:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeQHf4DkE6dgnPz6q7wXJh6NiZYVaevGHCVkJl7CFGZRUuOxRfpEZYBWuteXRd9UqF76PX X-Received: by 2002:a25:b942:: with SMTP id s2mr5100100ybm.437.1591699732513; Tue, 09 Jun 2020 03:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699732; cv=none; d=google.com; s=arc-20160816; b=t6CARHiRgDtHg1qA/FthM19FrxYsRqLrPvggt0bw/SJ+lV3yHyv3Qty4br8DPH8UiY SbEISE1JRjq+zWkjiDf1j1GruqSfIuzQm3zQhAn0iAZSkNMSefWOFD3whFVZm01fIgb+ JNgcbTWvEx8C5Q27V1VEFCr+vioXq94KxRMEPX40XdJqdZX9jQLfHfnjsO64nVYev9ZL zf+Kf+DNVtt2RNy0UdnNL3xo1Wznl6kgW8HTzz8g4IhIh8NqhRmZ9VZdB5ERM/7HMKKr 7MTJE/i45Nrc44QgnSNAP8CA5ceRxaAh+jUSkrzQZP1/RzMNCyuRxvVlrKDXng8fHg+s BmWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=EcSax8hW8ZLVqC+hSKgHYBFjse/ULBtGcOiJDeEtXGs=; b=SotlRRjUsuDszhS5vaBZqdsb/Tx8qJcIkp083PcQK7D1UglkxT8EB4cDs1cdQrTKe/ Hs76+yL34FfK4shG+KOiFeMCW7JmIL9SG2dTDHUhKH2+ZXU5wECwA1042IqAM4cwyq5i +p7IASGhHTxMCFIOUt5agbvvhEOtWJRJ9uXEdxThzjhUJcAAkLfFxdYHlmdOs7kvx2nS nzGeWK2EHSJpMEofu5MTE3NQ0QXEVbCwcMzSQ2J3duYFCAW8wB/O8erwlmS6awoFFZfL eJo/ING4kxYOFofDslxCGOGH58pePAZ9uuMzxEbCxskRM3Wc4tXaTfPimfrwfhw2MnLn E1CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bQdrU3Du; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id z7si2216508ybz.7.2020.06.09.03.48.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:48:52 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bQdrU3Du; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiboK-00050E-0M for patch@linaro.org; Tue, 09 Jun 2020 06:48:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibja-0007OY-GY for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:58 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:37234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibjZ-0005Dt-CT for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:58 -0400 Received: by mail-wr1-x435.google.com with SMTP id x13so20735060wrv.4 for ; Tue, 09 Jun 2020 03:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EcSax8hW8ZLVqC+hSKgHYBFjse/ULBtGcOiJDeEtXGs=; b=bQdrU3DuNoorRmJW85vBn1wYkwXSTWW76JiKoXwO55F4xUgxnNNamJtjoyZdfgVLzc VS92uykEqUvtXJgn4jQmAhT0S3HYIYFhWhGx6Ad8QptV8Xp3Rg49hDw4xqQ5dOAhd6hU eyUyOWZLIfMbAzXFLh7HCE4wJionTyGJv/VpLnOJq2WozEm4WNlYC+8ou3L6oUk32Ih8 +ft35Vtle5j6Y50ABwN7LIDh1HZfdTgJRfP59gxUb985R9ynM+TcrAHeAvvHQIVDa222 4c+TSNNFBNgkcXFG8U5b/9CBTwEDGnuO6m3uriyzReLx1fyWArcWo6zMy7vOq1WLAJ2q nGYw== 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=EcSax8hW8ZLVqC+hSKgHYBFjse/ULBtGcOiJDeEtXGs=; b=RoT0bMRx8rT1XPr3OZok6zMiyRqWNzRdSAm0XG7lCG503ofv0p3mhsVj9goNOL68gi S0lcRmAD2vSl6xpbFdNKf+ZKfFPJqUMSoSDzZ+v5YhZs5etuFhjOhMzsaSm9P3pkxsHF AMRI9z7/6DIbHvTa7ZAn6tvO/d8LnkMTW8K8KVNop3FvlVrcSkD8Q32j1jp7+U7ssutK I5ap2uwP2K+OynoZwcJzWiCZYKhJuTEKbyK4m7JI80Uir1cQbvX5EpiPyaoSyGAAkgar XD8aW4Nt11wPsEEcIy4XLceyjruxOAyZhdLFeDJnxcYLwwFgGmQSl90pdkDDVnunEqeg G3ow== X-Gm-Message-State: AOAM532aCzUZT0jpBcPVTAbEwKZEygLN4ApuH6rH7t5px6oLZ7gdmajo cHmbKOZrKpJfO7QxplPYc1qwjg== X-Received: by 2002:a5d:6109:: with SMTP id v9mr3659604wrt.26.1591699435689; Tue, 09 Jun 2020 03:43:55 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id d9sm2913194wre.28.2020.06.09.03.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:43:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6179F1FF9C; Tue, 9 Jun 2020 11:38:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 14/17] tests/docker: Remove flex/bison packages Date: Tue, 9 Jun 2020 11:38:06 +0100 Message-Id: <20200609103809.23443-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Claudio Fontana Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé QEMU does not use flex/bison packages. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Claudio Fontana Signed-off-by: Alex Bennée Message-Id: <20200515163029.12917-2-philmd@redhat.com> -- 2.20.1 diff --git a/tests/docker/dockerfiles/centos7.docker b/tests/docker/dockerfiles/centos7.docker index 9a2a2e515d7..e197acdc3ce 100644 --- a/tests/docker/dockerfiles/centos7.docker +++ b/tests/docker/dockerfiles/centos7.docker @@ -5,13 +5,11 @@ RUN yum -y update # Please keep this list sorted alphabetically ENV PACKAGES \ - bison \ bzip2 \ bzip2-devel \ ccache \ csnappy-devel \ dbus-daemon \ - flex \ gcc-c++ \ gcc \ gettext \ diff --git a/tests/docker/dockerfiles/centos8.docker b/tests/docker/dockerfiles/centos8.docker index bfa0d33c9c8..9852c5b9eea 100644 --- a/tests/docker/dockerfiles/centos8.docker +++ b/tests/docker/dockerfiles/centos8.docker @@ -3,11 +3,9 @@ FROM centos:8.1.1911 RUN dnf -y update ENV PACKAGES \ SDL-devel \ - bison \ bzip2 \ bzip2-devel \ dbus-daemon \ - flex \ gcc \ gcc-c++ \ gettext \ diff --git a/tests/docker/dockerfiles/debian-xtensa-cross.docker b/tests/docker/dockerfiles/debian-xtensa-cross.docker index e6f93f65ee2..beb73f46baa 100644 --- a/tests/docker/dockerfiles/debian-xtensa-cross.docker +++ b/tests/docker/dockerfiles/debian-xtensa-cross.docker @@ -11,11 +11,9 @@ RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ DEBIAN_FRONTEND=noninteractive eatmydata \ apt-get install -y --no-install-recommends \ - bison \ build-essential \ ca-certificates \ curl \ - flex \ gettext \ git \ python3-minimal diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/dockerfiles/debian10.docker index 0769700a416..bcdff04ddfe 100644 --- a/tests/docker/dockerfiles/debian10.docker +++ b/tests/docker/dockerfiles/debian10.docker @@ -18,12 +18,10 @@ RUN apt update && \ DEBIAN_FRONTEND=noninteractive eatmydata \ apt install -y --no-install-recommends \ bc \ - bison \ build-essential \ ca-certificates \ clang \ dbus \ - flex \ gdb-multiarch \ gettext \ git \ diff --git a/tests/docker/dockerfiles/debian9.docker b/tests/docker/dockerfiles/debian9.docker index 08cc970feb1..0f0ebe530af 100644 --- a/tests/docker/dockerfiles/debian9.docker +++ b/tests/docker/dockerfiles/debian9.docker @@ -18,11 +18,9 @@ RUN apt update && \ DEBIAN_FRONTEND=noninteractive eatmydata \ apt install -y --no-install-recommends \ bc \ - bison \ build-essential \ ca-certificates \ clang \ - flex \ gdb-multiarch \ gettext \ git \ diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker index 179575ecaaa..92b6e11c8a8 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -3,7 +3,6 @@ FROM fedora:30 # Please keep this list sorted alphabetically ENV PACKAGES \ bc \ - bison \ brlapi-devel \ bzip2 \ bzip2-devel \ @@ -13,7 +12,6 @@ ENV PACKAGES \ dbus-daemon \ device-mapper-multipath-devel \ findutils \ - flex \ gcc \ gcc-c++ \ gettext \ diff --git a/tests/docker/dockerfiles/ubuntu.docker b/tests/docker/dockerfiles/ubuntu.docker index 43872417dec..161806e6b8c 100644 --- a/tests/docker/dockerfiles/ubuntu.docker +++ b/tests/docker/dockerfiles/ubuntu.docker @@ -10,7 +10,7 @@ # FROM ubuntu:20.04 -ENV PACKAGES flex bison \ +ENV PACKAGES \ ccache \ clang \ dbus \ diff --git a/tests/docker/dockerfiles/ubuntu1804.docker b/tests/docker/dockerfiles/ubuntu1804.docker index f66b06f4cff..a10ea2850b6 100644 --- a/tests/docker/dockerfiles/ubuntu1804.docker +++ b/tests/docker/dockerfiles/ubuntu1804.docker @@ -1,5 +1,5 @@ FROM ubuntu:18.04 -ENV PACKAGES flex bison \ +ENV PACKAGES \ ccache \ clang \ gcc \ From patchwork Tue Jun 9 10:38:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187640 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp400184ilo; Tue, 9 Jun 2020 03:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCXSjg8hBROhIhYcx1Uo3QhqZYdCvmAq6kc1w4JVye1DTKK7MSWBPP0gEGsN/ZSZZkbpj5 X-Received: by 2002:a25:3f87:: with SMTP id m129mr5551272yba.371.1591699161430; Tue, 09 Jun 2020 03:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699161; cv=none; d=google.com; s=arc-20160816; b=Ln6FYAHZ2llVdiaonQyNcEZzIygdzRXZumx7b7pa6apGoJqGu7G7q2XajkEk8e0xny tivJbWUxUMk5TFBFBK6XPV7LSTxKDklJ0VMqkdie1UKUlsGq+9V2rS2KJ7hE41QW2A5q b4CQ8ukCzaHZflJJZLvI9RlsRX9w4H1AdVrNeE2e3OJ0yihKgtShrxfLJSxAE7S1mHZz Aad/1s0Tmv55EpUqATZ4vtucBd5rLpCf1hXCfkleRjhZXOJs5tDA62tZqfyo9EADXHyH cdn5GIZok22U+d7gVZrVOKUxYrq+njSO/w6IPfpyt6sOm/oOWplkZUnszTM0l1qP0A9r D6IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=iLEYO586LN3lan1c/6dZyP5NhR1wfNmqNW/hILo90zI=; b=XnKVW2cgId778a4hKgi7gLBtQpT37pbu39GtcBhXfQm+kDx57d9+PZKdRbCpPTN23n B/R395v9u3+6Dog7BtvBo+03r2ymBYtqR+X4KrrzMjLEeztCPJPhhAkYtj3aIwtzCKsw 9mAgNHZpBrKML/IPcqvUMCzl93UWXPh15Gx2PTvTAqcpvstWdGLqWuq7LrdkA3NpxCp4 v/gbYVwupuvIOhiGOcSVB2mwsIoM42N6sn9Op3KRykqtJbvJMIaJlywLs24aifpujjoF Gj1rzeaQzsLoH+9ytJwPuh6m+wr+QsmTvW2lfCIiYmHfV4f1M9IiPApn/1G/3YNxoiC8 ZMRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=E05BfWmo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l7si2445619ybb.38.2020.06.09.03.39.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:39:21 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=E05BfWmo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibf5-0007y1-BF for patch@linaro.org; Tue, 09 Jun 2020 06:39:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibeK-0007uz-Hl for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:32 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:54590) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibeJ-0004QF-CS for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:38:32 -0400 Received: by mail-wm1-x331.google.com with SMTP id g10so2315606wmh.4 for ; Tue, 09 Jun 2020 03:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iLEYO586LN3lan1c/6dZyP5NhR1wfNmqNW/hILo90zI=; b=E05BfWmoqCNO58L5BPz1PwjV0obDMFC9J2pqtfcRk2LqJE/LjYYnC6qCd0WFy7CYT0 WCLeBIJnJjFFoHbGKdWOO9jJXM14QCk1StPW9IHIvyZcZMqHgkqUBlslDfkU+vfwcTSM 7eN+4OnTEv3DCqCTvJn3a63j+HbVAGN+lPfL/OB0SZEO5LlQgERRiMW3+SDlCx15C4Is hCXLtoNOUl03J6dB0Nmohr3HH3cvtOvQrBP1x/yhh3BtWIFSyg25NLAKMEgUuLNjx6xF DSTU4DsaYQhAadvupRG1wCnQOJIN5d/7s3sz/7oN5Jz57Aiu58/P5bBll3IdHFLrRqSl oz7g== 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=iLEYO586LN3lan1c/6dZyP5NhR1wfNmqNW/hILo90zI=; b=dWbqqr+8p9tqleppXK/w0cMf5qW6tehe1BstYFcgoX9nuMc0I2SxChXkXOJvVxIMbJ Gb5Ov24N12jM38ZRSAN3th/TGyBmNc9M1/V12sKraPDVHcQEPSLjacxTWmcn6Qo15AEF AYGnK891crJVqN4WUFduWKrT90YWdAAZ8tj6/0XMA+e9TKRKkeaAtKFsr2+b4lM+Frq4 84w4emgCRx0RMh2pQUerWOK8lDgAp3HK3+cobXSZ3/tPNxY5/kRaF3/tZdf9eVqW1Th5 4TKNfgbhWSXBBjx5SZ42rWDwUdrg1vKLmEYNxjkhmN5CGhqlS+tllaME/grIM/57vP89 TbNQ== X-Gm-Message-State: AOAM533tv/PtAxZVTkUy0AbJUPt1V99UkME6OzmutVy6xfWvlyj5mXkJ B/SKamXB74mRpOG8I6lVyza3QA== X-Received: by 2002:a7b:c8d6:: with SMTP id f22mr3216584wml.108.1591699110009; Tue, 09 Jun 2020 03:38:30 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id p1sm2795837wrx.44.2020.06.09.03.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:38:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9ACC51FF9D; Tue, 9 Jun 2020 11:38:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 15/17] tests/vm: Remove flex/bison packages Date: Tue, 9 Jun 2020 11:38:07 +0100 Message-Id: <20200609103809.23443-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Claudio Fontana Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé QEMU does not use flex/bison packages. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Claudio Fontana Signed-off-by: Alex Bennée Message-Id: <20200515163029.12917-3-philmd@redhat.com> -- 2.20.1 diff --git a/tests/vm/fedora b/tests/vm/fedora index bd9c6cf295c..a9195670f4b 100755 --- a/tests/vm/fedora +++ b/tests/vm/fedora @@ -32,7 +32,6 @@ class FedoraVM(basevm.BaseVM): pkgs = [ # tools 'git-core', - 'flex', 'bison', 'gcc', 'binutils', 'make', # perl diff --git a/tests/vm/freebsd b/tests/vm/freebsd index 298967fe9cf..f87db2b126e 100755 --- a/tests/vm/freebsd +++ b/tests/vm/freebsd @@ -38,7 +38,6 @@ class FreeBSDVM(basevm.BaseVM): "bash", "gmake", "gsed", - "flex", "bison", # libs: crypto "gnutls", diff --git a/tests/vm/netbsd b/tests/vm/netbsd index b10c9d429de..cdac502dad8 100755 --- a/tests/vm/netbsd +++ b/tests/vm/netbsd @@ -36,7 +36,6 @@ class NetBSDVM(basevm.BaseVM): "bash", "gmake", "gsed", - "flex", "bison", # libs: crypto "gnutls", diff --git a/tests/vm/openbsd b/tests/vm/openbsd index 0b705f49452..13e7f9a6d56 100755 --- a/tests/vm/openbsd +++ b/tests/vm/openbsd @@ -35,7 +35,6 @@ class OpenBSDVM(basevm.BaseVM): "bash", "gmake", "gsed", - "bison", # libs: usb "libusb1", diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386 index 15707753353..24527cc78c7 100755 --- a/tests/vm/ubuntu.i386 +++ b/tests/vm/ubuntu.i386 @@ -52,7 +52,7 @@ class UbuntuX86VM(basevm.BaseVM): self.ssh_root_check("sed -ie s/^#\ deb-src/deb-src/g /etc/apt/sources.list") self.ssh_root_check("apt-get update") self.ssh_root_check("apt-get build-dep -y qemu") - self.ssh_root_check("apt-get install -y libfdt-dev flex bison language-pack-en") + self.ssh_root_check("apt-get install -y libfdt-dev language-pack-en") self.ssh_root("poweroff") self.wait() os.rename(img_tmp, img) From patchwork Tue Jun 9 10:38:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187651 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp404412ilo; Tue, 9 Jun 2020 03:45:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuH9NiKZV+UFmapum5LOz/kxD9GauJl/AKvJjBETQ6+I5BTJYsYRqnsH5nZcCNVdb0/Azn X-Received: by 2002:a25:7313:: with SMTP id o19mr5038880ybc.458.1591699549205; Tue, 09 Jun 2020 03:45:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699549; cv=none; d=google.com; s=arc-20160816; b=uWr5XVwrOYUH5cw3HYXdqRqvM+LgtyZrBYaccad7F/WuX+yfGlI04Tr/8qcYRuVwlo jXjj1hmfLZ04ErdFtuc4dCLdDehDSMmD+qi2TlhclNEZVv7f1misPuHUtUTFcrmbLXvG c9lYRcosDmb3AXnLew6WqMGi/AK32NtYt4D0Sk7xn/xUE1StDU1qtgQ52XNF/7e/Sd2W xJaupRoR2E4WOu+Z8tXcpphEc/wjaU1LOoOCnbQcBf8Ornd32VoyC/PkAL+sRb4NbEdT YwcpqvgXtTaQdk+a/GPIdyKFRiSSyCuotr3TJ7WsmmK455p3daPMALOTjDXQxIQy3W/b Hi/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=q/cIVEFMns0y995uacfy4Wuc44iRJxogb4f61BUR9ZE=; b=YFdtBDFiGKj1YeYQA07ycYnhEJLBuiaDF9DyzySVDZs+h8kDTk9UApdjxJKev1Pzr1 1iBQLGBQbpB1siPZE7dcXO15jcY9UTAduqeCD9X//nNRyUjOT1UZhZ2vL9BnFGtiWKOs 8ZAV3o5ET0Auv/EZADY4GMMbvrH5F/jLlitBjtEnACmn8jthKWVlg2HuqBdw6sg04pcQ CMBbyUl68y2v3g05eIMH9uMYy7SsCN4RirH56zsUP7sSSr97nBdt8c/zJSj0E4S1amNh o78IyTAeGEvYP2FyghjX+CO2qV+YMU3rl0OuJewsi8Qa1njkbQle2Xlvnzy6rC4X0Sol A2hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="G7hL/u46"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f8si2561757ybm.63.2020.06.09.03.45.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:45:49 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="G7hL/u46"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:53318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiblL-0008Pa-LD for patch@linaro.org; Tue, 09 Jun 2020 06:45:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibjb-0007QE-3l for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:59 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:34399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibja-0005E7-8D for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:58 -0400 Received: by mail-wm1-x32a.google.com with SMTP id u26so2002243wmn.1 for ; Tue, 09 Jun 2020 03:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q/cIVEFMns0y995uacfy4Wuc44iRJxogb4f61BUR9ZE=; b=G7hL/u46oa8A4ZPdPTwn1D6jleXAYWcexfpHDJcVqHn0w96Ts9UC7vdbsPhNvUHmSp 0S7Cg0dPqxz/26Onpn56XNakQtzT73t5mRGFVk6f1kVDqSGW/Nre6oinjXIl3P4+7bYd sx8vCyCarR3fSvk4eQW7QdtY+KWd4cGgqJWcmoMT7NLLsppIoSVYPny2XL+hxZsyvzdm zPbF18S8gPqZY0Poizr2jTNyv//YdoU7lpT9sNYQja0gUAB6J9OPSRfrkr4649d2vWLg OBNPzfGE5FW7YrMnz6YcPQM+NpsfHrJynfsBKTDEToRNYuPjf8PwbC9OkPFWzko/tASi MtmA== 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/cIVEFMns0y995uacfy4Wuc44iRJxogb4f61BUR9ZE=; b=plg9edsMwRAAB8OIAhOGc5lHDBwGeHkd87bSQuLKEfDUht3KXiv9nEKm411mK612jn h5nY+6ZCiOSD++FjZpo1TY0jqUA73pMujTyD6L/0sOOslESqQxjZXaMFphoJbUTdJS+p G8SJ8m4f4b8YJdlq1lmdB1nDXCTzXodo4YZAwqn5es+6NW9rbX8sUf7ilHlJ6pswpW0N BO0U2F1hjdH7VPveOeuwRNLDjwxJsFjCYcSlO1JnXLvwYaXIgcwqUXoZ4PzO7C7yWhfc oRNZLmRhvWVxUlG8AJExzBByh7VULfq+75uU1D1pc//3xc4NFl0Z83Jz3FW2iTa6yixP 9c4w== X-Gm-Message-State: AOAM530gs+Od2FFKZ9U/Y+MmVjtKYXCQD4zL7fhqIf3UEJdplBvBl28I Akqd1nacOU8GXX4PfAcKC6QRbQ== X-Received: by 2002:a7b:c761:: with SMTP id x1mr3531369wmk.90.1591699436920; Tue, 09 Jun 2020 03:43:56 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u3sm2486289wmg.38.2020.06.09.03.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:43:52 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C48E11FF9E; Tue, 9 Jun 2020 11:38:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 16/17] cirrus-ci: Remove flex/bison packages Date: Tue, 9 Jun 2020 11:38:08 +0100 Message-Id: <20200609103809.23443-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Ed Maste , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Li-Wen Hsu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé QEMU does not use flex/bison packages. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Li-Wen Hsu Signed-off-by: Alex Bennée Message-Id: <20200515163029.12917-5-philmd@redhat.com> -- 2.20.1 diff --git a/.cirrus.yml b/.cirrus.yml index de0727cb097..ce7850a320e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -7,7 +7,7 @@ freebsd_12_task: cpu: 8 memory: 8G install_script: ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y - bash bison curl cyrus-sasl git glib gmake gnutls gsed + bash curl cyrus-sasl git glib gmake gnutls gsed nettle perl5 pixman pkgconf png usbredir script: - mkdir build From patchwork Tue Jun 9 10:38:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187653 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp405897ilo; Tue, 9 Jun 2020 03:47:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS6X2TD3AzGyVkXgiYVmoiAUcHij/W3vsIb9LeGMn6/YWxQj3T/x8uR9+kE0JKlgU7W2Tv X-Received: by 2002:a25:3b94:: with SMTP id i142mr5013608yba.46.1591699667531; Tue, 09 Jun 2020 03:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591699667; cv=none; d=google.com; s=arc-20160816; b=CUolQUVfydt28dxEBTi3ikVivEe6Vgj4/kQ6rLiykExa+gBEPWGAZcaeMS4+bSpMpe LOY3xyBq6QO1VthDm4ad/gsW7e68btILD6p6UsgO+k2JB3/91I7/ZGbR9SfvqKXqixbz R8zKbJSA+Wkv+pXEXUBNnQl3mPujcQjS2H7BiFX4VyEqRK1kb1naIB5yGirvOAMGRTX/ 8l8vFLhIZaIjD6ccpUASSveb5pjZNldVNIStIOunq9KLtuzfA0wjV/O05p5U+a3CdQ1k HzsZDx5g1zc2BJnoRiTDJzxFjeAIyWwbdwXUu8zE/0dPQMGG5KLW8vFwBzIqN17lVrKp O/Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=M9+zsJ7z9WwK/dGWrZodx5Civohk1cvnYUrMU7t5GYU=; b=ZR7DAS85i+Y/WkEToItY2RSZNUlbRYFIJ+3x8MUCGKmULMOIXwBsE3mmU8eddfBnjy kAkV1EjIK9UjOUOqI6kwdIeteixL9qrOpXmyf89hEiRAoZf7mTGqplbEMqnkgPcR7vos /QTnWW2lAuie/tlHzhuOYk/Krx9htl2phNOkUUtUHE15bKKYANpwCdE7SlW3Hb34+XHW HOCuxijzyqVViOFN/YMHY/cj7Z4/zS7n2cjqKJKKhLjTHEHLB3oQE31JNd4pCAD9pY+S gq/5QumLCgdlxIydAk/cw12JFBxsdeTgD02itko7FhtRH86UqzEP8GcO6kAeuuw74lAO gfPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SJygbJX6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h133si2046608ybh.292.2020.06.09.03.47.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 03:47:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SJygbJX6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jibnG-0002dg-VG for patch@linaro.org; Tue, 09 Jun 2020 06:47:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jibjY-0007J1-P0 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:56 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jibjX-0005Dg-Pn for qemu-devel@nongnu.org; Tue, 09 Jun 2020 06:43:56 -0400 Received: by mail-wr1-x436.google.com with SMTP id r7so20762286wro.1 for ; Tue, 09 Jun 2020 03:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M9+zsJ7z9WwK/dGWrZodx5Civohk1cvnYUrMU7t5GYU=; b=SJygbJX6YYn+prddjMVYTxKJlIf8rtP7z2lxvk7p9BNuVujjGJ58ECBosu8w8qrkNd B7HKmnEunE1dpPjeIs/tRxzEmyRDxKFkZOoFBHkCa5AKm+4egXYhxWSMxOQkA904lJl0 S/pEGJH/iLmhfYgnxlM8g5K8htI7oenhxWa/7JArmxl38AZ26ezhOi3YPNxT9uEDf3P6 3qHKP74V/aAIMr/QdYmeTj3MStZJp/Se2spWTxSoYBqCwwFHFYEbBZi1dSETi8Z+006p NSAoNa2hWMyRVvVRVp1X9wvOFq4UHfUZ5s0pI3LKgukTTeA/vlVl5hX1O/DssnW9RaC+ nSyg== 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=M9+zsJ7z9WwK/dGWrZodx5Civohk1cvnYUrMU7t5GYU=; b=tJM6xCxs89TpZVJEMm5CTh6yV6koyAau6xTIB8PqnclcY0Lebo5zFDWNAh4+pwKaPM w5hxj4XJTZW1AxB807Wogeu5iFpqSijG+2VXFW+eVm82T7TpWaR3fiB7HNvp7ke4rGV2 FG4iYC2J2mmk0OnCn4LKcSoyrBIPbPuW1waOmmjbEXWqbSjbVfD8oAYUQzOlI1qb8qH2 kxmMK4HWloIs3SNu7b068tse/k/RSeNelce8S0fLVnZpXUCUQKhMdb6fTvoOIXsQS8mM 9iipO+X/JYm/kpYSdxtoTVE5eS1McQe3VLqYYmueqmA5gXujq1tY/Ms/XqfFovJjibXG gG3w== X-Gm-Message-State: AOAM5303XAGLXFda4AHgaz4ReauiGz2yhXJsA9m9Wnktxw+R0/ssv6rH t04MIu1t+y9lKUNyJBba2dBY0w== X-Received: by 2002:a5d:5483:: with SMTP id h3mr3865295wrv.10.1591699434395; Tue, 09 Jun 2020 03:43:54 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a1sm2405807wmj.29.2020.06.09.03.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 03:43:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E57201FF9F; Tue, 9 Jun 2020 11:38:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 17/17] scripts/coverity-scan: Remove flex/bison packages Date: Tue, 9 Jun 2020 11:38:09 +0100 Message-Id: <20200609103809.23443-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200609103809.23443-1-alex.bennee@linaro.org> References: <20200609103809.23443-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Claudio Fontana Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé QEMU does not use flex/bison packages. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Claudio Fontana Signed-off-by: Alex Bennée Message-Id: <20200515163029.12917-6-philmd@redhat.com> -- 2.20.1 diff --git a/scripts/coverity-scan/coverity-scan.docker b/scripts/coverity-scan/coverity-scan.docker index a4f64d12834..ad4d64c0f81 100644 --- a/scripts/coverity-scan/coverity-scan.docker +++ b/scripts/coverity-scan/coverity-scan.docker @@ -19,7 +19,6 @@ FROM fedora:30 ENV PACKAGES \ alsa-lib-devel \ bc \ - bison \ brlapi-devel \ bzip2 \ bzip2-devel \ @@ -30,7 +29,6 @@ ENV PACKAGES \ dbus-daemon \ device-mapper-multipath-devel \ findutils \ - flex \ gcc \ gcc-c++ \ gettext \