Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0756C606A32C for ; Mon, 30 Nov 2026 13:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=T0D7pvv4 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xY1EK-0001wi-R4; Mon, 30 Nov 2026 08:15:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xY1EF-0001uP-VV for qemu-devel@nongnu.org; Mon, 30 Nov 2026 08:15:36 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xY1ED-0005Nl-RN for qemu-devel@nongnu.org; Mon, 30 Nov 2026 08:15:35 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4b79502c27aso104755305e9.1 for ; Mon, 30 Nov 2026 05:15:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796044532; x=1796649332; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=mdr/eSf3mKpnLYw9/DIuCatAfzpEGmkekTVq7NzhGwE=; b=T0D7pvv4djFwbbqQBMuy7aKdZMt/bB6Ce5etwG+eSSfiJTjy2/tqWDYkVwVGrf1zZH Llq7b9mQuh2MimfJ8WDSSTmRhl3MilADmbg3dDfd4hfft4I8pKqzTSgrrmh0JSgf+ESt dakeA3tfWE6jaAJGfALyhM4q9O2smEEd4ruScAdRhPBprsOF31RwY1uljbj+quwaiTk6 iiNDtHU6sMvTfM7zzKpQLllguSdrvB19cmIafvBr4fILRgSivy3CyWtxY/AwZM7mEJuf 74eKLKFo4/iKGTS4uGDndpR3gIlFskDtlcNdnG3oOq9U+qaF0RO5L25fo2hJduubJQe0 Cwww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796044532; x=1796649332; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=mdr/eSf3mKpnLYw9/DIuCatAfzpEGmkekTVq7NzhGwE=; b=GIOYHsbAgcniZWixKJ/Y0cTHnh2rLMEWFb1+kVB6t03eerutgKR0Gx6zNxGjlfN+3l kh7d9yq34r8F0qVFKxIXc1+Sg8tPfLxhUH6c2ufdy5mYvHNdgGEAaFucj2QAld1GTo6q hRJc9RnkZLbxxwBe2pdAwlE9dtwhRt8K6EHpFb3G36ibxqs/KYM4gsAWcQwATwhIMJDU zSsQqEZEjmrxWPGLimTb+tpb7UxsyxTTGrYDkrLE1bsQAELKm6PqoSrwLRYqkjFs+Em6 Y6OIGxq4ebzPfXElQ5jzARfiu+YwcNNNCk/LLgdvvZ6PLxny1eSaS++/MegFd51z6tGK F6ZA== X-Gm-Message-State: APuU4Z8uOKN0dPq8/J0F1LDNdzQ9TTHul00Qqxp7ZPofNlaXDXS0kpsl 8VKVgKLr0Jczv9N7PjQVHkET+A7cj5j8Dx+d0Nhg4KcKNHHJkCI4Du/K5JVTgLWJ5Sc= X-Gm-Gg: AZFdTZdZuAxCwtDafPuXQygeSKQT6GJBuSORoZFwezFXpn65snU/bHYziPKcIA4SD9x poIe99Y0VlfSuP/5ekqV9qkd91p1Z0mRk7XekyJeKIcXaPJzCMTItpJiGatkxlQQzgRtI1YMtem 6QTlIV8gniWOEZMlwNB+cJQ77yxD4ZcZ0yz9XSMfDlO4/ErYjk+pi+nnyXNdsLsxFIP40eWS9g/ dsX+UpIhQFRZuxrwbmBSGb99202Lfv1j/CapLrdIsYXA/0zDWH5qALDvDddzNlwDysk3+aXy9TB mRfVmjHhSxlSqlPGhviwzmzdzi+IUfDd9IiYgAxlLBKNqQPu5YnTlm8ZacwOZWibLSkWsIq/Nvc poEsSfbekbI4Q3cQI4gUVkF4dBHHZOwt453t0oe7KU/yB+NivBvCHU7xycA+Mw+pY3EvLGhv07N OP93SVV/ZT0sZ02VqrIqXXc1eZsv+6DnqrHtsAQGYhbGLVAaU99/MIfRHDEx0yiVNVQ1GkB0qXA s6XDHIKJacAaFDL4zY8kcSfB6MPtALqhdB4zFQwbuG/+/suZRA1sZ1o0Swa/enqCND2oikWOyEh gbCzVHXogZaHe89hG3oXP8FwNTKU X-Received: by 2002:a05:600c:848d:b0:4a4:3a2d:15da with SMTP id 5b1f17b1804b1-4bb88812026mr632557095e9.15.1796044531840; Mon, 30 Nov 2026 05:15:31 -0800 (PST) Received: from draig.lan ([185.124.0.158]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb906cdcc1sm590401245e9.2.2026.11.30.05.15.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 05:15:29 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id EADDA5FF85; Mon, 30 Nov 2026 13:15:24 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini Subject: [PULL 7/8] accel/tcg: update stale comment for cpu_io_recompile Date: Mon, 30 Nov 2026 13:15:22 +0000 Message-ID: <20261130131524.35590-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261130131524.35590-1-alex.bennee@linaro.org> References: <20261130131524.35590-1-alex.bennee@linaro.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 since 18a536f1f8d6 ("accel/tcg: Always require can_do_io") we always trigger a recompile when we detect i/o mid-block. Update the comment to reflect that. Fixes: 18a536f1f8d6 ("accel/tcg: Always require can_do_io") Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20261126143607.2374676-8-alex.bennee@linaro.org> Signed-off-by: Alex Bennée diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index ea8257935ed..2918aa890ae 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -566,8 +566,10 @@ void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr) #ifndef CONFIG_USER_ONLY /* - * In deterministic execution mode, instructions doing device I/Os - * must be at the end of the TB. + * Instructions doing device I/Os must happen at the end + * of the TB as they can change system state affecting following + * instructions. When we detect mid-block IO we trigger a re-compile + * with the TB cflags. * * Called by softmmu_template.h, with iothread mutex not held. */ -- 2.47.3