Message ID | 20241109120901.3295995-19-mjt@tls.msk.ru |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp2118903wru; Sat, 9 Nov 2024 04:24:18 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUuvmmnA0Uj4CCnEv8botiog75zqTElfTFPY0/Tr97KryhbnBj16uMRtpRKHKhJLapFVz5Agg==@linaro.org X-Google-Smtp-Source: AGHT+IF7A+CecNPcF5t9RkXQljVudOguF1Y6NfpMgQla1Ju2WhEDLnmkWNf9BLaVsDJXE6xP2545 X-Received: by 2002:a05:620a:1a93:b0:7b1:481f:b89c with SMTP id af79cd13be357-7b331ebfd07mr682330085a.35.1731155058700; Sat, 09 Nov 2024 04:24:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731155058; cv=none; d=google.com; s=arc-20240605; b=Et0olNx5rJYYku8wfSp+V14qzjqmqoli9FV06MovbeGxyimdvcGsBLD1dvNJcaJSEG 9aHywsmG9OhNQ5T0xfSI1zXwqQ0hvhlI5Smy5hKq+QgcFJFXsCyjQYWyfZ0zNKeppbZQ b78dSLSnciwJouLDeIK/+yPvhpD4wgLfRDWNZ0hqbF9TU/4yW3+G7LuI2r77yuVZxMSf jKu+9YfCd1Vt3zR3JwbeltwIMH+33e/NQEph6AQ56t/HXl7XlqZ3r+F9Scjrd+S77RV7 o03qd0jsUxrFy6HGlgWeFzLnN+4e7qH8gtwdZzvrqNkucd1GJV+Q5WWb6L67VuHTIM0k uZMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from; bh=q3LEknbivOox5mRQ38fZ/NaUmAVKaaDD+5ZKW+gZ01Y=; fh=2zYmPS5+8I9faIpgPHByls7BY9F364PthA4FrZU1Hko=; b=XfsJc0eVDhMk28iFvZtKwM8J1KdH1gP0t8WNMjd2cUptM0B8J9TiKO5Bo3WMKfZmjj tMng7UL0ENEg4wQi4E/FC4oUxyHgVCROwPvb9aixLaur4GgiNOFq43K0iUqbF4AISiPp X/vyqP+1Sp+zLWVuJoLJnE/p8UXtxWMfMrsYXtRx0osvulwx7xSiVt+qWmy+Pefy+iVR Zgqd/smupucdpmQI8r60Qqvm/k0Qm+2RIXICwJfgTpEcLJS7jyS6BoFpOQA0U8vLzLzL ev/uIvq6JAMitWiPmbdOQEwFtne87quS9e8Z1Yfn30RVxqgg28QNfJHU0OTCUrahp61U c9CQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b32ac3de22si643637885a.3.2024.11.09.04.24.18 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Nov 2024 04:24:18 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1t9kPk-0006c3-88; Sat, 09 Nov 2024 07:18:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mjt@tls.msk.ru>) id 1t9kOe-0005ER-Cz; Sat, 09 Nov 2024 07:16:58 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mjt@tls.msk.ru>) id 1t9kOc-0005CP-0W; Sat, 09 Nov 2024 07:16:55 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id D0598A163C; Sat, 9 Nov 2024 15:08:07 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 95B8D167FC3; Sat, 9 Nov 2024 15:09:02 +0300 (MSK) Received: (nullmailer pid 3296185 invoked by uid 1000); Sat, 09 Nov 2024 12:09:01 -0000 From: Michael Tokarev <mjt@tls.msk.ru> To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, Robbin Ehn <rehn@rivosinc.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Michael Tokarev <mjt@tls.msk.ru> Subject: [Stable-9.1.2 19/58] plugins: fix qemu_plugin_reset Date: Sat, 9 Nov 2024 15:08:20 +0300 Message-Id: <20241109120901.3295995-19-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.5 In-Reply-To: <qemu-stable-9.1.2-20241109150812@cover.tls.msk.ru> References: <qemu-stable-9.1.2-20241109150812@cover.tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c index ec89a085b4..99643dd960 100644 --- a/accel/tcg/plugin-gen.c +++ b/accel/tcg/plugin-gen.c @@ -468,4 +468,8 @@ void plugin_gen_tb_end(CPUState *cpu, size_t num_insns) /* inject the instrumentation at the appropriate places */ plugin_gen_inject(ptb); + + /* reset plugin translation state (plugin_tb is reused between blocks) */ + tcg_ctx->plugin_db = NULL; + tcg_ctx->plugin_insn = NULL; }