From nobody Thu Apr 18 14:55:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1637701355899856.7985173249543; Tue, 23 Nov 2021 13:02:35 -0800 (PST) Received: from localhost ([::1]:43640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpcvx-0001KO-Ox for importer@patchew.org; Tue, 23 Nov 2021 16:02:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpcrB-0001wD-FT for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:37 -0500 Received: from [2a00:1450:4864:20::42b] (port=35618 helo=mail-wr1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpcrA-0006Lj-1d for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:37 -0500 Received: by mail-wr1-x42b.google.com with SMTP id i5so222326wrb.2 for ; Tue, 23 Nov 2021 12:57:35 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m7sm2034505wml.38.2021.11.23.12.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 12:57:30 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3EBBA1FF98; Tue, 23 Nov 2021 20:57:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+CtME3cCcCTfQNWLUjavY+LyZs3nohyg9oUPT9ltWGo=; b=CXIpHZEUyJu+7lRwYOkaIBK+PO4JwS3fDfZLL5wryj7f4qc/1xTdo3PnQvMkO6a0jb IJBzmd2v/MaJh75hsSN/VxaJsGgKfvbIMfCDt9xkN0lUpxtE5bBhS2rF+yhLe8LDEh4X 9s1fAYBy4SaDMFG5bE1niVsbsHqGShD+QyaXqvmTZWIyRgXkz8b5703qP7dtLiKW23ua FwWIevwxgXlWTeXwzwhRslLKd0EgLJuL2By3Idex3jz4cfkI18eqwfcOoGdlx8+XjODD If8RnpvQ3KGtR1eru950wzblldmXLoYNiT257oQFgIHyGMxHukNYubM5pSCMrxLnwjwa YvSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+CtME3cCcCTfQNWLUjavY+LyZs3nohyg9oUPT9ltWGo=; b=dx8zcNBvBa7ZbE+upJdxAiCiq9s/pXZK0bfw2cKWrVkaVDoAkGpwTHQYBIYN/s9KAv XPGdSvHLxwxkaqZvsBTw5cJx+JxH0Z0ZBbgkI8dM7hvplfekbIS6gCvEWGIHh40vPAaI uTJAw5rnOwt49IvIbcSppYVrwy3u4t5ejM/fX/D7Pco05cwe/BXon4aX4JvbmJy7/879 DfkIZZYz54iRiKCVTltTFPsnByL/zysjuU5R00DmYU8ApUG+QIjVWb/ChsPdajNJnkth S05OPvYK2wde55LEcA3cMA4spUz0t2ptK7jsoMhTXk9ufQkzMc4NDkc/eASpvueK39xG y3WA== X-Gm-Message-State: AOAM533i1M5eB54b5baN1HC4IdpbdJh5Ep3tCLQE5QPZc++WZLEqa7np eo/A0DECClqCIrIh/vRM10wKHA== X-Google-Smtp-Source: ABdhPJw2YWTQE5rEIBh6xpKmqXMOor/6c7FAwIRGMRG+DNQhc5WXGr79FcFXGK3omHD5gQFUtdZl2w== X-Received: by 2002:a5d:4523:: with SMTP id j3mr11650367wra.185.1637701054095; Tue, 23 Nov 2021 12:57:34 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 1/7] softmmu: fix watchpoint-interrupt races Date: Tue, 23 Nov 2021 20:57:23 +0000 Message-Id: <20211123205729.2205806-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211123205729.2205806-1-alex.bennee@linaro.org> References: <20211123205729.2205806-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42b (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, David Hildenbrand , Richard Henderson , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, Pavel Dovgalyuk , =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1637701356450100001 From: Pavel Dovgalyuk Watchpoint may be processed in two phases. First one is detecting the instruction with target memory access. And the second one is executing only one instruction and setting the debug interrupt flag. Hardware interrupts can break this sequence when they happen after the first watchpoint phase. This patch postpones the interrupt request until watchpoint is processed. Signed-off-by: Pavel Dovgalyuk Reviewed-by: Alex Benn=C3=A9e Reviewed-by: David Hildenbrand Message-Id: <163662451431.125458.14945698834107669531.stgit@pasha-ThinkPad-= X280> Signed-off-by: Alex Benn=C3=A9e --- accel/tcg/cpu-exec.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 2d14d02f6c..9cb892e326 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -742,6 +742,11 @@ static inline bool cpu_handle_interrupt(CPUState *cpu, qemu_mutex_unlock_iothread(); return true; } + /* Process watchpoints first, or interrupts will ruin everything */ + if (cpu->watchpoint_hit) { + qemu_mutex_unlock_iothread(); + return false; + } #if !defined(CONFIG_USER_ONLY) if (replay_mode =3D=3D REPLAY_MODE_PLAY && !replay_has_interrupt()= ) { /* Do nothing */ --=20 2.30.2 From nobody Thu Apr 18 14:55:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1637701161440900.71870063246; Tue, 23 Nov 2021 12:59:21 -0800 (PST) Received: from localhost ([::1]:36080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpcsp-0004aV-7H for importer@patchew.org; Tue, 23 Nov 2021 15:59:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpcrD-0001zY-61 for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:39 -0500 Received: from [2a00:1450:4864:20::431] (port=43859 helo=mail-wr1-x431.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpcrA-0006Mb-DX for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:38 -0500 Received: by mail-wr1-x431.google.com with SMTP id v11so164270wrw.10 for ; Tue, 23 Nov 2021 12:57:36 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m14sm17750665wrp.28.2021.11.23.12.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 12:57:30 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4E73F1FF99; Tue, 23 Nov 2021 20:57:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kYpaKzAArYGilOIi+XPhEtI4zXEl1Bkmm+GbL7na2Ng=; b=ZqUV0jPW3EWGWO8rhnFWveZO57PcmH6O8pHaxEqI1S+GqX1Ijj8CpvJ9PYXKpk2WmM Xiog2joRtpBofXixQNPIe6F94ebYT++STKs1ca3e2Gya9Unr2ddUqgFHDSMNppuzCbay gt6HhEMIFU14yuzqDUSeYWHSwQAUkqPB2qOheaTRblJsvMlmcZfNj9EkqjtS4ap7u6lC b9nDtjymIVVXsJAPhsWnsjPZMAdNvAvBql/h2wdxoj6VZspaZz1ruO9H7kVayUAOFmXh HSkYJmYbcHno3JAHUHUeB7g6yba+nR9tGVZ/V+xiDfIcmAL/iz0T6Arx1coiJBO+l9o7 adJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kYpaKzAArYGilOIi+XPhEtI4zXEl1Bkmm+GbL7na2Ng=; b=RIcH3KW/TsPgVxxNgmwWZ8Zq3NN2M0AObUgEdmAKrk+l5YlSVrjrLAOkleazqiKsw9 b/Js/g9j6q9PCdp1my76rYtWbrsHeKz1TlGV76qGOh2V6HGaTnrEvaB0aOCGcUOUjwQO 52/v5QVjKRwfJBkc8JjEWjQiQnv3TMK9VuRJAL5ABxtNu82gHRKuYuNy4u67ywF1EQfd bFGBMuyFwgF0G11NGZohH9zgT+9n9i18mCaKfTraecZsI461M5txVT2RT5xPUbqasoPZ dFsc/KZnQJRPIsWacxMzC+caOHuLbeeylJtLAb84kJTPu0aCukYTWengJ4KoLIfSNtpH 9p/w== X-Gm-Message-State: AOAM53252/ABAvIAY81ksZtUz1uGmyT2G2Q24Li5wMQO9DQ5lySJJqFx CLWE2fgm53ufsgpQyep95+Wo+w== X-Google-Smtp-Source: ABdhPJzG3S/NnbJY7iB8iAnGobaThzi8f39Aovs51/cFB2dL04aR4ancdKudnWIKAcWbujLbB/F11A== X-Received: by 2002:adf:8008:: with SMTP id 8mr10895564wrk.188.1637701055078; Tue, 23 Nov 2021 12:57:35 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/7] accel/tcg: suppress IRQ check for special TBs Date: Tue, 23 Nov 2021 20:57:24 +0000 Message-Id: <20211123205729.2205806-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211123205729.2205806-1-alex.bennee@linaro.org> References: <20211123205729.2205806-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::431 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, Richard Henderson , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, Pavel Dovgalyuk , =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1637701163973100001 Generally when we set cpu->cflags_next_tb it is because we want to carefully control the execution of the next TB. Currently there is a race that causes cflags_next_tb to get ignored if an IRQ is processed before we execute any actual instructions. To avoid this we introduce a new compiler flag: CF_NOIRQ to suppress this check in the generated code so we know we will definitely execute the next block. Signed-off-by: Alex Benn=C3=A9e Cc: Pavel Dovgalyuk Fixes: https://gitlab.com/qemu-project/qemu/-/issues/245 --- include/exec/exec-all.h | 1 + include/exec/gen-icount.h | 21 +++++++++++++++++---- accel/tcg/cpu-exec.c | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 4 deletions(-) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 6bb2a0f7ec..35d8e93976 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -503,6 +503,7 @@ struct TranslationBlock { #define CF_USE_ICOUNT 0x00020000 #define CF_INVALID 0x00040000 /* TB is stale. Set with @jmp_lock hel= d */ #define CF_PARALLEL 0x00080000 /* Generate code for a parallel contex= t */ +#define CF_NOIRQ 0x00100000 /* Generate an uninterruptible TB */ #define CF_CLUSTER_MASK 0xff000000 /* Top 8 bits are cluster ID */ #define CF_CLUSTER_SHIFT 24 =20 diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 610cba58fe..c57204ddad 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -21,7 +21,6 @@ static inline void gen_tb_start(const TranslationBlock *t= b) { TCGv_i32 count; =20 - tcg_ctx->exitreq_label =3D gen_new_label(); if (tb_cflags(tb) & CF_USE_ICOUNT) { count =3D tcg_temp_local_new_i32(); } else { @@ -42,7 +41,19 @@ static inline void gen_tb_start(const TranslationBlock *= tb) icount_start_insn =3D tcg_last_op(); } =20 - tcg_gen_brcondi_i32(TCG_COND_LT, count, 0, tcg_ctx->exitreq_label); + /* + * Emit the check against icount_decr.u32 to see if we should exit + * unless we suppress the check with CF_NOIRQ. If we are using + * icount and have suppressed interruption the higher level code + * should have ensured we don't run more instructions than the + * budget. + */ + if (tb_cflags(tb) & CF_NOIRQ) { + tcg_ctx->exitreq_label =3D NULL; + } else { + tcg_ctx->exitreq_label =3D gen_new_label(); + tcg_gen_brcondi_i32(TCG_COND_LT, count, 0, tcg_ctx->exitreq_label); + } =20 if (tb_cflags(tb) & CF_USE_ICOUNT) { tcg_gen_st16_i32(count, cpu_env, @@ -74,8 +85,10 @@ static inline void gen_tb_end(const TranslationBlock *tb= , int num_insns) tcgv_i32_arg(tcg_constant_i32(num_insns))); } =20 - gen_set_label(tcg_ctx->exitreq_label); - tcg_gen_exit_tb(tb, TB_EXIT_REQUESTED); + if (tcg_ctx->exitreq_label) { + gen_set_label(tcg_ctx->exitreq_label); + tcg_gen_exit_tb(tb, TB_EXIT_REQUESTED); + } } =20 #endif diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 9cb892e326..9e3ed42ceb 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -721,6 +721,15 @@ static inline bool need_replay_interrupt(int interrupt= _request) static inline bool cpu_handle_interrupt(CPUState *cpu, TranslationBlock **last_tb) { + /* + * If we have special cflags lets not get distracted with IRQs. We + * shall exit the loop as soon as the next TB completes what it + * needs to do. + */ + if (cpu->cflags_next_tb !=3D -1) { + return false; + } + /* Clear the interrupt flag now since we're processing * cpu->interrupt_request and cpu->exit_request. * Ensure zeroing happens before reading cpu->exit_request or @@ -954,11 +963,16 @@ int cpu_exec(CPUState *cpu) * after-access watchpoints. Since this request should never * have CF_INVALID set, -1 is a convenient invalid value that * does not require tcg headers for cpu_common_reset. + * + * As we don't want this special TB being interrupted by + * some sort of asynchronous event we apply CF_NOIRQ to + * disable the usual event checking. */ cflags =3D cpu->cflags_next_tb; if (cflags =3D=3D -1) { cflags =3D curr_cflags(cpu); } else { + cflags |=3D CF_NOIRQ; cpu->cflags_next_tb =3D -1; } =20 --=20 2.30.2 From nobody Thu Apr 18 14:55:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1637701485316394.54701581385484; Tue, 23 Nov 2021 13:04:45 -0800 (PST) Received: from localhost ([::1]:48178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpcy3-0004NL-8d for importer@patchew.org; Tue, 23 Nov 2021 16:04:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpcrD-00020o-H8 for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:39 -0500 Received: from [2a00:1450:4864:20::429] (port=39928 helo=mail-wr1-x429.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpcrC-0006NV-4O for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:39 -0500 Received: by mail-wr1-x429.google.com with SMTP id a18so193593wrn.6 for ; Tue, 23 Nov 2021 12:57:37 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h7sm12498573wrt.64.2021.11.23.12.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 12:57:30 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 643441FF9A; Tue, 23 Nov 2021 20:57:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=005IHjqRWRJJaQave6epZYUIKBv/Z2a1tVz3K5hRNcs=; b=c5+qjBgp/zfDS1P6GO9Fi9ryK0mupmn6f9SqtQWDNJa/g7MgbiQGl1PHxu+GpBVXdn gXvUC+ADiE2xawH+2J8UZj4TvoDgbd5ZIBpNFGfsEkcl28J/nj5OggGPImOjSZTEicsa gu7dS5VjQaQbHup23MIATaU4gwYKcVcM2iQ3+XdPVSPB1WBKjZvTYtSpWfzQa4G0ADha 58GTnABO7BGWQQl2awt3rYDbLbGh9hNrycEhjFYkRpquoAFPyaeNPOWSupXi/bcckobY +qam/Cn2oSjnm6OFclEJ6ufBep3gU2h/JN0fnUwpGZ0sDV8JKJBLLamiFZgURWg7NFSd fkcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=005IHjqRWRJJaQave6epZYUIKBv/Z2a1tVz3K5hRNcs=; b=Y+jRvO64qcwJVh/BgIsEAX+WBisY75NAqtE+AhpEJFzSSUdRG/Wtz9IbZ/8d5k49d9 aXO0CH22ORdDkngrKZb/KJFD4bnjd844XbpQvgNiW/zDSR35kV3pzESXI+ATMpYsF6HU Hw8cNGidE4rIWe20mieUhY8qsZflz1KKdxD24W7lo92DdwJET361pDoEpoh746liPE0L o/pNGbn/5xxZgHONr9K/MLlFjq7WUhI/HiqyMAUAavuK0Shvp43baVoDS6ZqOj1Zzu+W dR7uFgupzYDi+9+m2QtbvxCptrQiADB+6oYy3QSxIE8lDzehHStUuoZqXFM28fOyBS+E iviQ== X-Gm-Message-State: AOAM530NgsK2kah5RfaSDTSKg1Iq7uYzU7y7r6KU+sR34osV/tByTLQr xGk+W+JLZZUJfW2PqAXlMyUuow== X-Google-Smtp-Source: ABdhPJw2bcYyLmKUfSpDz0r7tPRyJYoQwkNgsQ77PbONQge6131aX3D5tL1kh2ZcKtYxiHSJe1yK+g== X-Received: by 2002:a5d:47c7:: with SMTP id o7mr11809126wrc.204.1637701056896; Tue, 23 Nov 2021 12:57:36 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 3/7] tests/avocado: fix tcg_plugin mem access count test Date: Tue, 23 Nov 2021 20:57:25 +0000 Message-Id: <20211123205729.2205806-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211123205729.2205806-1-alex.bennee@linaro.org> References: <20211123205729.2205806-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::429 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x429.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, Beraldo Leal , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , f4bug@amsat.org, Wainer dos Santos Moschetta , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, Mahmoud Mandour , Alexandre Iooss , =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1637701487396100001 When we cleaned up argument handling the test was missed. Fixes: 5ae589faad ("tests/plugins/mem: introduce "track" arg and make args = not positional") Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- tests/avocado/tcg_plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/avocado/tcg_plugins.py b/tests/avocado/tcg_plugins.py index 9ca1515c3b..642d2e49e3 100644 --- a/tests/avocado/tcg_plugins.py +++ b/tests/avocado/tcg_plugins.py @@ -131,7 +131,7 @@ def test_aarch64_virt_mem_icount(self): suffix=3D".log") =20 self.run_vm(kernel_path, kernel_command_line, - "tests/plugin/libmem.so,arg=3Dboth", plugin_log.name, + "tests/plugin/libmem.so,inline=3Dtrue,callback=3Dtrue"= , plugin_log.name, console_pattern, args=3D('-icount', 'shift=3D1')) =20 --=20 2.30.2 From nobody Thu Apr 18 14:55:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 163770115575665.05303924609257; Tue, 23 Nov 2021 12:59:15 -0800 (PST) Received: from localhost ([::1]:35890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpcsj-0004SF-Mc for importer@patchew.org; Tue, 23 Nov 2021 15:59:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpcr9-0001up-RI for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:35 -0500 Received: from [2a00:1450:4864:20::32a] (port=46596 helo=mail-wm1-x32a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpcr7-0006LM-LF for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:35 -0500 Received: by mail-wm1-x32a.google.com with SMTP id c6-20020a05600c0ac600b0033c3aedd30aso244088wmr.5 for ; Tue, 23 Nov 2021 12:57:33 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t8sm2778157wmq.32.2021.11.23.12.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 12:57:30 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6F8AD1FF9B; Tue, 23 Nov 2021 20:57:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YmANYK88aPtNwGm4O/0eNlrDR7OUnbvfD2pP6xbhw2g=; b=VfB/tJuwYmg2pfvAon0sRPac9bt2MqUyzl6ij/tMXSfuaCcC79AU67a838nZFMh9/x 5f4YMx4d8SmhfsIPv77fzSmrPTvpPMDoEAtPv6Biu3Ep/kjGWMa7VTx+r0nAhOkp5nZ+ 5p3ci0UENAPJcVLYXxOQEPZ4KeyYC9tONzqZTOaKm4f3NknWOs4EGl3bxDOU1li1/1Co zpnYbnLeJJsA2X84oowlN8aGMd0kjQyxYOkDMau1cEfBKxi9ocUOuiUkyXZ+cD5kDE2L cMPvsXi+1dmUuTB+LLfNdNX+UHiNmJYMUtGO3BiufDaAZcrE2iTTnBfnXZEcfiWs4qVR BOhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YmANYK88aPtNwGm4O/0eNlrDR7OUnbvfD2pP6xbhw2g=; b=SzM4JPt6uMtO+sHaDdV/C6o5kTMceyfKFQQiGExJBadKdG2CYIa+N/uDhrWf7v1oVU g82y7Y3RqfU389rbdH8oWCOocnQwiXhBL5Q61KO/gYDMEYzzYtiPXRrR9YaxeXFBHOkl VnjVKkRQsyy6l8c/JOfeejsbwS0t3E2wHOIxonv7PUvG/C0PzTG43hcWst3DxIt6Nvc9 jXWYChsx3FRAtbP41bGElwE9ICmV5F0oPO3/1xaqf9bKCMOVI2L9/j4LvQ126Zb7Ucr0 RheADGxxIBeCFUMciLxLJMAlWuQfqiK8WN2J/EPtnC6YNEyfPutPkwEWQwtaSK1rRS2y AS2A== X-Gm-Message-State: AOAM533cYsgP2C89d6xQzUoA5vl+wNTncvjNjVWeID8qUy+oLzV1xdip d+nZza0k1iRdSod78/1E0mP/+A== X-Google-Smtp-Source: ABdhPJxO+mNPN25SyqXrecdo0w9Ah0plAEWdNk6fHuihXBIc267nJ7GPOGC1h4/XbChdPDadW3PeSw== X-Received: by 2002:a7b:c207:: with SMTP id x7mr7255368wmi.108.1637701052131; Tue, 23 Nov 2021 12:57:32 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 4/7] plugins/meson.build: fix linker issue with weird paths Date: Tue, 23 Nov 2021 20:57:26 +0000 Message-Id: <20211123205729.2205806-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211123205729.2205806-1-alex.bennee@linaro.org> References: <20211123205729.2205806-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32a (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, Stefan Weil , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, Mahmoud Mandour , Alexandre Iooss , =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1637701159631100003 Signed-off-by: Alex Benn=C3=A9e Tested-by: Stefan Weil Fixes: https://gitlab.com/qemu-project/qemu/-/issues/712 Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- plugins/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/meson.build b/plugins/meson.build index aeb386ebae..b3de57853b 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -2,9 +2,9 @@ plugin_ldflags =3D [] # Modules need more symbols than just those in plugins/qemu-plugins.symbols if not enable_modules if 'CONFIG_HAS_LD_DYNAMIC_LIST' in config_host - plugin_ldflags =3D ['-Wl,--dynamic-list=3D' + (meson.project_build_roo= t() / 'qemu-plugins-ld.symbols')] + plugin_ldflags =3D ['-Wl,--dynamic-list=3Dqemu-plugins-ld.symbols'] elif 'CONFIG_HAS_LD_EXPORTED_SYMBOLS_LIST' in config_host - plugin_ldflags =3D ['-Wl,-exported_symbols_list,' + (meson.project_bui= ld_root() / 'qemu-plugins-ld64.symbols')] + plugin_ldflags =3D ['-Wl,-exported_symbols_list,qemu-plugins-ld64.symb= ols'] endif endif =20 --=20 2.30.2 From nobody Thu Apr 18 14:55:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 163770135637768.35336621126328; Tue, 23 Nov 2021 13:02:36 -0800 (PST) Received: from localhost ([::1]:43662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpcvy-0001L8-A7 for importer@patchew.org; Tue, 23 Nov 2021 16:02:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpcrF-00026f-ER for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:41 -0500 Received: from [2a00:1450:4864:20::32a] (port=42993 helo=mail-wm1-x32a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpcrD-0006Nf-Qp for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:41 -0500 Received: by mail-wm1-x32a.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so265820wmd.1 for ; Tue, 23 Nov 2021 12:57:39 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k8sm12651400wrn.91.2021.11.23.12.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 12:57:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 851C41FF9C; Tue, 23 Nov 2021 20:57:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SycTkjrDr+1oRjBfcTSdUKJyzjeYOYHJsQB5AU6b3cM=; b=h6VheffYOdocYdpTShecWBrRrd7pMGlluzqm+ZXYEBpryShPP58HEc2sLEB+kzx3gm f2Ch1tPIa2G54ZU+j8iB0ntA7OQCv1of8x25YGjKVhnMnk1xhjt6XJcuNPzlXBN4/TbZ eKzy6g1BFkyFicJR64/iz/kqZK7m/uxMhJ+qv1sHUz1u5aGo/is0AgiqWU2ChikvyulU yU/3VwAYcpxrOIW7bCKRRzUPkKogCJNva0rhqO9S1x7IiOuqt3UCJuqDLMF6z+xPAeeE lWPHepy263DUyToI4fo2m9CcxVc8y/CL5hJCpoT8ni+U5IRkvFt4NyUa4FoBIrVm2pv4 QM9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SycTkjrDr+1oRjBfcTSdUKJyzjeYOYHJsQB5AU6b3cM=; b=QozlJEeYBwAUHRLWY8A6QYKRMhKBgbT7BINhblfrS/tgFFu6u2/PB5XdoGfCDqfv87 C8DRCiedV5YX8Z2+B4VYRI1/Un+pzr5j7DWJ2OrZfcFnDbNNfvo0GYvTe8Mfnx8DGTp6 h7AkuGuBTg212R0WPBb2nKktCDmBza8Lm+9syCy7nmmqUeIqd3YN24tT4PG+JOXpTNL0 SdDtwXR61lNUxg8J7eymhe4ARUszOzk1TWb6BumHtusF6l5p84mAoBnXa8IGf4Z9egj4 Pd8eK1kjyJ/SSvkLI4SorPRHJnHgoMXv4ZzTfSqsccXAIdBbNP8/D9J2FWNUUYBtAi7C fLRw== X-Gm-Message-State: AOAM5334hgfjSgxE7sFYEKL87ejlh+rQs0gZPIiR43Qb/bykKrBdjAkW m4QYMBgSbdnX1noT6r7fXKPWrA== X-Google-Smtp-Source: ABdhPJxuvmWMElVFFkJYOr+nV0MxrlHtkzp94lLWKRzdSEHEnSr/rtX7SRv2sDy/vBRvA6qxJiJvqA== X-Received: by 2002:a05:600c:4f55:: with SMTP id m21mr7354997wmq.68.1637701058555; Tue, 23 Nov 2021 12:57:38 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 5/7] gdbstub: handle a potentially racing TaskState Date: Tue, 23 Nov 2021 20:57:27 +0000 Message-Id: <20211123205729.2205806-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211123205729.2205806-1-alex.bennee@linaro.org> References: <20211123205729.2205806-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32a (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1637701358603100001 When dealing with multi-threaded userspace programs there is a race condition with the addition of cpu->opaque (aka TaskState). This is due to cpu_copy calling cpu_create which updates the global vCPU list. However the task state isn't set until later. This shouldn't be a problem because the new thread can't have executed anything yet but the gdbstub code does liberally iterate through the CPU list in various places. This sticking plaster ensure the not yet fully realized vCPU is given an pid of -1 which should be enough to ensure it doesn't show up anywhere else. In the longer term I think the code that manages the association between vCPUs and attached GDB processes could do with a clean-up and re-factor. Signed-off-by: Alex Benn=C3=A9e Tested-by: Richard Henderson Reviewed-by: Richard Henderson Cc: Richard Henderson Resolves: https://gitlab.com/qemu-project/qemu/-/issues/730 --- gdbstub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdbstub.c b/gdbstub.c index 23baaef40e..141d7bc4ec 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -94,7 +94,7 @@ static inline int cpu_gdb_index(CPUState *cpu) { #if defined(CONFIG_USER_ONLY) TaskState *ts =3D (TaskState *) cpu->opaque; - return ts->ts_tid; + return ts ? ts->ts_tid : -1; #else return cpu->cpu_index + 1; #endif --=20 2.30.2 From nobody Thu Apr 18 14:55:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1637701171364185.9647414838539; Tue, 23 Nov 2021 12:59:31 -0800 (PST) Received: from localhost ([::1]:36892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpcsz-00059a-4L for importer@patchew.org; Tue, 23 Nov 2021 15:59:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpcrI-0002Je-V9 for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:44 -0500 Received: from [2a00:1450:4864:20::42b] (port=42617 helo=mail-wr1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpcrG-0006OE-T2 for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:44 -0500 Received: by mail-wr1-x42b.google.com with SMTP id c4so173794wrd.9 for ; Tue, 23 Nov 2021 12:57:42 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y6sm2187526wma.37.2021.11.23.12.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 12:57:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8FB861FF9D; Tue, 23 Nov 2021 20:57:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tVBYX0xCVJBO6/TWHd6rZqnYoCc7L/iFtDi/gZndAeI=; b=K2rd8A+Fy4kiHDbFxPcg44AivZnyFa0NI+yCg+1qEyLBwoMoBvMi8X/6wuEz/8dMI7 RBZea6gSQBOdtnELgEpA+mREH7wvlpDrvzO0n+cRnBgFCa7Fi1ZjGHejmXMydnfPInt+ CVF17/2jg6VhR210d1yTLvpzskO5JQQ8z530AYzFopEGbzOn6wRDCRQTXtcu4mJwEIPD ChJ53FwFiSnTL1l6jyfLAOUpyfnwMbpbTUIrEqN8+MQnOf+eXyfjLRkN8FJcRPZ8Jege DXo9kIJX5JUURd+1ZJuTSALYiklwd7nW57Kmv1AbCGzoCk92mSWA1oajeIFScAobIPmw T2ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tVBYX0xCVJBO6/TWHd6rZqnYoCc7L/iFtDi/gZndAeI=; b=6tA29arcll9hcyYQiQto/m6EVWlZ6MsY9t2H1iEVKxtNwW14E2DO4l35t2/Q7xo4bY jVPaR0YV/J70juLt+z60qBusntb5i32ESb6JVj+ou5IsrYRWqevBcGCS7x+Mw93EzKJK xLzWuai834M6V0PUkP9AJzcmOOx8LQY4y4rYhyvVP0ghk5tdB6sKCt0DIKNwMi4CATP5 Mo6UodX9wDhRNuhopge4OIRRH8D0eeJrWV6EMJ4i1f2PA/pG/BqnYJLsUpDQ8ur1cDNF cCmXxRHXJHgJkPy+gjOMZZ+93wS9IMh1UGBqWwzSo1u0dQ1JbDZbIatVdauAfh9pV9xP 4jWQ== X-Gm-Message-State: AOAM5331s2mvCb8nkVKL+xrIKuZE7NNe/hAaqjMSoGpcD5Po6ubrA3Ii a6ej3vh61/kGdpE4roDtoS+NvQ== X-Google-Smtp-Source: ABdhPJw5rNZsDK23WH8F57i5t9cGL7xzZrjdgB15K9wVDtYxqNZS62pefo6jywv34fNRbm6iI4JTvQ== X-Received: by 2002:a5d:5850:: with SMTP id i16mr10906620wrf.197.1637701061607; Tue, 23 Nov 2021 12:57:41 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 6/7] MAINTAINERS: Remove me as a reviewer for the build and test/avocado Date: Tue, 23 Nov 2021 20:57:28 +0000 Message-Id: <20211123205729.2205806-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211123205729.2205806-1-alex.bennee@linaro.org> References: <20211123205729.2205806-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42b (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, Beraldo Leal , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , f4bug@amsat.org, Willian Rampazzo , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1637701172105100003 From: Willian Rampazzo Remove me as a reviewer for the Build and test automation and the Integration Testing with the Avocado Framework and add Beraldo Leal. Signed-off-by: Willian Rampazzo Reviewed-by: Beraldo Leal Message-Id: <20211122191124.31620-1-willianr@redhat.com> Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index d3879aa3c1..8f5156bfa7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3469,7 +3469,7 @@ M: Alex Benn=C3=A9e M: Philippe Mathieu-Daud=C3=A9 M: Thomas Huth R: Wainer dos Santos Moschetta -R: Willian Rampazzo +R: Beraldo Leal S: Maintained F: .github/lockdown.yml F: .gitlab-ci.yml @@ -3507,7 +3507,7 @@ W: https://trello.com/b/6Qi1pxVn/avocado-qemu R: Cleber Rosa R: Philippe Mathieu-Daud=C3=A9 R: Wainer dos Santos Moschetta -R: Willian Rampazzo +R: Beraldo Leal S: Odd Fixes F: tests/avocado/ =20 --=20 2.30.2 From nobody Thu Apr 18 14:55:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1637701359178442.321988279047; Tue, 23 Nov 2021 13:02:39 -0800 (PST) Received: from localhost ([::1]:43802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpcw1-0001Ra-3K for importer@patchew.org; Tue, 23 Nov 2021 16:02:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpcrG-000296-88 for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:42 -0500 Received: from [2a00:1450:4864:20::435] (port=40868 helo=mail-wr1-x435.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpcrE-0006Nz-M5 for qemu-devel@nongnu.org; Tue, 23 Nov 2021 15:57:41 -0500 Received: by mail-wr1-x435.google.com with SMTP id r8so187518wra.7 for ; Tue, 23 Nov 2021 12:57:40 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id d7sm12611253wrw.87.2021.11.23.12.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 12:57:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A5EC11FF9E; Tue, 23 Nov 2021 20:57:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uBN1thr4DbsWscceeDNQ1S5QjZOFYsoqFTbRgiy3bvY=; b=UlP7ZU/y+i03eDZtijPjXGrmhtWML1CfJfgROhdb61AYtcBWKoKpiTWoUK3Uns3cSr 6G5rMCLgxT1ksA97MZ0pBprEcHhiO01dqk/+nKbo3VW9fICKbWmEYQyuCftBL2LIip/q /XvSRJBlQb84rkGMfE4MDFLMzhTJg5jR1oHe5Ctkj2BJu5i8rYC3up2T5LEZwuMMKUQh 5tQAdkazx7YGexX/QX1oeozHdXRXzkYwlTO9MRonFx554gLbCTJeXq68Kpk3lQqcg06u dHJUyHTh+HaYce4FBKitbdnCCFTl7s373nab4NSHxwjG9A01D0XSX9voNruboMPBmjto wbGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uBN1thr4DbsWscceeDNQ1S5QjZOFYsoqFTbRgiy3bvY=; b=BU9OnvHpwoDI/yGDGvQkUBczwyGd8Vpi2qZPt7I7MK6xNPsdtjrdlgcGnZxGcS4RS6 hLDDoraPZGbT9xY6Eh6C9aU5dJd4BICGzGhlIfk91RiiK7LlHxXbzy+boLrsSOCZvRcH PTrlU39ERtweGP9QVsCKXsCZ3IvKxRtCL/9pbWcmCVkSL6VipioV8XMtGZocsMskFOHB FwUAl6Xmp9AGVyAYTQUNNxWDUbnbekaeoZQoBkJYIfEK39o5Gh3UKVXUyKQJpw9e5nUU aa9AIzh0f6vszr4exgETFtZDtF74xmrB+Hd+lgPOEMy4D/I5uiNbYSmKhgdzG3fQEODx /eaA== X-Gm-Message-State: AOAM532AHzS0nCFPhDVatWmNnMFLu3HvQ9DLhy2ogiyLyJkC55+HMd8c C8Q4AktwYuGYFIU6PkDdgce/Sw== X-Google-Smtp-Source: ABdhPJxCmLMzthoncX29lC7fD/FDT50mxLTEfmKcYKrVsk1a1CWz3DQSW5WSjvPAWwz8ko8qxify3A== X-Received: by 2002:a5d:6085:: with SMTP id w5mr10481928wrt.122.1637701059344; Tue, 23 Nov 2021 12:57:39 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 7/7] MAINTAINERS: Add section for Aarch64 GitLab custom runner Date: Tue, 23 Nov 2021 20:57:29 +0000 Message-Id: <20211123205729.2205806-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211123205729.2205806-1-alex.bennee@linaro.org> References: <20211123205729.2205806-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::435 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1637701360093100003 From: Philippe Mathieu-Daud=C3=A9 Add a MAINTAINERS section to cover the GitLab YAML config file containing the jobs run on the custom runner sponsored by the Works On Arm project [*]. [*] https://developer.arm.com/solutions/infrastructure/works-on-arm Suggested-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Alex Benn=C3=A9e Message-Id: <20211116163226.2719320-1-f4bug@amsat.org> --- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8f5156bfa7..006a2293ba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3511,6 +3511,12 @@ R: Beraldo Leal S: Odd Fixes F: tests/avocado/ =20 +GitLab custom runner (Works On Arm Sponsored) +M: Alex Benn=C3=A9e +M: Philippe Mathieu-Daud=C3=A9 +S: Maintained +F: .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml + Documentation ------------- Build system architecture --=20 2.30.2