Message ID | CAFEAcA8ZrkJVtG3vLrb0DtjrhLig3J=1WSAtW6YsdQJjkwNa3g@mail.gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBC6Z756YVMIBBE7F5CVAKGQETOIKBBA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4E37B21411 for <linaro@patches.linaro.org>; Mon, 18 May 2015 18:42:28 +0000 (UTC) Received: by wixv7 with SMTP id v7sf26508817wix.0 for <linaro@patches.linaro.org>; Mon, 18 May 2015 11:42:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:in-reply-to:references :from:date:message-id:to:content-type:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=/ni0608iUuxTxBoVzb5ywnktzJXADNaTCtNlXnTBmjQ=; b=YNpkx6Skm4GobJPOF2rz+WizagEchxtVqCsVtkkEhO0Z6eexAvzRQp+pWoIvwDODEm NhFDlWtAqS1OmD+9Yzk24HgRoXLsAlSmwzjOBl71KBT2L8XpHRNiU84ZkCfuWTFewht4 uT7EPUwkIh4rsEr2irPJqqrDnWJc8WINaKGlE0WOC6itgV8HJHmgGZDyyawfNi4hspL7 P7hq23FGoNRljOfidyHT9MOZJs3vdLzurEq83NmQqqUEw5qmFSt6C7mYzPpMvRMbOBXu S06QWsAuGifLzfBS3Qw+5uxRimODIbo09K3HIoHtvtQudA0wqCUTseGvmlO4IO3qNqoz 2IsA== X-Gm-Message-State: ALoCoQmOos4aXIS1bSiFfv4+ZPqn1YGA+N+MMcAmycAoZKi2CHwcUxWlyBkWp1gKXljZrJxDOuZa X-Received: by 10.112.138.2 with SMTP id qm2mr18753797lbb.19.1431974547612; Mon, 18 May 2015 11:42:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.116.74 with SMTP id ju10ls783954lab.23.gmail; Mon, 18 May 2015 11:42:27 -0700 (PDT) X-Received: by 10.152.22.72 with SMTP id b8mr2236376laf.1.1431974547462; Mon, 18 May 2015 11:42:27 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id rb8si7229146lbb.34.2015.05.18.11.42.26 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2015 11:42:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by labbd9 with SMTP id bd9so233284401lab.2 for <patchwork-forward@linaro.org>; Mon, 18 May 2015 11:42:26 -0700 (PDT) X-Received: by 10.153.6.36 with SMTP id cr4mr18826468lad.56.1431974546821; Mon, 18 May 2015 11:42:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp262006lbb; Mon, 18 May 2015 11:42:25 -0700 (PDT) X-Received: by 10.55.41.166 with SMTP id p38mr3959107qkp.93.1431974544679; Mon, 18 May 2015 11:42:24 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q78si11126775qgq.84.2015.05.18.11.42.23 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 18 May 2015 11:42:24 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:42508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1YuPzb-00081y-8J for patch@linaro.org; Mon, 18 May 2015 14:42:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1YuPz9-0007kh-E0 for qemu-devel@nongnu.org; Mon, 18 May 2015 14:41:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1YuPz4-0003DN-9w for qemu-devel@nongnu.org; Mon, 18 May 2015 14:41:55 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:32810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1YuPz4-0003DB-5M for qemu-devel@nongnu.org; Mon, 18 May 2015 14:41:50 -0400 Received: by iebgx4 with SMTP id gx4so178070015ieb.0 for <qemu-devel@nongnu.org>; Mon, 18 May 2015 11:41:49 -0700 (PDT) X-Received: by 10.107.131.157 with SMTP id n29mr6471164ioi.74.1431974509467; Mon, 18 May 2015 11:41:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.181.6 with HTTP; Mon, 18 May 2015 11:41:29 -0700 (PDT) In-Reply-To: <1431499963-1019-5-git-send-email-edgar.iglesias@gmail.com> References: <1431499963-1019-1-git-send-email-edgar.iglesias@gmail.com> <1431499963-1019-5-git-send-email-edgar.iglesias@gmail.com> From: Peter Maydell <peter.maydell@linaro.org> Date: Mon, 18 May 2015 19:41:29 +0100 Message-ID: <CAFEAcA8ZrkJVtG3vLrb0DtjrhLig3J=1WSAtW6YsdQJjkwNa3g@mail.gmail.com> To: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.180 Cc: Edgar Iglesias <edgar.iglesias@xilinx.com>, Alexander Graf <agraf@suse.de>, QEMU Developers <qemu-devel@nongnu.org>, Greg Bellows <greg.bellows@linaro.org>, Sergey Fedorov <serge.fdrv@gmail.com>, =?UTF-8?B?QWxleCBCZW5uw6ll?= <alex.bennee@linaro.org> Subject: Re: [Qemu-devel] [PATCH v1 04/18] target-arm: Route timer access traps to EL1 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> 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-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.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.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
--- a/target-arm/op_helper.c +++ b/target-arm/op_helper.c @@ -333,9 +333,11 @@ void HELPER(access_check_cp_reg)(CPUARMState *env, void *rip, uint32_t syndrome) return; case CP_ACCESS_TRAP: env->exception.syndrome = syndrome; + env->target_el = exception_target_el(env); break; case CP_ACCESS_TRAP_UNCATEGORIZED: env->exception.syndrome = syn_uncategorized(); + env->target_el = exception_target_el(env); break; default: