From patchwork Wed Apr 20 19:16:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 564036 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp4469964map; Wed, 20 Apr 2022 12:57:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytz/TlDMYdTNVyBNw8BBOKguENnmWgSd38bt5f03MhqUdPJ3mOb8c8SIG7YdZMeoRG5n4k X-Received: by 2002:a81:4d55:0:b0:2f3:d48a:4c9c with SMTP id a82-20020a814d55000000b002f3d48a4c9cmr6394802ywb.470.1650484667920; Wed, 20 Apr 2022 12:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650484667; cv=none; d=google.com; s=arc-20160816; b=P5YxvMVDk+WPMMk12aI3BlGkZHeXSnFiJXqVgvyzHJHHR71zTP95ri8dlfueX/ymSV hprYgjaXR4AD9UL0wC8SSOT5Q7A3f5+U5sYzDRMNAd4shq1lPA4x49ZU7OKhGK/6N44D u9WP54WOPvKhMq/qWv4oH24a1SU0GMEbbRSxvtCzR1tqFwoJ0pgLS7uRYPNHKABjXKKl hdVM7vn2HBY+6xMr57VRwBLJfg1LSFZCgkMcsCghxJLcDZyOnfQYDHNtbp2cMlkW3F7U 2odvD0VLeVjFanOaDjOaD6NooQ+1o7rAom+DOs6QgnjvmNLwnNYvgXaILwcwISqqlrI5 4kDw== 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=lqh/xOkffB1ftS+Rqae5WASRyFAS1IUV+ifzHuHPJMs=; b=wEjXErTJfXv3Qwc0tYguuCVIrBGRQMuGs/+5ACDnZ7y11ruS34CLXVU83BtYbeOZ53 pNvjnx071A1K9/aG4qvFnHOrZKWwq0tIDDbhmBkXgIMqjsGUG+QNDzrCqXSGCsbNp3Xs yI+EOL9eIciSCmfUhY8yy2j3E1IFcMLEluCQ1CNhlOQ33poOV8I36bSx+gHxSdO+NmVM HCtC4qiNduP+w1DHoSTIsEfur1Yqyutm/nHTeVDhW6ESFJG89N9ws5UmUIVyrFV9fhtl pygl33GbHpPDIs0O1wo3WbIgzrOMN5fj88ZpgTmZVO1lyPrC3MbDS0Sx2YwOdCIbPJw/ kvng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B5ZU5EJX; 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 r62-20020a815d41000000b002eb6461e4aasi811928ywb.389.2022.04.20.12.57.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Apr 2022 12:57:47 -0700 (PDT) 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=B5ZU5EJX; 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]:50860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhGSR-00047d-EH for patch@linaro.org; Wed, 20 Apr 2022 15:57:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhFoe-00015b-PL for qemu-devel@nongnu.org; Wed, 20 Apr 2022 15:16:40 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:53940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhFod-0003AP-5E for qemu-devel@nongnu.org; Wed, 20 Apr 2022 15:16:40 -0400 Received: by mail-pj1-x102d.google.com with SMTP id bx5so2828250pjb.3 for ; Wed, 20 Apr 2022 12:16:38 -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 :mime-version:content-transfer-encoding; bh=lqh/xOkffB1ftS+Rqae5WASRyFAS1IUV+ifzHuHPJMs=; b=B5ZU5EJXUpSlNSkq5w84D7KK3DzD5NDAbM9jfLDwVJPLlTQTYLP82QSOl7qLhuQ3pL LRddfmwuI4QOjaolLPqLa+sZBULtCcD/6OKqQB6oLHBOa96Tbj8ipfTYrn9L/9NvuB/h EqVhV3c8ZWAfpxy4d+SI1s9biD9QhhchHelrAFPQZLAZxNSzLw9uDIS29SgxHy2iDi0H q44dJNzkAUqPcN6b69AHnVR0gOK9i7BlnrbVXTWItO2dVnyejjXYOJZWqbqK1HRC8bUH NWuAfoa8J+lafSdO9WVZzD6PCuiBeDTQIaEUll7cqWue+ACBYAq4izR1IvTGpA5DCZ43 SZvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lqh/xOkffB1ftS+Rqae5WASRyFAS1IUV+ifzHuHPJMs=; b=sfPLDHQdRTTHQI5Y6sygj6sMZRI3SNJco2YNyCAjSZj4oLeOjiK44E372EN34IIJs4 owp8eINHUhQ6YPtshJ9xaOtd6BHFWYvxB9elyCBZ/d4yAMMJegAkuu1GshZvHS6I2z/b 7cc70psNTIV0chWm0Fe8Fbt/X13Fwu2eYdlCLiO/c5ZmH+arkoYIQzGlv+8+KQs2kv9f FgnuxTRqyp4xqBrdgpFt1gOAY5DipX5hI4AdpsCQex3VNC5w3aWs8+LoUYU3dIDaG6vt PDwQvc7Ym1XuDE6wfvDuhUMFIp3qWseQF729fllZIqlph4CxW+D2Lb6Zns488gp533yR XaaA== X-Gm-Message-State: AOAM533x9RevgDqT3ae7+cb+gHw/lqHxWhyF4U8d+cEMk9eJlJNq+ZMM ZX9j1Eqv1e9HjzqnaAg7k0A1SPMN8jHJGg== X-Received: by 2002:a17:902:7887:b0:156:788a:56d1 with SMTP id q7-20020a170902788700b00156788a56d1mr21970562pll.110.1650482197720; Wed, 20 Apr 2022 12:16:37 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id n24-20020aa79058000000b0050612d0fe01sm20599200pfo.2.2022.04.20.12.16.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 12:16:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 3/4] accel/tcg: Remove ATOMIC_MMU_IDX Date: Wed, 20 Apr 2022 12:16:33 -0700 Message-Id: <20220420191634.1402437-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220420191634.1402437-1-richard.henderson@linaro.org> References: <20220420191634.1402437-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102d.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, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The last use of this macro was removed in f3e182b10013 ("accel/tcg: Push trace info building into atomic_common.c.inc") Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- accel/tcg/cputlb.c | 1 - accel/tcg/user-exec.c | 1 - 2 files changed, 2 deletions(-) diff --git a/accel/tcg/cputlb.c b/accel/tcg/cputlb.c index 2035b2ac0a..dd45e0467b 100644 --- a/accel/tcg/cputlb.c +++ b/accel/tcg/cputlb.c @@ -2552,7 +2552,6 @@ void cpu_stq_le_mmu(CPUArchState *env, target_ulong addr, uint64_t val, glue(glue(glue(cpu_atomic_ ## X, SUFFIX), END), _mmu) #define ATOMIC_MMU_CLEANUP -#define ATOMIC_MMU_IDX get_mmuidx(oi) #include "atomic_common.c.inc" diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index 8edf0bbaa1..ac57324d4f 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -506,7 +506,6 @@ static void *atomic_mmu_lookup(CPUArchState *env, target_ulong addr, #define ATOMIC_NAME(X) \ glue(glue(glue(cpu_atomic_ ## X, SUFFIX), END), _mmu) #define ATOMIC_MMU_CLEANUP do { clear_helper_retaddr(); } while (0) -#define ATOMIC_MMU_IDX MMU_USER_IDX #define DATA_SIZE 1 #include "atomic_template.h"