Message ID | 20220426181907.103691-35-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | af95a70a06d361fa068f1579e0b206f3a5e5de0f |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp3854820map; Tue, 26 Apr 2022 11:53:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZDiDkOQj6Rpse54qyLZZ8omEZU24C1ECSwEUPNkMBlFDhA9ca1YuGzHtZrN0TyH3Lth98 X-Received: by 2002:a81:25d8:0:b0:2f7:b72f:8a4a with SMTP id l207-20020a8125d8000000b002f7b72f8a4amr19461592ywl.103.1650999180162; Tue, 26 Apr 2022 11:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650999180; cv=none; d=google.com; s=arc-20160816; b=UEbKJAtu6sJFqq7yqpKKs+YQGWgqlAH4LNgdsTMEPhAeVcJsW4uJBAs8QX2Ayy4WKu POGcTyQfvmR3rrxjRgpt2GlBUAhM6pxSQzgt5jPMaP/dFib5g6H4dpbS4T9UWg7hzR6z zhUj4Xm60ubzb2LjeIwlHgXHPkICmlwNSt07W3qOkIuxeOncfdSkVKDttRQFpJLfHzM7 AleLbvdHtEzZ3lW04jgnibStCRF/4/FGpuqvyR8u7IOd3Ow1kC/qJkqsbVxsxjnjGhJ+ xJ+MmBT4kzWmkpNz0VbZxxEzoFav0jQUgmpN1EIKdHfMG/KwMqCqcz4up4Dt3gK4orus SgDg== 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=3aQg/hoAbUd4FyanyKyY4J09ziZifM+SJiSbzB2iG8g=; b=kzNtlRo6ahDT+nLNv0j7dr0qlHRMyZC7xXJIfY0itB0LMRf55fIi/UR5QHlHI/HO2d EWsqDGwqKfUSOaP1VeeZ6cZXWa+rL7qaZghldPDvBkjGZcgqf+5nGPBFTIfpmagH9R5s NSDy0zKiCBcvwPvSBZtie4RcBO9fnaOp7+v0Sf1Q4xdfl1Ptqh1eUkc5BULRZJ3sTD0G ZC6wDDIbcXxq0IhJLpJ+fa+yhrIIjFN7gCfI/y4zmit7d19ctSpNsmLCR2BOAyaiUmgx zMcLv609ZF851LL52iK4cWKO9g40/OYPZ5mWCWbK8ECT3S/pAeb88FceD5Yn0JFOq/Id ZjSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eiPB9tlH; 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 s187-20020a815ec4000000b002eaa43f1b12si14972474ywb.450.2022.04.26.11.53.00 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Apr 2022 11:53:00 -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=eiPB9tlH; 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]:35216 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 1njQJ1-0005dg-LT for patch@linaro.org; Tue, 26 Apr 2022 14:52:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44338) 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 1njPmo-0002p2-OS for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:19:42 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:40507) 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 1njPmn-0004Sk-8q for qemu-devel@nongnu.org; Tue, 26 Apr 2022 14:19:42 -0400 Received: by mail-pf1-x435.google.com with SMTP id i24so18692906pfa.7 for <qemu-devel@nongnu.org>; Tue, 26 Apr 2022 11:19:40 -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=3aQg/hoAbUd4FyanyKyY4J09ziZifM+SJiSbzB2iG8g=; b=eiPB9tlHIBWQkhf1mTISs6h2qoJU2kjTP1E1bHlyi1jFb1paEoAv+VAb49/3z7/Z9z VzJEwAavGSE7JdOJLT+DzhtTCEgH/KMVGE1kx6cd3eOvy0y++GvgxobKde5ADbVWfKiy WFRGbVM6gb3wUsk2frEsrU6Geu3gySwq516LcMgNX+UqwzetDolqOc2fI1tHwMH8edg1 rjcx17zQTLfz3bpyiwf2PK8tu9T4H31o5tzol4ExNFzGR/TMUehRn43mR471DoK7c3Rj 2Q7je/Ay088pkSOEaP+o627uMT6FER7DF7frTYPT7/N4vuIS7co4y9WYHsoeg9gqNI5y tWuA== 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=3aQg/hoAbUd4FyanyKyY4J09ziZifM+SJiSbzB2iG8g=; b=J53qBMyhzKLRJku5iXahQ6cdzYV/vI0uf/rn1geaN7TY9oJN1rrsCHEyA3J/U59Eue EdtVkV8P2WEIjWzrd/4wDPBCAEeXbI4QJdKT7mattiw1LQauF1jm73nZZOTByyi421/K rxn/ZE4wx4FCV/QGJ9zdECRnfaydguwMC6aLpT8kzBPBFf53Yb9PADuAlTHRH8QbblKA eynHH9MGj1ZjhZ73UJMTm+50XBtf9Hu//Pw88TKJTYywBoD/pr/oK/SEbCEsJoYKBBTq UyRsDPATPHmQeIy0DmVHDZhIipbfQmsdQ6Kxg3hfV0GZL/61quZ+VJNuT8bdpLP4JU1Z d5ng== X-Gm-Message-State: AOAM532Q5Svm8RdYX2l/9TPENShb/6smVY+thOoC/VbOA2li/mIDhcPk Z9QoTtvV2P/d5kp+zyWV0uCdb6CkbgjthA== X-Received: by 2002:a05:6a00:b8b:b0:50d:6080:6be7 with SMTP id g11-20020a056a000b8b00b0050d60806be7mr3501650pfj.56.1650997179959; Tue, 26 Apr 2022 11:19:39 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id j7-20020a056a00130700b004b9f7cd94a4sm16482827pfu.56.2022.04.26.11.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 11:19:39 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 34/68] target/nios2: Handle EXCP_UNALIGN and EXCP_UNALIGND Date: Tue, 26 Apr 2022 11:18:33 -0700 Message-Id: <20220426181907.103691-35-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 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x435.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: <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 <peter.maydell@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/68] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP
|
expand
|
diff --git a/target/nios2/helper.c b/target/nios2/helper.c index c57ffd64e0..25a89724d0 100644 --- a/target/nios2/helper.c +++ b/target/nios2/helper.c @@ -99,6 +99,12 @@ void nios2_cpu_do_interrupt(CPUState *cs) case EXCP_ILLEGAL: name = "ILLEGAL insn"; break; + case EXCP_UNALIGN: + name = "Misaligned (data)"; + break; + case EXCP_UNALIGND: + name = "Misaligned (destination)"; + break; case EXCP_TRAP: name = "TRAP insn"; break; @@ -147,6 +153,8 @@ void nios2_cpu_do_interrupt(CPUState *cs) case EXCP_SUPERD: case EXCP_ILLEGAL: case EXCP_TRAP: + case EXCP_UNALIGN: + case EXCP_UNALIGND: do_exception(cpu, cpu->exception_addr, false); break;