Received: from eggs.gnu.org ([2001:4830:134:3::10]:35934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2f2B-0007I3-4t for qemu-devel@nongnu.org; Tue, 17 May 2016 09:27:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2f25-0003oQ-3s for qemu-devel@nongnu.org; Tue, 17 May 2016 09:27:39 -0400 Date: Tue, 17 May 2016 15:12:41 +0200 From: "Edgar E. Iglesias" Message-ID: <20160517131241.GW3731@toto> References: <1463487258-27468-1-git-send-email-peter.maydell@linaro.org> <1463487258-27468-2-git-send-email-peter.maydell@linaro.org> <20160517125058.GU3731@toto> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH 1/2] target-arm: Set IL bit in syndromes for insn abort, watchpoint, swstep List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-arm , QEMU Developers , Patch Tracking , Laurent Desnogues On Tue, May 17, 2016 at 02:06:28PM +0100, Peter Maydell wrote: > On 17 May 2016 at 13:50, Edgar E. Iglesias wrote: > > On Tue, May 17, 2016 at 01:14:17PM +0100, Peter Maydell wrote: > >> For some exception syndrome types, the IL bit should always be set. > >> This includes the instruction abort, watchpoint and software step > >> syndrome types; add the missing ARM_EL_IL bit to the syndrome > >> values returned by syn_insn_abort(), syn_swstep() and syn_watchpoint(). > > > Maybe we should have a reference in a comment to the table in > > the pseudo code for AArch64.ExceptionClass? > > It makes it a little easier to understand some of these settings... > > I just used the text parts of the ARM ARM as reference for this one, > not the pseudocode (specifically, D7.2.27, the ESR_ELx register description, Aha, I hadn't seen that text. I always end up in D1.10.4 where the IL description is quite brief. > has the definition of the IL bit and says which exceptions have IL set). > I think for pretty much any feature in the emulation you need to > look it up in the ARM ARM to understand what it's doing, and we > could end up with cross-references every other line... Yeah, fair enough. Cheers, Edgar