From patchwork Thu Apr 21 15:17:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 564402 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp591723map; Thu, 21 Apr 2022 09:32:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTdBJq1dwEIU1XXEStpeihh2UFGqYBDYIG1n63CpU+EccfMuAfft2J3lUmuP+VlJPqABbd X-Received: by 2002:a81:1215:0:b0:2f4:e248:844c with SMTP id 21-20020a811215000000b002f4e248844cmr487294yws.205.1650558740141; Thu, 21 Apr 2022 09:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650558740; cv=none; d=google.com; s=arc-20160816; b=pFc8ZxOsqyqqJiAcRIQII7iL5sHN8CPRSQupGxKgvWx2e6YZXhvY1k7tDAyAa2m4dG 1XjG2+XgEaaR+498AjcQSm6Bw5Uh5rEeUnm37xYYxC4wXb6rQaWiywwbRHwlAfhhgbyl K65qJmeolZANw5C1Pyura0NW3y6x7ayh6NvaSwQACREnN1Kd7B6dXjnjdo6nPZUrZphX MDar9qIcHozG5GeRPos8xSyKdW587ZRUnqUPZWTDF8VC54C2lfo97zN6z9BSe2nMdv02 wIj713XK5mlD5sufVpe9i9mRl3Vf7HjcKSEX3ZNwS1KbedPBcRTtjalPxAjEicFsedB4 cYuw== 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=9YY5PG1tu/+nZOuQaOTMq7AvychoPpeLt3DavtA6KJ8=; b=UZSUVL8+hulm+awKwPIUzY3uivmJI34x4LMKTkM0ewKOP4f/+iBjqLEIrCym8FDG98 kA1rR232ylE0trIQeJNmz1MKH8VB/wgckJAypmwyfnWJSPJfOA/vabkJbc8LzGWNpBrB J6LurlJNR9cDt3mVrvCXrXumKrHWmyhJxcNPkq64RxGufV/nM0zcdLcqXJi+sKn5fUHG 2Y9FnQ34tIfTSrurFXI8L1DgmxBIdxUFJNnzBHDt4/Jpqu6m/auSjh4af5ZrB2p4vTbe bB1gv1iOq+37pWmth+3vymLWiRa6f3wxEjTpEYK/Eg6JiV4joEqm9NjTPKItawpalahv vXBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ibyCRXQR; 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 137-20020a810a8f000000b002ef488ee701si2684423ywk.352.2022.04.21.09.32.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Apr 2022 09:32:20 -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=ibyCRXQR; 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]:32930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhZj9-0003TV-M1 for patch@linaro.org; Thu, 21 Apr 2022 12:32:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhYcx-0005R1-FJ for qemu-devel@nongnu.org; Thu, 21 Apr 2022 11:21:58 -0400 Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]:38507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhYcv-000771-VD for qemu-devel@nongnu.org; Thu, 21 Apr 2022 11:21:51 -0400 Received: by mail-il1-x136.google.com with SMTP id i8so3251459ila.5 for ; Thu, 21 Apr 2022 08:21:49 -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=9YY5PG1tu/+nZOuQaOTMq7AvychoPpeLt3DavtA6KJ8=; b=ibyCRXQRAjC8rbOjom3Mh/UDrS9kXcjjoT6Du04aW/QVRwI6vc1b3WeGr8aX8B/RKI b9w596mIG1KekQba6E6BphHjbS/Q7kaug8/n8njefrnwsYh0DOFv0sVTeFtYviyqFzoo AXth5vaWEJLdq+k4Ar5KzadFBBzIJohc9zD+ZXf6UgTkUK1gvrsGcMTQTCVWRvMlzVJx 76nqFP5/E/3VKjk5jI+ev94ZnyReQaT4cXs2mzPK9fFagHRhR2JD/ru1uUBy1I2tzmUR gThCsYs9V5oA8lBb2RXUIl4djU0tfmPnAOiNlK2YF1T42RNo/5vkG96FPAUjLc3mNmDa R5mg== 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=9YY5PG1tu/+nZOuQaOTMq7AvychoPpeLt3DavtA6KJ8=; b=0KPKwjVALTaRUf5dJngEqMJou1Joe7HzKu7DEzENE8Bi6GK6B7/B0PuzEQpPKqUvSE FE3FCyK1KHSaIvkfSgkv1Inucpssa98JR8oEUs/Ik+SDGOV162/tKMjP7hHweEiT95h1 fgNLUkBMrx4QGu6rp3n6IeSLGaucYgC6dYHkygPlNJVTXhnjtEvkyseAoGzHF4Kc+7CC 7tBkIdN5tacOc5dHNLdmX92dJi4dlwTaVDnaT9kNMZHP7UFbvBjGnySc3rm0NaO4KpkF J/E6vLP7fC5o0uZLNN6Px0mVm1sC3r9L5OFSI6sMQooCl7zFyRYBT0LzaQ5fqn9vOwft 0fIw== X-Gm-Message-State: AOAM53108bUsNAyD52CPKD/ugk0YPmjuLuuxtoWe1mVGucGkWAcGIFGZ 3kecEQIhJ9mY5JdCnQlVUCzbbRlQBk3a4Q== X-Received: by 2002:a92:8e06:0:b0:2c7:a8f8:3c5d with SMTP id c6-20020a928e06000000b002c7a8f83c5dmr77715ild.107.1650554508957; Thu, 21 Apr 2022 08:21:48 -0700 (PDT) Received: from stoup.. ([2607:fb90:80c8:6cf3:a91a:4957:ba18:ac18]) by smtp.gmail.com with ESMTPSA id j1-20020a926e01000000b002cc52449a19sm3985402ilc.35.2022.04.21.08.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 08:21:48 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v7 46/64] target/nios2: Drop CR_STATUS_EH from tb->flags Date: Thu, 21 Apr 2022 08:17:17 -0700 Message-Id: <20220421151735.31996-47-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220421151735.31996-1-richard.henderson@linaro.org> References: <20220421151735.31996-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::136; envelope-from=richard.henderson@linaro.org; helo=mail-il1-x136.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 --- 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 2ce76af457..6417e9bbfc 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 */