Message ID | 20210107201448.1152301-7-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | df5d2b1658b988cb2be557e9f3114115935506ef |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp779311jai; Thu, 7 Jan 2021 12:19:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8YOTp7W3bmqOjjrz8nHh1r/468XaApviz5w+lt/uYIZUMdYj2tATTnNDA7b6s2aj9f8AQ X-Received: by 2002:a5b:410:: with SMTP id m16mr718642ybp.451.1610050751256; Thu, 07 Jan 2021 12:19:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610050751; cv=none; d=google.com; s=arc-20160816; b=yCyS9ZM2XdW5b0ieGeCcEoaJSDR4976bUXSImZ8KM6HhQOt82y+WaR46Yqj2ASrF1D Eju9dVd5aBdcOUJbVHyy37elV9ngC9SXqC8OoIytEnZXRr4RmOCHE7t3meXBurx5tFCq M+A23GvcQeKlDdKNqo6AMfgbMaeE8UUqedO00dLivnd2PqlVNLorcYLb/9+H1m1AFZw/ 4FmvWUeClhS4U5+quYwbLdyHcQDmv2Gxgo8xWObgB+YIEP5JylXJCnJW7i/Vvo5VRmNh eHeelEfNMAueZ/XLGAGMxFUwo6kDbNfcK4v81NAYBXJ39U0AELx4p6aVS4ZA9yJNpYRj XF8A== 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=gV4erddw36/IIPMNTq7/TG+v9uQaJ4h6PGeY7YFnJXE=; b=FqRQ+BquSsyG/I3yLEJm7bH3tfBjJhqWMVK+W2Y8QDhIQl4jZ+/RdRKR6VS5X94cjc itwd1FLf5MTx1mw90VyPjSLkX08PFj2UrsQ+DtX+6EvSfq/1cp4f744RFoKHN/kvNlbr UK1ozp28WcHFRTJecyqyy9r+frPYD+IvJq+RnaZjzBup2ZhvT3q9Ktg62pmh5w1AxwfO 7I9Yp6MRjtQORGgU7LvNlOqKqlNWPFT5eh9rP1cnjnICnVDrTktCVRAydCjPR3Kl/N5v ILYvS0+4zqCKS1E8YOPg4zlNYtIPuaNFbsO2v4K/JPJT58FWAflZsCRhmhbgA9mFoa5G ++Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MGdg3hW9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 l25si7518355ybe.233.2021.01.07.12.19.11 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jan 2021 12:19:11 -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; dkim=pass header.i=@linaro.org header.s=google header.b=MGdg3hW9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:55312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1kxbkU-0004d1-OH for patch@linaro.org; Thu, 07 Jan 2021 15:19:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1kxbgY-0000nv-O2 for qemu-devel@nongnu.org; Thu, 07 Jan 2021 15:15:06 -0500 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:44492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1kxbgX-0001Qv-3u for qemu-devel@nongnu.org; Thu, 07 Jan 2021 15:15:06 -0500 Received: by mail-pl1-x62a.google.com with SMTP id r4so4138876pls.11 for <qemu-devel@nongnu.org>; Thu, 07 Jan 2021 12:15:04 -0800 (PST) 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=gV4erddw36/IIPMNTq7/TG+v9uQaJ4h6PGeY7YFnJXE=; b=MGdg3hW9mpqrANmVNloy8K1Y7iwoqp0r2s1vS9+Vri0F3szG0BMbplepxxRQJ5QcmZ lM6sBiblhbM2+Jn5ChYMW/G6OcyIxoUOB9JVuLcKDd9kyptWJhsjHnRSaTJhAlZ4Sm22 hUWjIyv6Qnno4Gu2YIyS6XfB/655ZMMd2O2bkVhSjKAI4Vvreik/FRi7DLfyQV3peAQ/ dDrF5kG7n02oNiC+uEhGV7cODwLuYXkrsBVCiYhq+kg4IABfDjN1xDONweIatlIybK/x ooJy3vq8waBEzEK7OwLZSH+tcbgMlaWVsKXnP3GIA/OuSHhbVjjPOsh3TYyImhFIgDPb lxGA== 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=gV4erddw36/IIPMNTq7/TG+v9uQaJ4h6PGeY7YFnJXE=; b=Mdr4sz4wQ5KnjKCQZxv2fxRTXMMp49Adfix5ofRC2XTqjxx2pYdK8zypR86r1GJz1A 1fJ1gaSI0YbRhuURlXc9/EjjCxnJ/3VVkEF89p5laCp9eNyVDz+a7XvTJFmlquPYniZS wDfgm6X4XhZ736kgHnU2BYCd1OhWZiNw5Y8/9xlsDrx18QAihoq5NBaaO+9Nqd9p4/Y+ YdTKBYUbg0AuaRmkNtu1zru8qrUEFP9zv4NPYCoktKeratGZJSOrlGTl7QdDlMn3jVqb y7Q/UOWscoSHp7MY5V9GBo91lXAJUhxmpiHx7+JatadKB5d/ZLQuTO3X7sskro4u0kBB UTTQ== X-Gm-Message-State: AOAM531JIuhvgPN64v1LeS9ZRtI474xDgkOAs+Cn89BGspXjkauxxDEw tvm+8oKzQNmUJzrOfVERgO5kUxn+lB1BjA== X-Received: by 2002:a17:90b:46ca:: with SMTP id jx10mr183218pjb.208.1610050503123; Thu, 07 Jan 2021 12:15:03 -0800 (PST) Received: from localhost.localdomain (rrcs-173-197-107-21.west.biz.rr.com. [173.197.107.21]) by smtp.gmail.com with ESMTPSA id v6sm6516265pfi.31.2021.01.07.12.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jan 2021 12:15:02 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 06/47] tcg: Do not flush icache for interpreter Date: Thu, 7 Jan 2021 10:14:07 -1000 Message-Id: <20210107201448.1152301-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210107201448.1152301-1-richard.henderson@linaro.org> References: <20210107201448.1152301-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.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.23 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> Cc: peter.maydell@linaro.org, Joelle van Dyne <j@getutm.app> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg patch queue
|
expand
|
diff --git a/tcg/tcg.c b/tcg/tcg.c index 95aacc8597..9bdc450196 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -1078,7 +1078,9 @@ void tcg_prologue_init(TCGContext *s) #endif buf1 = s->code_ptr; +#ifndef CONFIG_TCG_INTERPRETER flush_icache_range((uintptr_t)buf0, (uintptr_t)buf1); +#endif /* Deduct the prologue from the buffer. */ prologue_size = tcg_current_code_size(s); @@ -4324,8 +4326,10 @@ int tcg_gen_code(TCGContext *s, TranslationBlock *tb) return -2; } +#ifndef CONFIG_TCG_INTERPRETER /* flush instruction cache */ flush_icache_range((uintptr_t)s->code_buf, (uintptr_t)s->code_ptr); +#endif return tcg_current_code_size(s); }