From patchwork Tue Apr 26 18:18:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 566118 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp3874348map; Tue, 26 Apr 2022 12:19:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfqf27XgBS7+473cRqJg1HSjDP5fEIIPzRB/DPeiy/b8WJvsli1fv+0LEQrFYMX24Wlhw7 X-Received: by 2002:a25:a0cf:0:b0:648:467d:87c8 with SMTP id i15-20020a25a0cf000000b00648467d87c8mr14306783ybm.183.1651000794754; Tue, 26 Apr 2022 12:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651000794; cv=none; d=google.com; s=arc-20160816; b=aMdjR99PTPf8Qpwpa25waFR86scx5zlc3JrH9TlvZNA3vNPybl1+KKDRgMFA5JnSVK okg645aqqxmGmgRkSksCOemwgEr2brGMnjEHPAfCsL/acqGeSOEVL5+EKB1EEqiIonLg tsMygqZ0BmnyDN1fTynk1Cznhc2oUnZ8A/qc//dQ0GULlnPnWIwZ8cyBwDGtWiiYhW2k ULdl5WNy7TA0Dv2/uxPRFIc8WyopmcKIYeqspRP+qx2O0R+2j5OuftI3vlcg7SA+OI0K u9mgs48K4VMQo48bY+WFB1TrlEPWE42lziK5SmhTnZbP43P7gMQFNZxw6hw4+49/SWJU 6Bww== 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=rtZqSMWwTH4bx7pviC4q7DdFYgGahnZ3eKlGOA25mWs=; b=Yd4bvlDT02VP8Ru6+2y28KnI57W511Ia0ocCwMcwOkFMQf75LOfQY2SSz3yJeiaMdZ QVCBh1EXFoy/qpBf7KEzdlFWcIr+m2GPGC8hsi7bE/tCnUcSoeXiy51AyCQV2LPlxSrQ UIiQ/txNvpjmOWaZIvFmUlk1q7k72kVfxiC/bp6jhJxwKf6e1N+wxXCMsLvmYn1FMdI1 NieDJnkwyD1JzCM63+RSoIFm0DO1r36C4SuOIY45CmU3iKnFGw5IhwR3pBq0v2E14Pa4 1XbBmTXLSq3knEZbAPMu2e+NoOjtv8969w9ULDPCC2QXdb5+S6t9z/3DD/DXyVB3j7fx 11ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MMp+XOBY; 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 a62-20020a25a1c4000000b00648cfc1e178si506451ybi.213.2022.04.26.12.19.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Apr 2022 12:19:54 -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=MMp+XOBY; 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]:46108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njQj4-0001KP-8b for patch@linaro.org; Tue, 26 Apr 2022 15:19:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njPpx-0001r0-Gk for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:22:58 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:41752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njPpv-0005QQ-VK for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:22:57 -0400 Received: by mail-pj1-x1035.google.com with SMTP id z5-20020a17090a468500b001d2bc2743c4so3318892pjf.0 for ; Tue, 26 Apr 2022 11:22:55 -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=rtZqSMWwTH4bx7pviC4q7DdFYgGahnZ3eKlGOA25mWs=; b=MMp+XOBYzZwfNLBZo+x0xBr5LJ2oUwNH8xKjtkmyKWP5YGpDsi+wKET7GVlsRDzmI3 6faLq/8eP+bbAcddcRd/gOs7q7CYJlV7bPFdS8HLwXDejuEELBewzyc2mNzNBl8E3Mfe i3bumTuu5lrmfQcV8vdEjYnECX9hZLEIKs0a5+OGcgADIT9yYaoQGcYJY5bM7v4bWjSP PSrLvFVcWBoxX1t6zjACMUoOSVuISdd8+bOaIvELNnR4r8YB8RDYKBWLorKlhaMOyizd rk6obj3IQdq4u3gm4L8+mqR5ittPc06C4tk3WzxKNPJ7jDgw+gQywfDUnL/58FkJA3Rq ARTg== 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=rtZqSMWwTH4bx7pviC4q7DdFYgGahnZ3eKlGOA25mWs=; b=OwILA8SE9OQokMUXxfgnmXJwvTX3FuHhK57+M/WwSxPtEyzE86GVx0StdpTSPQjEYK 23kXxOM50hUOoaNg0ZCJPbtjMlzriZdM/+jsvnWiYjyUZVLxvRyiKJn/Kz5sxkkUWAmP MKAAKuu2A20fIOnDTW0CD1oHQWtcoFWi0AG10yHOIMiD1bTeKwYbyIcoSVdli2zP69UU wXx//RvATTnTRJ9AEVi345+r0+XTRWjcfUb4QZ7NHP0/ZmsoUfDvKP8da4D9SXm/hSB+ COEOk/7Xj4ol1s4Xh/IqZBOZKcz+XWjZZfg1b/OI8AcPEdMAdQz0GKeKb77jRxLDsy++ w1QQ== X-Gm-Message-State: AOAM530r090HwvoVAwKSvA2FsmqKz9HuAl21AqSyCYbarHjfoD0kEFQE UE/O+bRaYnaZ6BX86Wg+JTVvd6iNwOUs/Q== X-Received: by 2002:a17:902:ea4f:b0:158:5013:1403 with SMTP id r15-20020a170902ea4f00b0015850131403mr24511855plg.75.1650997374681; Tue, 26 Apr 2022 11:22:54 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id k187-20020a636fc4000000b003983a01b896sm13585053pgc.90.2022.04.26.11.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 11:22:54 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 50/68] target/nios2: Drop CR_STATUS_EH from tb->flags Date: Tue, 26 Apr 2022 11:18:49 -0700 Message-Id: <20220426181907.103691-51-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220426181907.103691-1-richard.henderson@linaro.org> References: <20220426181907.103691-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1035.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" There's nothing about EH that affects translation, so there's no need to include it in tb->flags. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Message-Id: <20220421151735.31996-47-richard.henderson@linaro.org> --- target/nios2/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 4d63006ffe..477a661f17 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -272,7 +272,7 @@ static inline void cpu_get_tb_cpu_state(CPUNios2State *env, target_ulong *pc, { *pc = env->pc; *cs_base = 0; - *flags = env->ctrl[CR_STATUS] & (CR_STATUS_EH | CR_STATUS_U); + *flags = env->ctrl[CR_STATUS] & CR_STATUS_U; } #endif /* NIOS2_CPU_H */