Message ID | 1432060414-5195-6-git-send-email-peter.maydell@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBC6Z756YVMIBBFUE52VAKGQE244B6LA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EA9F32121F for <linaro@patches.linaro.org>; Tue, 19 May 2015 18:33:59 +0000 (UTC) Received: by wizk4 with SMTP id k4sf10934269wiz.2 for <linaro@patches.linaro.org>; Tue, 19 May 2015 11:33:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Isa3YktuZysy0TSv6uWWAVx2qrrIhVb7odfDdpZvTFg=; b=I3b+hWSZ4gCzsrWKaBba8vfDyiCMx6OGva9fTYbjZ7COgvjJZdeSkBDvkPam/9Jr3a DhNPkjqH2xIlVZL//XahUxlPVsL5TgFfEvCFCHZKI5E4TATLXXMiCkdqSHOgZsT+5Rtv 4mm/m2voO7UXylMUNrQCylEyAo2fzlfQghFWRyj/2kHbkk2GYM5cMwMpH6VO9J5r9CEp hAYpjBIEs9EiSwiNDSNIqyPuOuI2ctrr4O9uFPYc3IsWegy2NQmOgfsZwr7jGkVp1HU8 HLr3ycpZlxuEYvzRLtINjAYZWbFJ4xETbSJU/PVKgatCcXks9nFr/VTs53W8ze+QOLId YW5A== X-Gm-Message-State: ALoCoQlWXRZtzZ8xhdBHGz6rBDEGPsxY70E2S+8LWBqHwOiiVxknD7L2q/NegQrN84T+CVFvjv8C X-Received: by 10.180.7.138 with SMTP id j10mr15057255wia.2.1432060438950; Tue, 19 May 2015 11:33:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.42 with SMTP id j10ls85647laf.27.gmail; Tue, 19 May 2015 11:33:58 -0700 (PDT) X-Received: by 10.112.182.4 with SMTP id ea4mr23397340lbc.35.1432060438829; Tue, 19 May 2015 11:33:58 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id x10si9589162lax.97.2015.05.19.11.33.58 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 May 2015 11:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by lagv1 with SMTP id v1so38485867lag.3 for <patchwork-forward@linaro.org>; Tue, 19 May 2015 11:33:58 -0700 (PDT) X-Received: by 10.112.204.104 with SMTP id kx8mr22504476lbc.72.1432060438705; Tue, 19 May 2015 11:33:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp993040lbb; Tue, 19 May 2015 11:33:57 -0700 (PDT) X-Received: by 10.66.193.130 with SMTP id ho2mr55733599pac.125.1432060423763; Tue, 19 May 2015 11:33:43 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id z6si22601179pdm.19.2015.05.19.11.33.40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 19 May 2015 11:33:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from <pm215@archaic.org.uk>) id 1YumKc-0001Ma-EF; Tue, 19 May 2015 19:33:34 +0100 From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Cc: patches@linaro.org, alex.bennee@linaro.org, agraf@suse.de, serge.fdrv@gmail.com, edgar.iglesias@xilinx.com Subject: [PATCH 05/14] target-arm: Set exception target EL in tlb_fill Date: Tue, 19 May 2015 19:33:25 +0100 Message-Id: <1432060414-5195-6-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1432060414-5195-1-git-send-email-peter.maydell@linaro.org> References: <1432060414-5195-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c index cda9767..cbb26c4 100644 --- a/target-arm/op_helper.c +++ b/target-arm/op_helper.c @@ -110,6 +110,7 @@ void tlb_fill(CPUState *cs, target_ulong addr, int is_write, int mmu_idx, } env->exception.syndrome = syn; + env->exception.target_el = exception_target_el(env); env->exception.vaddress = addr; env->exception.fsr = ret; raise_exception(env, exc);
Set the exception target EL for MMU faults in tlb_fill. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> --- target-arm/op_helper.c | 1 + 1 file changed, 1 insertion(+)