From patchwork Sun Jan 24 18:11:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 369970 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp3343906jam; Sun, 24 Jan 2021 10:13:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxskffzTAaGG7YwUHefdfonp1J5m8bALzgjBNg70irpDuYHszKBjWFZbzwOaLmsuiZp9YwV X-Received: by 2002:a25:6187:: with SMTP id v129mr19937751ybb.318.1611512004067; Sun, 24 Jan 2021 10:13:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611512004; cv=none; d=google.com; s=arc-20160816; b=VJFDpAbC3LfUFDfIC9kGMbNQ8oSU1oHIx+B8ESMTlINVG+Fkl9tjJlbY90VARp56eq SjvZAmA+2Qg1qDtsKVcN0pg7xb+mR7mX+4oQGyq0nJ9nqA2Wa4jXYnnsXP6g/QETRIq+ oyV8kguqbrMpSINOF1MyRr0J0zgdiJPdDgdYrvgC+3cd69S8pBT6sZV3mnT8xwZkSf/T /58Rr3Cd3TEIUTqzqiuu7Bwjtgy5UCGhPdzbVimU4O5u9Jr4md7PvU6t7oosbKZmZbJc kzRXZxtMhypyFdU8ETIzB7GtYsFjbWXFE2nQ71f8dO8klcLW0c87P6kl1K6OYEb0MjQX z/Pw== 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:message-id:date:subject:to:from:dkim-signature; bh=A2cucgMAaHCM2Tiv42Za0EMFefDLoffurjsh3p2wyLg=; b=YN27dP3XukoHbDYnRZEoF7FL0bebs2k3kQh91lwLLxwIeM5yI6eTtI0lFAJgEq/b/O Yy1NSLYRqMKWFvSxejXX5TeHlVV+PV2m+MLSNPm876k0AK5qebgEZzsBpIIbZMvA2i1w ez2a58/R1V3lmw6uu4IhMBUR1Fqr1OPrEd0pXBaUpfYMXPLpeNIFYv0dmBD+ZU33B1oU imhRI2NhwkRnAc6ZQzXttonJYV/YWd7e1ygXWbIqkYAWDhPmdACr+31xFAjwK2zmqZsI a8l+VBayIoLAABNRPV+5IfGpjyBBFKD5MQdVP9dAmuXCyqwSsB2ALzUNzsLn4bfwqQFe kzlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B4fTjLEk; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r2si14755283ybk.281.2021.01.24.10.13.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Jan 2021 10:13:24 -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=B4fTjLEk; 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]:37460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3jt5-0006gc-LB for patch@linaro.org; Sun, 24 Jan 2021 13:13:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3jrG-0003wX-Su for qemu-devel@nongnu.org; Sun, 24 Jan 2021 13:11:30 -0500 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:36669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3jrD-0003UR-Hc for qemu-devel@nongnu.org; Sun, 24 Jan 2021 13:11:30 -0500 Received: by mail-pg1-x533.google.com with SMTP id c132so7400694pga.3 for ; Sun, 24 Jan 2021 10:11:27 -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:mime-version :content-transfer-encoding; bh=A2cucgMAaHCM2Tiv42Za0EMFefDLoffurjsh3p2wyLg=; b=B4fTjLEkKMGqlMIrN/gHOMpDxjHTxctmhDnADrekF6dvxirHr/Oyz/t5C1jFwXERh4 3PCQanbuqXNBpN253D/2484tRjeGVyvtFi1ca/f/ChTy4YDZDzLVV53fuWcbI4XPTzt4 GqJfapI6d1AkcZXHhV06tAMFxRFHTf7vgufKJ6dlILbFIXBDILdg2+NHW8pY7viNx/xS M0xQgu++ESnbN2xHtv3IS2OUr83SdDNs8zA2tKSRERJUO8RNd7Lva0xs4veblV2B31JB t408n5hUIYAogU3tZTnyGxA8c/65h2hN68RygRRS6w18QfT7vqHrjX0VhFKGjDGCNM29 7wsA== 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:mime-version :content-transfer-encoding; bh=A2cucgMAaHCM2Tiv42Za0EMFefDLoffurjsh3p2wyLg=; b=gjL0pAGxTQJxDHkyLGcEil8GEGo+DAoMGv8UgYsALeZqdRdk5G1cMS5ojLUWIkL5F+ 2U+pOIQwanPDTWX6sAaWz9Sb6GMofhUOoM2zHJ0HzEMIi+1X7A+6gXsdfJLByrJBecwD TCH0jDeDQfuFiCj9m9pK/FxxaIuGbzisxDaeR/ti5M1EBnBk3fBlk3G8/tvHtIRKiYcr Hsd/83JnxSzw58Ecqc/T8NN81ta2HPG+qs7PPNNfnhcJrYS4w1Y224IOxAAmJbXbiwoG vh0FjJTmWY+SM7p1GKGw32Smx2kdz5eYDz9jD+Ybhvegk1gWpRQP2s3ShiqZHP+5QuVM tXlA== X-Gm-Message-State: AOAM533G/eq2gdc9fV8ZzgUV10Qj2gvDQDT/91dwBgkx2H1JQtqI/RD+ JNXJ5UUCiQL0TH3OwNxDNpUQ1J+XpDzyQw== X-Received: by 2002:a65:6409:: with SMTP id a9mr14449617pgv.171.1611511885882; Sun, 24 Jan 2021 10:11:25 -0800 (PST) Received: from localhost.localdomain (cpe-66-27-222-29.hawaii.res.rr.com. [66.27.222.29]) by smtp.gmail.com with ESMTPSA id 123sm14547629pgf.38.2021.01.24.10.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 10:11:24 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 00/10] tcg patch queue Date: Sun, 24 Jan 2021 08:11:21 -1000 Message-Id: <20210124181122.5447-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x533.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" V2 replaces the tcg const temp overflow patch. r~ The following changes since commit 0e32462630687a18039464511bd0447ada5709c3: Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.0-pull-request' into staging (2021-01-22 10:35:55 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210124 for you to fetch changes up to ae30e86661b0f48562cd95918d37cbeec5d02262: tcg: Restart code generation when we run out of temps (2021-01-24 08:03:27 -1000) ---------------------------------------------------------------- Fix tcg constant temp overflow. Fix running during atomic single-step. Partial support for apple silicon. Cleanups for accel/tcg. ---------------------------------------------------------------- Douglas Crosher (1): tcg: update the cpu running flag in cpu_exec_step_atomic Philippe Mathieu-Daudé (4): accel/tcg: Make cpu_gen_init() static accel/tcg: Restrict tb_gen_code() from other accelerators accel/tcg: Declare missing cpu_loop_exit*() stubs accel/tcg: Restrict cpu_io_recompile() from other accelerators Richard Henderson (4): qemu/compiler: Split out qemu_build_not_reached_always tcg: Optimize inline dup_const for MO_64 accel/tcg: Move tb_flush_jmp_cache() to cputlb.c tcg: Restart code generation when we run out of temps Roman Bolshakov (1): tcg: Toggle page execution for Apple Silicon accel/tcg/internal.h | 20 ++++++++++++++++++++ include/exec/exec-all.h | 11 ----------- include/qemu/compiler.h | 5 +++-- include/qemu/osdep.h | 28 ++++++++++++++++++++++++++++ include/tcg/tcg.h | 6 +++++- accel/stubs/tcg-stub.c | 10 ++++++++++ accel/tcg/cpu-exec.c | 7 +++++++ accel/tcg/cputlb.c | 19 +++++++++++++++++++ accel/tcg/translate-all.c | 38 +++++++++++++++++++------------------- tcg/tcg.c | 12 +++++++++--- 10 files changed, 120 insertions(+), 36 deletions(-) create mode 100644 accel/tcg/internal.h