From nobody Tue Feb 10 15:28:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.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 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529005644234229.10769529334254; Thu, 14 Jun 2018 12:47:24 -0700 (PDT) Received: from localhost ([::1]:42433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTYDI-0002Do-CD for importer@patchew.org; Thu, 14 Jun 2018 15:47:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTXyt-0007EL-CI for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:32:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTXyr-00063P-4u for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:32:27 -0400 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]:35331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTXyq-000632-V4 for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:32:25 -0400 Received: by mail-pl0-x243.google.com with SMTP id k1-v6so4083772plt.2 for ; Thu, 14 Jun 2018 12:32:24 -0700 (PDT) Received: from cloudburst.twiddle.net (rrcs-173-198-77-219.west.biz.rr.com. [173.198.77.219]) by smtp.gmail.com with ESMTPSA id x24-v6sm11532184pfj.104.2018.06.14.12.32.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jun 2018 12:32:22 -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; bh=JoshgcfdaBoqxlZIOPmVeCLy50LoSRMC+doKT4JGKHw=; b=iAp7QIBE+m89xfSn3ObHBb3af3p6IeSknm8PyWzITN8V8PaN7bui/XtOWWEG9abQiR 1c8gjVOVKXqiArS5Mqe1yIEwpPGYZgGabHhRmZ+S/rTM83pF0CdnPBbj8OmGalpG4YeG 6Eh8FN1C7q13WqIx32HA37NGZtyjrW0UJDreg= 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; bh=JoshgcfdaBoqxlZIOPmVeCLy50LoSRMC+doKT4JGKHw=; b=t1JeEap+E2oIVbqbP98iRCTb9raSUWd2UhG04sXhghErFP1ZRG+r7ccuqYf+JyU1Fl ggoYj+wh2qUBDpDWspT4VnYjyX00UzF9tefmZSzgxerJGcWO6hKwGNfRMbXAa5VvntUh MB2HjkTGf8S9cWz1ONZ7Qra38z/wqVeH0RG1QrCm/1uevmGXcOBmCRcWkrBOt9b7n5ar FaVvaihY25YJNNkp2ZYLBR28dK06pM23d8ESp7ezojqd3ppM0oBa26Wt8qTAyuqYbXMP MI2fuzz8ExgrLGKcxW4zbACvaq6N7Ijs47hWwbzN1IAW5XFhpKClwdHKBnwPF4LvdFod kXWA== X-Gm-Message-State: APt69E0tV639E1Jvg2Q9PaJ06A6v2dJgaD4OLFuo94SoX9wXtPRwmI9x 2cJ9emzamw6UmCQUMt+CbX9VtBN+EpU= X-Google-Smtp-Source: ADUXVKISmwb2irSCkEu0JEhSZhEac9tdsp+gexcnLK1XnibMm4uQxr7AUgdUD+htx0tRu3ZCrS4Wog== X-Received: by 2002:a17:902:b488:: with SMTP id y8-v6mr4373354plr.157.1529004743808; Thu, 14 Jun 2018 12:32:23 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 14 Jun 2018 09:31:46 -1000 Message-Id: <20180614193147.29680-18-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180614193147.29680-1-richard.henderson@linaro.org> References: <20180614193147.29680-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::243 Subject: [Qemu-devel] [PULL 17/18] translate-all: remove tb_lock mention from cpu_restore_state_from_tb X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, "Emilio G. Cota" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: "Emilio G. Cota" tb_lock was needed when the function did retranslation. However, since fca8a500d519 ("tcg: Save insn data and use it in cpu_restore_state_from_tb") we don't do retranslation. Get rid of the comment. Reviewed-by: Richard Henderson Signed-off-by: Emilio G. Cota Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 1 - 1 file changed, 1 deletion(-) diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 41fbf1055a..dc36349fc7 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -355,7 +355,6 @@ static int encode_search(TranslationBlock *tb, uint8_t = *block) } =20 /* The cpu state corresponding to 'searched_pc' is restored. - * Called with tb_lock held. * When reset_icount is true, current TB will be interrupted and * icount should be recalculated. */ --=20 2.17.1