From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxqbE-0008Qd-R0 for qemu-devel@nongnu.org; Thu, 28 May 2015 01:43:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxqbB-0000b6-90 for qemu-devel@nongnu.org; Thu, 28 May 2015 01:43:24 -0400 Received: from mail-bl2on0072.outbound.protection.outlook.com ([65.55.169.72]:50952 helo=na01-bl2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxqbB-0000av-39 for qemu-devel@nongnu.org; Thu, 28 May 2015 01:43:21 -0400 Date: Thu, 28 May 2015 15:39:25 +1000 From: "Edgar E. Iglesias" Message-ID: <20150528053925.GK30952@toto> References: <1432060414-5195-1-git-send-email-peter.maydell@linaro.org> <1432060414-5195-6-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1432060414-5195-6-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH 05/14] target-arm: Set exception target EL in tlb_fill List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: agraf@suse.de, serge.fdrv@gmail.com, alex.bennee@linaro.org, qemu-devel@nongnu.org, patches@linaro.org On Tue, May 19, 2015 at 07:33:25PM +0100, Peter Maydell wrote: > Set the exception target EL for MMU faults in tlb_fill. > > Signed-off-by: Peter Maydell Reviewed-by: Edgar E. Iglesias > --- > target-arm/op_helper.c | 1 + > 1 file changed, 1 insertion(+) > > 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); > -- > 1.9.1 >